czukoman20 Posted October 3, 2007 Share Posted October 3, 2007 mail($email, $subject, $message2, "From: $email2"); that is php for emailing someone. How do i add it soo it can have a title to the email Link to comment https://forums.phpfreaks.com/topic/71604-e-mail-title/ Share on other sites More sharing options...
MadTechie Posted October 3, 2007 Share Posted October 3, 2007 i assume you mean a subject! Link to comment https://forums.phpfreaks.com/topic/71604-e-mail-title/#findComment-360516 Share on other sites More sharing options...
belick Posted October 3, 2007 Share Posted October 3, 2007 <?php $to = '[email protected]'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?> Link to comment https://forums.phpfreaks.com/topic/71604-e-mail-title/#findComment-360566 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.