Page 1 of 1

Mail

Posted: Wed Aug 28, 2002 4:26 pm
by xLechugasx
How can I specify using the mail function, the sender address?
If I cannot, which other function can I use?

Posted: Wed Aug 28, 2002 4:30 pm
by Takuma

Code: Select all

mail("DESTINATION","SUBJECT","MESSAGE","From: SENDER'S ADDRESS");
example,

Code: Select all

mail("mail@ticktaku2000.com","Hello","hiya","From: ticktaku2k@hotmail.com");

Posted: Wed Aug 28, 2002 6:37 pm
by xLechugasx
Thank you very much!

Posted: Thu Aug 29, 2002 2:35 am
by twigletmac
The manual is very useful for such things:
http://www.php.net/manual/en/function.mail.php

Mac