Hi,
I am unable to send out emails to users because my isp requires that I use a -f parameter:
In order for the script to work, you need to specify, via a fifth -f parameter, the domain from which the mail is being sent. The PHP component uses SMTP (Simple Mail Transfer Protocol), and all Fasthosts' SMTP servers have filters which ensure that the data returned by either the first or fifth mail parameter relates to one of your domains hosted by Fasthosts.
e.g:
<?
mail( "yourname@yourdomain.com", "Feedback Form Results",
$message, "From: $email", "-fuser@userdomain.com" );
header( "Location: http://www.yourdomain.com/thankyou.html" );
?>
Where can I change this in the code?
Thanks,
Kerry
I am unable to send out emails to users because my isp requires that I use a -f parameter:
In order for the script to work, you need to specify, via a fifth -f parameter, the domain from which the mail is being sent. The PHP component uses SMTP (Simple Mail Transfer Protocol), and all Fasthosts' SMTP servers have filters which ensure that the data returned by either the first or fifth mail parameter relates to one of your domains hosted by Fasthosts.
e.g:
<?
mail( "yourname@yourdomain.com", "Feedback Form Results",
$message, "From: $email", "-fuser@userdomain.com" );
header( "Location: http://www.yourdomain.com/thankyou.html" );
?>
Where can I change this in the code?
Thanks,
Kerry