Argh, I converted my mail script over to an SMTP solution, but now on anything outside of the domains on the server I get this error:
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
So it won't send to blah@yahoo.com, blah@msn.com etc etc etc. Yet with outlook, I can send wherever I want.
Is it because I authenticate in Outlook and not in my php script?
I'm doing something like this to send now:
$mySTMPprocess->send("HELO mail.mailserver.com");
$mySTMPprocess->send("MAIL FROM:$from");
$mySTMPprocess->send("RCPT TO:$email");
$mySTMPprocess->send("DATA");
$mySTMPprocess->send($theEmailText);
$mySTMPprocess->send("RSET");
$mySTMPprocess->send("QUIT");
Is there a way to pass user/pass authentication information? Could that be the problem?
Also, as an FYI, using mail() sends to these addresses just fine.
thanks in advance!