Email Error 5.2.1
360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up AOL Rejecting email sent via PHP mail (error 5.2.1) up vote 3 https://support.microsoft.com/en-us/kb/284204 down vote favorite 1 Recently AOL has started rejecting emails sent from my production server. Customers make product enquiries through my site and can "cc" themselves if they wish. I check for spam (e.g. don't send if request contains banned phrases, urls, etc). However, recently, if the enquirer is an AOL customer, the message bounces: <*removed!*@aol.com>: host mailin-04.mx.aol.com[64.12.88.132] said: 521 5.2.1 : AOL will not accept delivery of this http://stackoverflow.com/questions/24907191/aol-rejecting-email-sent-via-php-mail-error-5-2-1 message. (in reply to end of DATA command) Email protocol is not my area of expertise! I just use the standard PHP mail() function and this has worked ok for years. I have looked through the AOL Postmaster support pages and contacted AOL (which, obviously, was my first port of call - but they have yet to respond), plus I don't really understand the problem (which is 50% of finding the solution!). http://postmaster-blog.aol.com/2014/04/22/aol-mail-updates-dmarc-policy-to-reject/ ...it seems as though AOL are saying "we don't like the way that you send emails, sorry to inconvenience you..." If anyone has any experience or specific insight into how to get AOL to accept emails then I would love to hear from you. I'm guessing that it could be something to do with how my emails are formed: this hasn't changed in years and (previously) I've had no reason to look at the code: Here is an edited version of how I send emails... $recipient = "\"$supplier[supplierName]\" <$supplier[supplierEmail]>"; $subject = "$supplier[supplierName] enquiry"; $headers = "MIME-Version: 1.0".PHP_EOL ; $headers .= "Content-type: text/html; charset=utf-8".PHP_EOL; $headers .= "Reply-To: \"$cleanArrayEmail[realname]\" <$cleanArrayEmail[email]>".PHP_EOL; $headers .= "From: \"Admin\"
that the delivery directory on the Virtual server has exceeded its limit. (Default 22 MB) 4.3.1 Not enough disk space on the delivery server. Microsoft say this NDR http://www.coldnet.net/tech/smtpcodes.htm maybe reported as out-of-memory error. 4.3.2 Classic temporary problem, the Administrator has frozen the queue. 4.4.1 Intermittent network connection. The server has not yet responded. Classic temporary problem. If it persists, http://geekswithblogs.net/BWCA/archive/2009/06/09/another-reason-for-a-5.2.1-undeliverable-message-ndr.aspx you will also a 5.4.x status code error. 4.4.2 The server started to deliver the message but then the connection was broken. 4.4.6 Too many hops. Most likely, the message is email error looping. 4.4.7 Problem with a timeout. Check receiving server connectors. 4.4.9 A DNS problem. Check your smart host setting on the SMTP connector. For example, check correct SMTP format. Also, use square brackets in the IP address [197.89.1.4] You can get this same NDR error if you have been deleting routing groups. 4.6.5 Multi-language situation. Your server does not have the correct language email error 5.2.1 code page installed. 5.0.0 SMTP 500 reply code means an unrecognised command. You get this NDR when you make a typing mistake when you manually try to send email via telnet. More likely, a routing group error, no routing connector, or no suitable address space in the connector. (Try adding * in the address space) This status code is a general error message in Exchange 2000. In fact Microsoft introduced a service pack to make sure now get a more specific code. 5.1.x Problem with email address. 5.1.0 Often seen with contacts. Check the recipient address. 5.1.1 Another problem with the recipient address. Possibly the user was moved to another server in Active Directory. Maybe an Outlook client replied to a message while offline. 5.1.2 SMTP; 550 Host unknown. An error is triggered when the host name can’t be found. For example, when trying to send an email to bob@ nonexistantdomain.com. [Example kindly sent in by Paul T.] 5.1.3 Another problem with contacts. Address field maybe empty. Check the address information. 5.1.4 Two objects have the same address, which confuses the categorizer. 5.1.5 Destination mailbox address in
2010 Deployment Notes - ISA 2004 Server Issue Exchange 2010 Deployment Notes - Exchange 2010 AD Schema Update Error Messages Exchange 2010 Deployment Notes – Exchange Pre-Deployment Analyzer Notes Exchange 2010 Deployment Notes – How to start preparing for Exchange 2010 Exchange 2010 Deployment Notes – Office 200x and Exchange 2010 Exchange 2010 Deployment Notes – Cannot Modify a Distribution List Issue Exchange 2010 Deployment Notes – Outlook 2003/Exchange 2003 User Issue Exchange 2010 Deployment Notes – Direct Booking and Outlook 2010 Post Categories BizTalk .net 2 TFS MsBuild Kerberos Adventures BizTalk Testing BizTalk Build & Deployment BizTalk Wishlist blogdoc BizTalk 2009 Migration SBUG NServiceBus Caching Patterns and Anti Patterns RabbitMQ Azure Azure Service Bus Architecture API Windows Azure BizTalk Services Archives August 2011 (3) May 2011 (3) April 2011 (1) March 2011 (5) February 2011 (1) July 2010 (9) June 2010 (4) February 2010 (2) January 2010 (2) November 2009 (2) October 2009 (4) June 2009 (3) Hornet's Nest A few of Mike Hoerner's Favorite Topics Home | Outlook 2007 iCAL Issue (with External Recipients) - #4.4.7 NDR >> Another reason for a #5.2.1 Undeliverable message (NDR) Comments (1) | Share Summary In an Exchange 2003 environment that has matured over time, an enabled Active Directory account may get a #5.2.1 Undeliverable message (NDR) as shown below when they send an e-mail message to another enabled Active Directory account. ------------------------------------------------------------------------------------ From: System Administrator Sent: March 30, 2009 9:30 AM To: Bob Stevens Subject: Let's meet at Noon Your message did not reach some or all of the intended recipients.     Subject: Let's meet at Noon     Sent: 3/30/2009 9:30 AM The following recipient(s) cannot be reached:     Smith, Billy on 3/30/2009 9:30 AM     The message reached the recipient's e-mail system, but delivery     was refused. Attempt to resend the message. If it still fails, contact     your system administrator.Â