Guest_imported
New member
- Jan 1, 1970
- 0
Dear All,
I need help in Php send mail, I got no problem runing this script but I am using flash with this script. My problem was I can wrap the text in the flash message box but when I sent out and recieved in outlook express or any webbased email, the message appears as a single line... Is frustrating reading a long single line email.
Anyone out there, please help me because I need to repair this as to hand up my project, thanks a million!!!!!!!!!
Anyone got solution please send an email to me.
Eddieson
eddieson@possiblemind.com
The script I used, please tell me what to include in:
<?
/* subject */
$subject = "Enquiries";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers = "From: $name <$email>\n";
$headers .= "X-Sender: <$email>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "Return-Path: $name <$email>\n"; // Return path for errors
/* recipients */
$recipient = "enquiry@XXXXX.com";
/* message */
$message = $pesan;
/* and now mail it */
mail($recipient, $subject, $message, $headers);
// Replay
// ---------------------------
/* subject */
$subject = "XXXXX autoreply";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers = "From: Possible Mind < enquiry@XXXXX.com>\n";
$headers .= "X-Sender: < enquiry@XXXXX.com>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "Return-Path: Possible Mind < enquiry@XXXXX.com>\n"; // Return path for errors
/* recipients */
$recipient = $email;
/* message */
$message = "
Dear $name,
Thank you for your feedback, we will reply as soon as possible
Regards,
XXXXXX
mail($recipient, $subject, $message, $headers);
?>
I need help in Php send mail, I got no problem runing this script but I am using flash with this script. My problem was I can wrap the text in the flash message box but when I sent out and recieved in outlook express or any webbased email, the message appears as a single line... Is frustrating reading a long single line email.
Anyone out there, please help me because I need to repair this as to hand up my project, thanks a million!!!!!!!!!
Anyone got solution please send an email to me.
Eddieson
eddieson@possiblemind.com
The script I used, please tell me what to include in:
<?
/* subject */
$subject = "Enquiries";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers = "From: $name <$email>\n";
$headers .= "X-Sender: <$email>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "Return-Path: $name <$email>\n"; // Return path for errors
/* recipients */
$recipient = "enquiry@XXXXX.com";
/* message */
$message = $pesan;
/* and now mail it */
mail($recipient, $subject, $message, $headers);
// Replay
// ---------------------------
/* subject */
$subject = "XXXXX autoreply";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers = "From: Possible Mind < enquiry@XXXXX.com>\n";
$headers .= "X-Sender: < enquiry@XXXXX.com>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "Return-Path: Possible Mind < enquiry@XXXXX.com>\n"; // Return path for errors
/* recipients */
$recipient = $email;
/* message */
$message = "
Dear $name,
Thank you for your feedback, we will reply as soon as possible
Regards,
XXXXXX
mail($recipient, $subject, $message, $headers);
?>