faqts : Computers : Programming : Languages : PHP : Common Problems : Email

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 10 people (90%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Can I have a complete listing of headers for use in mail()?

Feb 26th, 2002 16:36
Denny De La Haye, Shao Sean, Yasser Masood, http://www.faqts.com/knowledge_base/view.phtml/aid/13387


See also: http://www.faqts.com/knowledge_base/view.phtml/aid/13387
(this question was obviously double-posted)
--
The minimum headers that are required in an email message are:
To:
From:
Date:
Subject:
Message-ID: 
Optional ones are:
CC:
BCC:
Reply-To:
X-Mailer:
If you're using MIME, you'll need:
MIME-Version: 1.0
Content-Type:
Take a look at RFC822 (message format) and RFCs2045 to 2049 (mime)