Re: Send Mail from PHP Using SMTP Authentication
| From: | Niel Archer | Date: | Mon, 12 Apr 2010 20:13:26 +0000 |
| Subject: | Re: Send Mail from PHP Using SMTP Authentication | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30017@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?
Because if PEAR is setup correctly, then its directory is in the include
path and this file will be found there.
> 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
--
Niel Archer