My host requires that the return address is set when using the PHP mail facility. I resolve this by putting the line:-
ini_set(“sendmail_from”, “firstname.lastname@example.org”); in the relevant file. Where should I put this in WordPress to ensure the mail functions will work?
- The topic ‘Where to put the PHP for mailing’ is closed to new replies.