I have a setup of two application servers and both works with a load balancer. In both the server I am trying to use sendgrid SMPT server. Using one server I am able to send email via sendgrid but from other server it is not able to send email. Which is very strange because both the servers are using same configuration and sendgrid authentication details.
Server1: abc.com - successfully able to send email
Server2: zzz.abc.com, Error message : "Cannot receive from specified address : Unauthenticated senders not allowed"
One thing I'd like to note here is, There is a local setup of mail server on zzz.abc.com also which we are using for some other purposes.
So the problem is I am able to send email using abc.com server, but not able to send email using zzz.abc.com.
Please help.
Prashant
-
If you're getting the "unathenticated senders not allowed" error, that means your mail server or program is not attempting the AUTH LOGIN command during the SMTP connection.
To send to us, your SMTP connect should look like:
connect
EHLO
AUTH LOGIN
MAIL FROM:
RCPT TO:
DATA
. -
-
Jacob,
It seems I have the exact same problem as Mr. Kumar. However, Jacob, I don't understand your answer.
I have a php app, when I run it on localhost everything works great but when I run it on our test server I get:
Fatal error: Uncaught exception 'Swift_TransportException' with message 'Expected response code 250 but got code "550", with message "550 Cannot receive from specified address
What do I do?-
Just to clarify, it's the _exact_ same code that I run on the two machines.
-
-
If the error is "550 cannot receive from specified address", that's not our server, unless your envelope MAIL FROM address is improperly formatted.
"Unauthenticated senders not allowed" occurs when your system skips the "AUTH LOGIN" step, and tried to send us mail before it gives us your username & password, which we require to know where to send the mail through. -
-
-
-
Loading Profile...



Twitter,
Facebook, or email.

EMPLOYEE

