Send Mail from PHP Using SMTP Authentication
| From: | Alice Wei | Date: | Mon, 12 Apr 2010 20:06:21 +0000 |
| Subject: | Send Mail from PHP Using SMTP Authentication | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-30015@lists.php.net to get a copy of this message | ||
Hi,
Just as I am exploring some of my alternatives for using the mail() in PHP, I came across a web
page that one of the users on the list has provided me: http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm.
Does anyone know what the Mail.php is referring to here?
<?php
require_once "Mail.php";
$from = "Sandra Sender <sender@example.com>";
$to = "Ramona Recipient <recipient@example.com>";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
?>
If it is something from PEAR package, why isn't it necessary for it to specify the path to that
code?
Can it tell by itself?
Thanks for your help.
Alice
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2