Skip to main content
January 22, 2010
Question

Cfmail works only with internal emails

  • January 22, 2010
  • 3 replies
  • 770 views

I just recently started having email problems. my site is www.brantnews.com and if the site generates an email to me or one of my coworkers @11518379.com, the cfmail works fine. If someone on the outside with an hotmail or any other email except brantnews. the email fails and ends up in the C:\ColdFusion8/Mail/Undelivr folder

not sure what the problem is.

Regards

Craig Wiseman

    This topic has been closed for replies.

    3 replies

    January 22, 2010

    <cfmail to="imzadi11@hotmail.com"

      server="66.27.112.236"

      username="xxxxxxxxxx"

      password="xxxxxxxxxx"

      from="webmaster@brantnews.com"

      subject="Brantnews.com Comments Registration and Email Verification." type="html">

            <table width="650" cellpadding="3" cellspacing="1"><tr><td>

         TEST MESSAGE

      </td></tr></table>

    </cfmail>

    here is the cfmail code, i've hardcoded the to email address in this test but my regular page will use the variable #TRIM(GetToEmail.email)#.

    Plus, I tried it with and without the server, username, and password in the CFmail code and just relyed on server authinication

    tclaremont
    Inspiring
    January 22, 2010

    If they wind up in the undeliverable folder, then it is being stopped before leaving your org.

    Show us your CFMAIL code.

    Did you populate the FROM address, so that it matches the domain that you are sending from?

    Do you indicate the server name in your code, or do you rely on the settings in CFADMIN?

    If you populate as many of the optional parameters as possible, you will decrease your chances of being blocked for suspected spam. I suspect this is what is going on.

    Participating Frequently
    January 22, 2010

    Your SMTP server may be rejecting the mail as well. Check the configured SMTP server.  If it delivers local only email it is likely set up in such a way to not deliver anything else.

    Inspiring
    January 22, 2010

    Check your mail log.  We recently had some similar observations with just one mail program, and after we spent lots of time doing things that didn't tell us the answer, someone read the log and we learned it was spam filtering.