Your Ad Here

Posted By

wizard04 on 07/29/08


Tagged

email php


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

goo


Send Email


 / Published in: PHP
 

Send an email from the server.

  1. $to = "you@example.com";
  2. $subject = "Sending and email";
  3. $body = "Blah blah blah";
  4. $headers = "From: me@example.com
  5. CC: youtoo@example.com";
  6. mail($to, $subject, $body, $headers);

Report this snippet  

You need to login to post a comment.