Configuring WAMP on XP x64 to send emails

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
iceangel89
Forum Commoner
Posts: 39
Joined: Mon Jul 02, 2007 7:02 pm

Configuring WAMP on XP x64 to send emails

Post by iceangel89 »

can i configure my WAMP2.0b on Windows XP x64 to send emails?

i tried

Code: Select all

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
 
; For Win32 only.
sendmail_from = localhost
// ^ and even something like me@gmail.com
but it says
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for xxx@gmail.com in C:\wamp\www\job1\test1\test2\untitled.php on line 5
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Re: Configuring WAMP on XP x64 to send emails

Post by timvw »

That means that your SMTP server (on the same machine) is configured not to accept mails that come from "xxx@gmail.com"...

configure php so that it:
- uses google's smtp server
- uses a sender address that it is willing to relay for
iceangel89
Forum Commoner
Posts: 39
Joined: Mon Jul 02, 2007 7:02 pm

Re: Configuring WAMP on XP x64 to send emails

Post by iceangel89 »

and how do i do that? sorry didn't do such things before

thanks
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Configuring WAMP on XP x64 to send emails

Post by Kieran Huggins »

you'll likely have to use your local ISP's smtp server - look in your mail client and copy the SMTP server out of there.
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Configuring WAMP on XP x64 to send emails

Post by Doug G »

What is your smtp server? XP doesn't have a built-in SMTP unless you are using XP Pro with IIS and it's SMTP server. If you're using the IIS SMTP server you configure it from the IIS management console (control panel - administrative tools).
Post Reply