Send Email from a PHP Script Example

Having issues using the CentOS WebSite? Then describe your problem(s) here. Please include details of your platform (Linux, Mac, Windows) and browser -- not forgetting the versions of each.
Post Reply
gilbertsavier
Posts: 2
Joined: 2009/06/29 09:50:45
Contact:

Send Email from a PHP Script Example

Post by gilbertsavier » 2009/06/29 09:53:35

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...");
}
?>

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Send Email from a PHP Script Example

Post by gerald_clark » 2009/06/29 13:20:41

What is the purpose of this post?

pschaff
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

Post by pschaff » 2009/06/29 15:30:17

... and is it meant to address "Website Bugs, Issues, Problems" or is it in the wrong forum?

Post Reply