CDO message being rejected

Posted on 2007-07-27
Last Modified: 2013-11-30
I tried this question on the IIS list with no comments.  I just found this list so I'll withdraw from IIS and try here.

I am maintaining a web site developed in ASP.  Part of the application sendS automated emails when certain actions are taken by users, such as submitting an order.  The email is generated using CDO.  We recently started receiving email notifications that email sent to one domain was being rejected.  The error message is as follows.  The folks at the blocked domain can receive email from our domain if sent directly so it does not look like a spam filter problem.
The following recipient(s) could not be reached: on 7/23/2007 5:51 PM

            You do not have permission to send to this recipient.  For assistance, contact your system administrator.

            <propertycontrol #5.7.1 smtp;554 5.7.1 Header forgery attempt - rejected>
Only messages to are creating this error.  All other recipients are receiving the system generated email.  Any suggestions on what to look at to resolve this would be appreciated.

Question by:dougmurph
    LVL 16

    Expert Comment

    Ask them to whitelist your email address, the one it comes from.

    Author Comment

    The "From" address for the message is inserted in the asp code that creates the message.  We have tried sending email directly from this account using Outlook/Exchange Server and it is not blocked.  When messages are created using CDO does the receiving mail server see the address of the creating smpt server or the From address?  I have looked at the mail header of the messages received properly and can not see where the receiving system would identify this message as one to reject.  The only unique item in the header, from the messages sent out of the web server, is that the sender is identified  as "X-Mailer: Microsoft CDO for Windows 2000".
    LVL 25

    Expert Comment

    This is an issue with your SMTP server, not the code.
    LVL 14

    Accepted Solution

    Possible Causes:

    "I've seen this happen in instances where you (as the sender) do not have reverse-DNS set up.  Some receiving mail systems will not accept mail without being able to perform a reverse-DNS lookup to confirm the mail is coming from a legitimate source.  

    "You are trying to relay your mail through another SMTP server and it does not permit you to relay.

    "The recipient might have mailbox delivery restrictions enabled. For example, a recipient's mailbox delivery restriction was set to receive from a Distribution List only and non-members' email will be rejected with this error.

    "Also this issue might happen when the user tries to forward a contact with a vcard.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
    I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now