Error while sending mail

the mail() function

Moderators: macek, egami, gesf

sharatsn123
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Mar 04, 2013 6:24 am

Error while sending mail

Postby sharatsn123 » Mon Mar 04, 2013 6:30 am

While sending mail i am getting the error message as

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

Pls help.

User avatar
aravindoptimus
New php-forum User
New php-forum User
Posts: 11
Joined: Thu Mar 07, 2013 2:00 am
Contact:

Re: Error while sending mail

Postby aravindoptimus » Thu Mar 07, 2013 4:40 am

You cant send mail from localhost.. If you want use PHPmailer.

HussainMHB
New php-forum User
New php-forum User
Posts: 10
Joined: Sat Apr 13, 2013 2:53 am

Re: Error while sending mail

Postby HussainMHB » Sat Apr 27, 2013 10:32 am

You can't buddy. If you wish, you will havet o need a server.

westwade
New php-forum User
New php-forum User
Posts: 4
Joined: Wed Jul 03, 2013 9:31 pm
Contact:

Re: Error while sending mail

Postby westwade » Wed Jul 03, 2013 10:10 pm

This is imperative because you have to market the programs as much as possible in order to coach outlet in vacaville make money. Knowing how to do this can be a difficult thing to do without help.
wow gold
cheap wow gold


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 0 guests