To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Install

Install Conversation regarding installation and upgrade of PHP

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-31-2009, 05:54 PM   #1
NZ_Kiwis
Senior Member
 
Join Date: Apr 2005
Posts: 699
Mail();

I've just installed WAMPSERVER on my computer and i've copied a working script from my web server and I get this error.

PHP Code:
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:wampwwwincludessend_email.php on line 10
I've added php.exe and php-cgi.exe to my firewall exceptions but still nothing, how can I get this working.

Any help :-)
NZ_Kiwis is offline   Reply With Quote
Old 11-01-2009, 01:11 AM   #2
Neville1985
@bored
 
Neville1985's Avatar
 
Join Date: Oct 2009
Location: Wolfcreek
Posts: 58
Quote:
Originally Posted by NZ_Kiwis View Post
I've just installed WAMPSERVER on my computer and i've copied a working script from my web server and I get this error.

PHP Code:
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:wampwwwincludessend_email.php on line 10
I've added php.exe and php-cgi.exe to my firewall exceptions but still nothing, how can I get this working.

Any help :-)
Couple of tips in there:

http://phpbuilder.com/board/showthread.php?t=10369264
Neville1985 is offline   Reply With Quote
Old 11-01-2009, 01:19 AM   #3
dagon
RTFM it's a way of life.
 
dagon's Avatar
 
Join Date: Nov 2001
Location: N.Z
Posts: 3,086
install a mail server on your machine, or use your isp\gmail\yahoo, for the latter you need to set up the appropriate details in the php.ini.
dagon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:34 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.