Formatting email header correctly for multiple TO addresses
I have a customer who has an application sending emails via a cPanel server. For many years they have had no issues sending to GMAIL but recently have been getting this error.
550-5.7.1 This message is not RFC 5322 compliant. There are multiple To headers. 550-5.7.1 To reduce the amount of spam sent to Gmail, this message has been 550-5.7.1 blocked. Please visit 550 5.7.1
-
At least this confirms the issue is in the application. Is there a way to try it without the space in the application just to be sure? Either way, it seems like this isn't related to cPanel but the way the app is handing over the email list to Exim. It should accept the list and then process each recipient separately. 0 -
At least this confirms the issue is in the application. Is there a way to try it without the space in the application just to be sure? Either way, it seems like this isn't related to cPanel but the way the app is handing over the email list to Exim. It should accept the list and then process each recipient separately.
0 -
At least this confirms the issue is in the application. Is there a way to try it without the space in the application just to be sure? Either way, it seems like this isn't related to cPanel but the way the app is handing over the email list to Exim. It should accept the list and then process each recipient separately.
I verified via telnetting to port 25 and manually entering in the RCTP TO:, gives this error so I know it is not just the application. I will have to do some more investigation I guess to figure out why this is happening.0 -
I verified via telnetting to port 25 and manually entering in the FROM:, gives this error so I know it is not just the application. I will have to do some more investigation I guess to figure out why this is happening.
It's a bit confusing, you tell you are getting various error messages, but you don't (always) tell from where the errors are coming from, i.e is it the local Exim, or the receiving (Gmail?) server. Besides I don't think you can have multiple addresses in FROM0 -
It's a bit confusing, you tell you are getting various error messages, but you don't (always) tell from where the errors are coming from, i.e is it the local Exim, or the receiving (Gmail?) server. Besides I don't think you can have multiple addresses in FROM
Sorry for the confusion, first off the FROM should have been RCPT TO: and this is the connection to the cPanel server attempting to send to Gmail getting the error. Hopefully I will get more time today to trouble shoot this, I've just not seen this before as to why the server won't accept multiple To recipients. It has to be something wrong with the handshake to the server from their app but just not sure why I get the same error manually inputing the email via telnet.0
Please sign in to leave a comment.
Comments
7 comments