![]() |
|
#1
|
|||
|
|||
Help .. I cant send mail with phpHi all,
It is driving me crazy with email on php. I keep this error: 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 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\PHP+MYSQL\sendtest.php on line 8 PHP Code:
Please help!!! Thank you. Last edited by LuciWiz : 20-Jan-2008 at 08:11.
Reason: Please insert your Php code between [php] & [/php] tags
|
|
#2
|
||||
|
||||
Re: Help .. I cant send mail with phpWhat is your PHP version?
Oh, and make sure there is not any anti-virus/firewall programs blocking the port. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Help .. I cant send mail with phpI am using php5.2.0 or 5.2.3. I tried it already .. i set my anti-virus and firewall to allow port 25 but it did not work ... do i need to have outlook or some email server??
|
|
#4
|
||||
|
||||
Re: Help .. I cant send mail with phpYou do need an email server for php to send email. You can probably use your ISP's SMTP server for this.
http://email.about.com/cs/phpemailtips/qt/et021802.htm |
Recent GIDBlog
Toyota - 2008 August Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sudoku C++, need lots of help :S | 3shtar | C++ Forum | 3 | 06-Apr-2006 10:10 |
| How do I send better e-mails with PHP? | Snapple | MySQL / PHP Forum | 4 | 24-Jan-2006 20:47 |
| PHP mail() not working | sajuat | MySQL / PHP Forum | 1 | 22-Jul-2004 07:10 |
| 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