Sending Email With PHP

Email is used by most people that use the internet and is good for sending activation codes and notifications to users when you have a website.

To send an email you use the mail() function and it requires 3 parameters.

$to = "";
$subject = "Our Subject";
$message = "The message to send";
$header = "From:";

mail($to, $subject, $message, $header);

Click here for more information on the mail function

Bookmark and Share
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • FriendFeed
  • LinkedIn
  • Tumblr
  • Twitter

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

, ,

No comments yet.

Leave a Reply