ColdFusion 4.5 not sending all email

Posted on 2006-04-27
Last Modified: 2013-12-24
Hey all,

Having an issue with some emails not being delivered thru CF 4.5. 1% of emails are left in the undelivr folder. Here are some of the errors within the CF log file. I omitted the user's email address.

SMTP server replied "4.1.8 Domain of sender address [email] does not resolve

SMTP server replied "      Cannot attach '/wh/coldfusion/mail/spool/EBAojaqsx.cfmail' to the mail message. The file does not exist" Moved file to /wh/coldfusion/mail/undelivr/FBApjaqsx.cfmail"

SMTP server replied "5.1.8 <[email]>... Domain of sender address [email] does not exist"

I believe part of the issue to be that most of the emails not delivered were from users outside of our company, hence they did not have the accepted domain within their email address. This might have possibly denied the email from being sent by CF. Other than that, I'm not sure what else could be the issue. Any thoughts??

Question by:sdowns1122
    LVL 1

    Expert Comment

    I've had that same problem where if the sender's address (what you use in the "To" field of the CFMAIL tag) cannot be resolved, the e-mail will just be trapped and sent to the Undelivr folder.  This is not necessarily bad because it prevents spoofing to some extent.
    LVL 3

    Expert Comment

    just add the coldfusion email address to alias of your post master address will fix the problem
    as the mail server will now resolve your coldfusion email to postmaster account.

    Author Comment


    could you explain a bit further? i'm not quite sure i follow...
    LVL 3

    Accepted Solution

    add a alias or simple use postmaster as your coldfusion email address when you use
    cfmail. if you own the email server you can even trust the ip address of your coldfusion server

    e.g. <cfmail from="" to="" ....

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
    Now that Expression Web 4.0 ( is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
    The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
    The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Click on Too…

    728 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