Re: Send Mail from PHP Using SMTP Authentication
| From: | Ferenc Kovacs | Date: | Mon, 12 Apr 2010 20:13:10 +0000 |
| Subject: | Re: Send Mail from PHP Using SMTP Authentication | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30016@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/ini.core.php#ini.include-path
Tyrael
On Mon, Apr 12, 2010 at 10:06 PM, Alice Wei <ajwei@alumni.iu.edu> wrote:
>
> 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