How to send an email from PHP

The mail() function provides the necessary bit of code. Here is its format:

mail($To, $Subject, $Message, $ExtraHeaders);

where:

$To: The recipient's email address
$Subject: The subject of the email
$Message: The email's body text - what you want to send!
$ExtraHeaders: Any extra email headers you want to add to the outgoing email.

Leave a Reply

 

Site Navigation

Popular Pages

The most popular pages on eKstreme.com.

Search

Subscribe

Subscribe to RSS 2.0 feed

Community

 
thermodelly