redarrow Posted April 3, 2007 Share Posted April 3, 2007 advance thank you. I will let the admin send a reply from there website but from my server, But i need to no is it possable to hard code the $form information so when the recipeint get the email message and reply to that email there replying to the admin hard codded email address and not my server email address is that possable please cheers. off course they can get the email address it came from buy looking at the header information but would this work cheers. Link to comment https://forums.phpfreaks.com/topic/45390-solved-mail-information-needed-cheers/ Share on other sites More sharing options...
redarrow Posted April 3, 2007 Author Share Posted April 3, 2007 solved yes it works example cheers. <?php $to = 'user's email address'; $subject = 'Wakeup bob!'; $message = '<b>yo</b>, whassup?'; $headers = "From: that user's reply email address \r\n" . 'X-Mailer: PHP/' . phpversion() . "\r\n" . "MIME-Version: 1.0\r\n" . "Content-Type: text/html; charset=utf-8\r\n" . "Content-Transfer-Encoding: 8bit\r\n\r\n"; // Send mail($to, $subject, $message, $headers); ?> Link to comment https://forums.phpfreaks.com/topic/45390-solved-mail-information-needed-cheers/#findComment-220392 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.