Re: Send Mail from PHP Using SMTP Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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@xxxxxxxxxxx>";
> 
> $to = "Ramona Recipient <recipient@xxxxxxxxxxx>";
> 
> $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



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux