Community Support

550 spam message when using PHPMailer

Im working on someones website and there is an extremely long form (137 feilds), the problem Im getting is an error 550

Message could not be sent.Mailer Error: SMTP Error: Data not accepted.
SMTP server error: This message was classified as SPAM and may not be delivered. For more 550 information, please see http://www.inmotionhosting.com/support/edu/everything-email/550-spam-message

Now if i only process 60 of the feilds of the form it works fine anything over that it throws the error. Is there an issue with length of emails sent from the server or is there a setting i have to change somewhere?

the address is http://nannyct.com/index.php?page=appnanny any help would be appreciated

OTHER ANSWERS

I am sorry to hear that you are experiencing this issue and will be happy to assist. You are receiving this email as a result of the email (or emails) you sent not passing the outbound filter. We screen all outbound emails to preserve the reputation of our server's IP addresses. There are several steps you can take to correct this issue. First, ensure that your code itself is fully authenticating the sender of the message as a valid user on the account.

You will also want to check the content of your email message to ensure their are no references to common spam terms. More information can be found here: Common spam words

You might also find the following support article helpful which is specific to this issue you are experiencing: 550 spam message

If after attempting the above solutions and you still have problems contact our support department in which they will be able to further assist you with the specific reason that you are getting the bounceback and resolve any issues if it is still bouncing back.

I do see the 550 SMTP errors you mentioned in the mail logs on the server. My guess would be that the overall size of the message and also the text being used to answer some of the later questions is what's triggering our outbound spam filtering from blocking the message.

I see that it looks like you've also tried to make some adjustments to have the message relayed via Gmail servers instead of the local mail server itself. However I can't tell if those were successful as I do see some indications of a Authentication failed error using your Gmail address.

I noticed in your appnanny.php script which is setting up the form to be emailed, that it also looks like you have some syntax errors in your HTML, for instance on line 21 you have two double-quotes:

This could possibly be another thing giving your message a high enough score to be classified as outbound spam.

One thing you might try if you continue to have issues with the form being directly emailed out upon submission, would be to have the PHP form write its output to a HTML file first, and then just email yourself a private link to that HTML file to check it out.