note 9126 added to Mail functions
| From: | jho at udeco dot com | Date: | Tue, 17 Oct 2000 22:20:04 +0000 |
| Subject: | note 9126 added to Mail functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6599@lists.php.net to get a copy of this message | ||
For those who want to use IIS CDONTS to send email:
$my_email = new COM("CDONTS.NewMail") or die("Could not create an email");
$my_email->from = "me@my_domain.com";
$my_email->to = "recipient@domain.com";
$my_email->subject = "Hello";
$my_email->body = "Just a message";
$my_email->send();
http://www.php.net/manual/ref.mail.php