PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Dec 16, 2018 9:01 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Oct 10, 2009 3:40 am 
Offline
Forum Commoner
User avatar

Joined: Sun Sep 20, 2009 6:55 am
Posts: 38
Location: New Delhi
Hi frndz,
I am using wamp and I am trying to send mail from my local machine
Code is running but i get this error on script execution:-

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:\wamp\www\test\mail.php on line 20

I have a lighter idea that its because of smtp settings in .ini file....
but not sure what to edit and where to edit.... :crazy:

Plz suggest me some solution or way to send mail from local machine.


Top
 Profile  
 
PostPosted: Mon Oct 12, 2009 7:29 am 
Offline
Forum Contributor

Joined: Fri Nov 07, 2008 6:31 am
Posts: 230
Location: Nashik, India
You need to install mail server to send mails from local machine. You can install IIS and configure it for php to send mail.

_________________
PravinS | Blog


Top
 Profile  
 
PostPosted: Mon Oct 12, 2009 8:28 am 
Offline
Forum Commoner
User avatar

Joined: Sun Sep 20, 2009 6:55 am
Posts: 38
Location: New Delhi
pbs wrote:
You need to install mail server to send mails from local machine. You can install IIS and configure it for php to send mail.


I download pegasus 4.51 from net after googling about the same problem.
But haven't done any R & D yet??

can that pegasus work?? :?:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group