My host specifies that:
To stop misuse of your form by third parties the sendmail_from variable should be set to your Streamline.Net hosted email address. This is usually configured in the php.ini file which is restricted on our shared servers, however you can set this variable using the ini_set() command, shown below.
ini_set("sendmail_from", " you@yourdomain.com ");
A fifth parameter -f should be added to the sendmail function. This will set the name of the from email address.
In its basic form, a simple sendmail script will look like this:
ini_set("sendmail_from", " you@yourdomain.com ");
mail($email_to, $email_subject, $email_message, $headers, '-fyou@yourdomain.com')
Please can you tell me where I should add this this so that I can send email to myself and customer.
