Hi,
The first argument to this function is the recipient, the second specifies the message's subject and the third one should contain the body. So to send a simple sample message, we could use:
Message successfully sent!");
} else {
echo("Message delivery failed...");
}
?>
Send Email from a PHP Script Example
-
- Posts: 2
- Joined: 2009/06/29 09:50:45
- Contact:
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Send Email from a PHP Script Example
What is the purpose of this post?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Send Email from a PHP Script Example
... and is it meant to address "Website Bugs, Issues, Problems" or is it in the wrong forum?