Hi, Basically you'd need a custom script that could load the "current" user via the users' Unique ID, outputtable via message code. You would then enter a link such as follows in your messages:
http://example.com/mail/tell-a-friend.php?u=!uid
The tell-a-friend.php script would contain some code like this:
<?php// Connect to ListMail DB / Initializeinclude('./config.php');include('./admin.php');// Submit Processingif($submitted){ if(!$friendName){ echo "Please enter your friend's name.<br>"; } elseif(!$friendEmail){ echo "Please enter your friend's email address.<br>"; } elseif(!valid_email($friendEmail)){ echo "Please enter a valid friend email address.<br>"; } else { // all ok, get current user info from ListMail list($curFirst,$curLast,$curEmail)=@mysql_fetch_row(mysql_query("select fname,lname,email from $utable where uid = '".addslashes($u)."';")); if(!$curFirst) exit('User not found'); $sendName = "My Site"; $sendEmail = "me@example.com"; $subject = "Hey, $friendName - $curFirst wants you to check this out"; $message = ""; mail($friendEmail,$subject,$message,"Return-path: <$sendEmail>\nFrom: \"$sendName\" <$sendEmail>"); } }// Main pageecho "<form method=post action=./tell-a-friend.php><input type=hidden name=submitted value=1>Friend's name: <input type=text name=friendName><br>Friend's Email: <input type=text name=friendEmail><br></form>\n";?>
Note: untested ;)