Need help with mail config



Hi All,

I am using the mail() function to send out mail from my website; I’ve noticed that the message is from instead of Is there a way to change this?



Yes - set the “From:” header when calling the mail() function.

mail("", “Subject”, “message”, “From:”);


Ahh okay. I passed a string for my FROM parameter so that was why it didn’t work. Thanks a lot for your help!