Page 1 of 1

Configuring WAMP on XP x64 to send emails

Posted: Sun Apr 20, 2008 2:00 am
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

Re: Configuring WAMP on XP x64 to send emails

Posted: Sun Apr 20, 2008 5:34 am
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

Re: Configuring WAMP on XP x64 to send emails

Posted: Sun Apr 20, 2008 7:46 am
by iceangel89
and how do i do that? sorry didn't do such things before

thanks

Re: Configuring WAMP on XP x64 to send emails

Posted: Sun Apr 20, 2008 3:03 pm
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.

Re: Configuring WAMP on XP x64 to send emails

Posted: Sun Apr 20, 2008 9:32 pm
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).