This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
-f switch for mail()
Started 16 years ago by russpond | 2 posts |
-
Does anyone know if you can code the -f php switch into the mail part of this script? My host requires this for forms.
http://help.mosso.com/article.php?id=295
When sending mail from our system we require you add the -f switch to your PHP script. This is to ensure that the message sends with a valid return path email address set and not our server address. This helps to ensure that our system does not get blacklisted and your mails send properly.
Thanks,
RussPosted 16 years ago # -
MachForm uses PHPMailer library for sending email and it's already using the -f switch.
Check line 471 of "lib/class.phpmailer.php" to see it:$params = sprintf("-oi -f %s", $this->Sender);
MachForm Founder
Posted 16 years ago #
Reply
You must log in to post.