Hello,
I moved my website from one server to another and want to use the mass mailing feature and it is not currently working.
Here is the current script. The variables are pulled from the SQL database beforehand.
open SENDMAIL, "|$sendmail -t";
print SENDMAIL "To: \"$toname\" \<$toemail\>\n";
print SENDMAIL "From: \"$error{'From name'}\" \<$error{'From email'}\>\n";
print SENDMAIL "Content-type: $ctype\n";
print SENDMAIL "Subject: $FORM{'subj'}\n\n";
print SENDMAIL $FORM{'msg'};
close SENDMAIL;
The question is, my cpanel says, "Path to sendmail /usr/sbin/sendmail"
Do I have I have to script the routing to Sendmai? If so would I modify this
script and how?
Thanks for the help.
davelandon