How To Enable Email in my local machine when using wamp

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
viplave
Forum Newbie
Posts: 3
Joined: Tue Feb 05, 2008 7:15 am

How To Enable Email in my local machine when using wamp

Post by viplave »

In one of my projects which is running in my local machine using wamp5 , i want to send a registration verification email after member registration complete. But it is not functioning. what should I do to send email from my localmachine?

Please help
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: How To Enable Email in my local machine when using wamp

Post by califdon »

viplave wrote:In one of my projects which is running in my local machine using wamp5 , i want to send a registration verification email after member registration complete. But it is not functioning. what should I do to send email from my localmachine?

Please help
Run an SMTP server?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: How To Enable Email in my local machine when using wamp

Post by Kieran Huggins »

or use your ISP's SMTP server - there will likely be limits to the amount of mail you can send, but most (all?) ISP's force you to use their SMTP server by blocking "relaying" anything to another server on port 25.

Using an SMTP server is the only way to send mail in PHP on Windows, IIRC. Linux may only use sendmail (or an equivalent)... unless you use SwiftMailer :-)
Post Reply