InMotion Hosting Support Center

550 spam message when using PHPMailer

Category: Email

2013-09-12 3:05 pm EST

Hits: 3,643
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

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 any help would be appreciated

You must login before you can ask a follow up question.

You must login before you can submit an answer.



11,186 Points
2013-09-12 4:26 pm EST
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.

You must login before you can post a comment about this answer.

I tried everything there an nothing is working
8 Points
2013-09-12 6:14 pm EST
Hello derrick,

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:

<input type="text" name="question4"" required/><br/>
<label >State:</label>

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.

You would more than likely want to setup a password protected directory to store that HTML file in so that only you have access to it.

Please let us know if you had any further questions at all.

- Jacob
9,968 Points
2013-09-16 2:16 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!