Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Problem sending emails - need to use -f paramter

Quote Reply
Problem sending emails - need to use -f paramter
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
Subject Author Views Date
Thread Problem sending emails - need to use -f paramter tucklis 1295 Apr 16, 2003, 3:39 AM
Post Re: [tucklis] Problem sending emails - need to use -f paramter
tucklis 1229 Apr 16, 2003, 5:11 AM