Re: mail()

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

 



Hi,
it seems u dont have an SMTP server running on localhost:25. ensure that the
SMTP server is running on localhost:25. and also note that the mail function
does not support SMTP authentation. use pear
package<http://pear.php.net/package/Mail>for this purpose.

Kranthi.


On Sun, Oct 5, 2008 at 13:42, tap haran <tapharan@xxxxxxxxx> wrote:

>   hi,
> i can't send email from localhost
> i config php.ini
>
> [mail function]
> SMTP = localhost ; for Win32 only
> smtp_port = 25
> sendmail_from= administrator@xxxxxxxxxxxx <administrator%40yourhost.com> ;
> for Win32 only
>
> Warning: mail() [function.mail]: Failed to
> connect to mailserver at "localhost" port 25, verify your "SMTP" and
> "smtp_port"
> setting in php.ini or use ini_set() in
> G:\wamp\www\components\mail\untitled.php on line 5
>
> how 2 confuger?
>
> Get your new Email address!
> Grab the Email name you&#39;ve always wanted before someone else does!
> http://mail.promotions.yahoo.com/newdomains/aa/
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux