Help configuring Mercury mail or similiar with XAMPP to send e-mail outside of localhost
Posted
by user291040
on Server Fault
See other posts from Server Fault
or by user291040
Published on 2010-03-10T23:40:19Z
Indexed on
2010/05/02
14:39 UTC
Read the original article
Hit count: 835
I'm building a PHP/MySQL driven website for my department at work (installed via XAMPP). I need to be able to send mail to outside e-mail addresses (e.g., Yahoo, Hotmail, etc.) using the PHP mail()
function. As I see it I have to solutions:
Configure the SMTP directive in php.ini to the server running at my work.
Configure/run a mail server that can send e-mails outside of localhost (I'm trying Mercury because it comes installed with XAMPP).
Here are problems I've come up against:
I took a guess at our SMTP server name, and when calling PHP
mail()
, I get the errorSMTP server response: 530 5.7.1 Client was not authenticated
I can't be sure, however, the SMTP name is correct (I can't get help from our IT guys because of politics).
I have tried to use mercury mail. Mercury seems to be picking up the request, but it doesn't want to forward the e-mail to the outside. I keep getting a Temporary error 240 (temporary MX resolution error).
I've searched high and low but still can't find a definitive answer on how to send e-mails outside of localhost.
Any help is greatly appreciated.
© Server Fault or respective owner