![]() |
|
#1
|
|||
|
|||
php mailhi
when i execute a mail program iam getting some error as follows 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() in c:\appserv\www\mails.php on line 20 what is the solution to this problem code PHP Code:
thanks mrjameer Last edited by LuciWiz : 31-Aug-2006 at 12:06.
Reason: Please insert your Php code between [php] & [/php] tags
|
|
#2
|
|||
|
|||
Re: php mailWhat OS are you using? Windows, Linux, ...?
Did you check if SMTP/Maildaemons are started? |
|
#3
|
||||
|
||||
Re: php mailI am basing my suggestion on your error message only.
I think you need to complete the [mail function] settings in your php.ini file. For example, in my development server, a Windows XP machine, this is what I have (where 'streamyx' is my ISP): Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#4
|
|||
|
|||
Re: php mailJdS is correct. Specify your mail server in your php.ini settings and everything should work after a successful definition.
HTH |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! | IncognitoNet | Web Hosting Advertisements & Offers | 0 | 30-Jan-2005 21:46 |
| RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! | IncognitoNet | Web Hosting Advertisements & Offers | 0 | 11-Nov-2004 19:51 |
| PHP mail() not working | sajuat | MySQL / PHP Forum | 1 | 22-Jul-2004 07:10 |
| Reliable Hosting $2-$8/month: PHP, MySQL, FrontPage, CGI, SSH, FTP, POP3, Web Mail | fcolor | Web Hosting Advertisements & Offers | 0 | 04-Nov-2003 06:03 |
| 600MB Space, 20GB Banwidth, PHP, MySQL, CGI, SSH, FrontPage, FTP, POP3, Web Mail | fcolor | Web Hosting Advertisements & Offers | 0 | 08-Aug-2003 10:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The