I've recently starting using the mail() function to send e-mail, but I need to set sendmail_from property. Is it possible to do this from the php call, or does it have to be done in the php.ini file? If so, how do I do it?
the manual is really good on the mail() functions http://uk.php.net/manual/en/function.mail.php
the from: address can be set in extra headers as the 4th+ elemnent to pass as can a reply to address etc.
look at example2 in the manual
Great... thanks - that's not the same manual I was looking at, but that's exactly what I was looking for.