What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help with PHP mail

Help with PHP mail
Author: Message:
Chris.1
Full Member
***

Avatar
addicted to the net

Posts: 363
Reputation: 3
36 / Male / –
Joined: Jun 2003
RE: Help with PHP mail
code:
// Headers so we can have HTML encoded emails
$headers = "From: $fromName <$email>\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html";
       
// Check to see if the mail was sent
if(mail($to,"Email Form",$message,$headers)) {


The above is taken from my mail script. $to comtains the email address, $Message contains the actual message and the headers part is pretty self explanitory.

Hope that helps

This post was edited on 06-19-2004 at 10:30 PM by Chris.1.
06-19-2004 10:30 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help with PHP mail - by leito on 06-18-2004 at 05:18 AM
RE: Help with PHP mail - by KeyStorm on 06-18-2004 at 06:40 AM
RE: Help with PHP mail - by leito on 06-18-2004 at 05:03 PM
RE: Help with PHP mail - by KeyStorm on 06-19-2004 at 12:34 PM
RE: Help with PHP mail - by Chris.1 on 06-19-2004 at 10:30 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On