Mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xLechugasx
Forum Newbie
Posts: 14
Joined: Wed Aug 28, 2002 9:56 am

Mail

Post by xLechugasx »

How can I specify using the mail function, the sender address?
If I cannot, which other function can I use?
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post 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");
xLechugasx
Forum Newbie
Posts: 14
Joined: Wed Aug 28, 2002 9:56 am

Post by xLechugasx »

Thank you very much!
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

The manual is very useful for such things:
http://www.php.net/manual/en/function.mail.php

Mac
Post Reply