SMTP errors trying to use my ISP server address?
Posted by: mikesz (---.19.173.220.broad.nn.gx.dynamic.163data.com.cn)
Date: September 15, 2007 11:47AM

Hello, I am a recent convert from Apache2Triad and have been happily using SMTP pointing to my ISP service for years using php4 mail() function. After I installed the latest WAMP I was no longer about to use the php mail function without a series of errors, the most common being:

Warning: mail() [function.mail]: SMTP server response: 551 User not local; please try <forward-path> in C:\wamp\htdocs\testmail.php on line 8

Here is the test script:

<?php

$to = "webmaster@qualityadvantages.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "admin@qualityadvantages.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);

?>

it happily works on my ISP linux server by not on my XP box.

The php.ini block is the same one I have been using sucessfully for years:

[mail function]
; For Win32 only.
SMTP = MyISPIPaddress
smtp_port = 25


; For Win32 only.
sendmail_from = webmaster@qualityadvantages.com


Any clues to solving this problem would certainly be appreciated,

TIA, mikesz

Options: ReplyQuote
Re: SMTP errors trying to use my ISP server address?
Posted by: mikesz (---.5.173.220.broad.nn.gx.dynamic.163data.com.cn)
Date: September 17, 2007 08:02AM

Seems like the support ought to be a bit better than no response or acknowledgment for three days...

Options: ReplyQuote
Re: SMTP errors trying to use my ISP server address?
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: September 17, 2007 11:50AM

wamp is for local testing and development, not to be a production server. it does not come with an smtp server to so you cannot send emails with it.


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

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my [url=http://forum.wampserver.com/read.php? f=2&i=12300&t=12300][u][b]WAMP User Manual/Guide[/b][/u][/url] here!


[url=http://www.webdevnewbie.com][u][b]Web Development for Newbie's Blog[/b][/u] [/url] - 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.


[url=http://www.clarifyloans.com][b][u]Clarify Loans[/u][/b][/url]
Mortgage and Home Loan Advice


[url=http://www.laxgo.com][b][u]LaxGo Web Directory[/u][/b][/url]
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote


Sorry, only registered users may post in this forum.