Stats: 3,187,890 members, 7,933,297 topics. Date: Wednesday, 28 August 2024 at 12:17 AM |
Nairaland Forum / Okabose's Profile / Okabose's Posts
(1) (of 1 pages)
![]() |
They just installed the Pear package. And the SMTP worked. I will still try it again. Thank you my brother. God bless you |
![]() |
The SMTP did not work. Think the PERL Package is not Installed. What do I do? |
![]() |
-------------------------------------------------------------------------------- I have been using the 'below' script to send mail from almost all my websites. And it's working fine. But this script does not work in all the websites in RAPHSOFTHOST.COM reseller package. It can only send to the host website. It cannot send to the sender like a yahoo email address or another email address that is not from the host website. Can anybody help? The script <?php session_start(); $msg = "Below is an email from your website\n\n"; $msg .= "NAME: $_POST[name]\n\n"; $msg .= "EMAIL: $_POST[email]\n"; $msg .= "PHONE: $_POST[phone]\n"; $msg .= "NATIONALITY: $_POST[nationality]\n"; $msg .= "MESSAGE: $_POST[msg_body]\n"; $email = $_POST[email]; //set up the mail $subject = "mail from our Website"; $recipient = "info@wholisticoutreachonline.org"; $mailheaders = "From: $name $email"; //send the mail mail($recipient, $subject, $msg, $mailheaders, $email); // send mail to the sender $msg2 = "Hello $_POST[name], your mail has been received.\n "; $msg2 .= "We are really glad that you mailed us and we will give you a reply soonest.\n\n"; $msg2 .= "You can visit our website any time.\n\n"; $msg2 .= "Thanks\n"; $email2 = $_POST["email"]; //set up the mail $sender2 = "info@wholisticoutreachonline.org"; $subject2 = "Confirmation Mail From Wholistic Outreach."; $recipient2 = "$email2"; $mailheaders2 = "From: $sender2"; //send the mail mail($recipient2, $subject2, $msg2, $mailheaders2, $sender2); $_SESSION["name"] = $_POST["name"]; $_SESSION["msg"] = "Hello ". $_SESSION["name"] . ", Your mail has been received and a confirmation mail sent to you.<br><br> Thank you for contactiing us."; function navigate($page) {echo "<script language='javascript'>location='$page';</script>";exit;} navigate("send_mail_page.php" ![]() ?> |
![]() |
I have been using the 'below' script to send mail from almost all my websites. And it's working fine. But this script does not work in all the websites in RAPHSOFTHOST.COM reseller package. It can only send to the host website. It cannot send to the sender like a yahoo email address or another email address that is not from the host website. Can anybody help? The script <?php session_start(); $msg = "Below is an email from your website\n\n"; $msg .= "NAME: $_POST[name]\n\n"; $msg .= "EMAIL: $_POST[email]\n"; $msg .= "PHONE: $_POST[phone]\n"; $msg .= "NATIONALITY: $_POST[nationality]\n"; $msg .= "MESSAGE: $_POST[msg_body]\n"; $email = $_POST[email]; //set up the mail $subject = "mail from our Website"; $recipient = "info@wholisticoutreachonline.org"; $mailheaders = "From: $name $email"; //send the mail mail($recipient, $subject, $msg, $mailheaders, $email); // send mail to the sender $msg2 = "Hello $_POST[name], your mail has been received.\n "; $msg2 .= "We are really glad that you mailed us and we will give you a reply soonest.\n\n"; $msg2 .= "You can visit our website any time.\n\n"; $msg2 .= "Thanks\n"; $email2 = $_POST["email"]; //set up the mail $sender2 = "info@wholisticoutreachonline.org"; $subject2 = "Confirmation Mail From Wholistic Outreach."; $recipient2 = "$email2"; $mailheaders2 = "From: $sender2"; //send the mail mail($recipient2, $subject2, $msg2, $mailheaders2, $sender2); $_SESSION["name"] = $_POST["name"]; $_SESSION["msg"] = "Hello ". $_SESSION["name"] . ", Your mail has been received and a confirmation mail sent to you.<br><br> Thank you for contactiing us."; function navigate($page) {echo "<script language='javascript'>location='$page';</script>";exit;} navigate("send_mail_page.php" ![]() ?> |
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14 |