error when sending mail through web form
Posted by: cluce (---.reaganpower.com)
Date: May 21, 2007 09:39PM

my situation: I am in an internal network that is using our company's SMTP. I am working on a forgot password page for our website. When I type in an email and submit it it verifies that the email is in the database and sends that email account the username and password.

This only works with the company's email accounts such as me@company.com but when I use me@yahoo.com it does not send the username and password. I receive these errors....


Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for me@yahoo.com in C:\wamp\www\email_info.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\email_info.php:28) in C:\wamp\www\email_info.php on line 30


can someone tell me what the problem may be?

Options: ReplyQuote
Re: error when sending mail through web form
Posted by: CyberSpatium (71.237.217.---)
Date: May 22, 2007 12:53AM

wamp does not come with an smtp server so you cannot set email with it. to get around this i use a free php class called phpmailer that allows you to send email with your php scripts easily and without the need to install an smtp server.
[phpmailer.sourceforge.net]


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Web Development for Newbie's Blog

Options: ReplyQuote


Sorry, only registered users may post in this forum.