Adjusting PHP for SMTP settings
I am have some difficulty due to my limited knowledge of php.
I am using UE to response to our customers, and we have noticed that a small amount are actually reaching them.
I talked to our hosting company (fasthost.co.uk) and they provided me with these instructions to make it past there anti spam settings.
Use the PHP mail function and set the mail from using the following line of code - replacing $email_from with the correct domain name.
ini_set("sendmail_from", " $email_from ");
You need to add a fifth "-f" parameter to the sendmail function. This will set the name of the from address.
mail($email_to, $email_subject, $email_message, $headers, '-f'.$email_from);
I am just unsure on how to apply these changes and where.
Any assistance would be much appreciated.