Freid001 Posted October 7, 2010 Share Posted October 7, 2010 Hi I am trying to send a auto email to a variable email address throught php. But im not sure how to do it? I think this is the kind of php code I have to use: :confused: $to = "<?php echo $Adminmail ?>"; $subject = "Join Faction Request!"; $message = "<?php echo $user wishes to join your faction?>"; echo "Mail Sent."; Also how would i send php code in the email? Any help would be great thanks Freid001 Link to comment https://forums.phpfreaks.com/topic/215368-auto-email/ Share on other sites More sharing options...
BlueSkyIS Posted October 7, 2010 Share Posted October 7, 2010 http://php.net/manual/en/function.mail.php Link to comment https://forums.phpfreaks.com/topic/215368-auto-email/#findComment-1119954 Share on other sites More sharing options...
Freid001 Posted October 7, 2010 Author Share Posted October 7, 2010 KK thanks Link to comment https://forums.phpfreaks.com/topic/215368-auto-email/#findComment-1119955 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.