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", "mailbox@domain.com"); in the relevant file. Where should I put this in WordPress to ensure the mail functions will work?