Skip to main content
Participating Frequently
February 26, 2010
Question

cfmail glitches in ColdFusion 9 (not sending, but says sent)

  • February 26, 2010
  • 11 replies
  • 24755 views

I'm seeing the strange behavior with basic cfmail sends in CF9.  CF9 has an entry in the mailsent log  that is was successfully sent but on the MailEnable logs (Mailenable exists on the same server as CF and CF sends all it's l through it) there wasn't even a connection attempt.  Now  this is a my bulk  mail server and I'm probably averaging about 70,000 e-mails a day from that server and most mails go through just fine.

What i've discovered about the few that don't is they have a few things in common. Anything that goes out with a "mailworker" thread works 100% of the time.  Mail that goes out as a "scheduler" thread seems to be 50/50".   There is no spam filter involved here.  I'm just checking logs from the CF side and from the mailenable side.  CF says is was sent....mailenable doesn't ever see an attempt at that time. I've seen this on another of my CF9 servers that relays through our ISP's SMTP server.  CF send it was sent in the mail sent log, but ISP has to record of a conenction attempt let alone a full message at that time.  I think there is a CF9 cfmail bug,  I never had an issue with this on CF8 (or cf7 for that matter).  The setup was exactly the same.  These problems just started a couple mounth ago when we upgraded to CF9.

Anyone have any ideas, or if other people think this sounds like a bug how I can prove it to Adobe?

-Dan

    This topic has been closed for replies.

    11 replies

    Participant
    December 7, 2012

    We have the exact same problem. When CFmail uses the scheduler to send the messages they are all marked as sent successfully in the mailsent.log, however any that are recorded with the same timestamp in this log never make it to the sending mail server.

    Has anyone tried CF10 to see if this issue is resolved. Maybe we just need to upgrade?

    Inspiring
    December 7, 2012

    Adobe - are you reading these?

    Inspiring
    December 8, 2012

    If you want support from Adobe, you need to open a support ticket with them. This is just a community form that they happen to host: it's not a support channel.

    Emailing from ColdFusion seems to be a bit hit and miss. I know lots of installations that send mountains of email, no problems. But I also see a lot of situations like this.

    I have no idea what a fix might be (and everyone's situation is slightly different anyhow).

    Have you entirely ruled out a problem on the SMTP server ends? Do these emails drop without any evidence at all of then ever having even got to the mail server? You will need to set the logging on the mail detect to "debug" or equivalent for your system to see this sort of info.

    All CF is doing is routing the email to the mail server, which is fairly straight forward... all the hard work is done by the mail server.

    --

    Adam

    Inspiring
    April 15, 2012

    Did anyone ever resolve this?  I'm having this exact issue now, but only on messages with an attachement.  I was working fine for several months and just started doing this a few days ago.  I've restarted the server, installed 9.0.1 and hotfix 2 all with no improvement.  CF generated emails with no attachment are sent fine, every time.  With an attachment though, I'm seeing the message in the spool, it goes away, undeliverable is empty, and the cf logs indicate the message is sent successfully.  However, our email server doesn't even show a connection was attempted.  Help!

    Inspiring
    August 18, 2012

    Was this ever resolved?  I too am having this issue. I reported the bug here: https://bugbase.adobe.com/index.cfm?event=bug&id=3313431  please vote

    Inspiring
    August 19, 2012

    In my case, it was because our Exchange server had a 10MB message size limit. Even though the message was small and the attachment was showing as 7.9MB, the total, once converted to text for emailing it was like 10.2MB and so the server was rejecting it without logging it. Once we removed that limit for the account all email was sent and recieved as expected.

    Participant
    October 7, 2011

    We have a reminder_page.cfm set in CF administrator as a scheduled task that has the same symptoms - silently fails to send, spooler is empty when we check, log says sent, other logs show ran as scheduled.

    We tried all the things noted above to no avail, but we discovered that moving our reminder_page.cfm otuside the /www tree covered by our SSL certificate instantly solved the problem.  Under the SSL cert = no send, outside of it = sends fine.

    More details, see my blog at http://ethermuse.blogspot.com/2011/10/adobe-coldfusion-cf-mailer-dies.html

    Participant
    October 4, 2011

    I experienced the same problem with <cfmail> with a bcc list of email address.  I removed the bcc list and the email was sent out without a problem.

    (ColdFusion 9.0; Windows Server 2003) I have voted on the bug list.  Thanks.  Kathleen

    Participant
    August 14, 2011

    I only know of one coding error that can cause that to happen:

    If you have a comma delimted list of email address (ie. multiple emails) assigned to either the failto or replyto attributes of the cfmail tag, then your email will be logged as sent but will never actually go anywhere.  Im not sure if a process within ColdFusion swallows it without an error or if thats just a standard mail server reaction.  So, check the failto and replyto attributes on your cfmail tag.

    Tim

    Participant
    June 7, 2011

    We grew so fed up with this (well, our clients did) and we looked for paid (unfortunately) outside sources to handle mail.

    We turned to postmarkapp.com and I've been really happy with their service. They even had a sample CFC and I didn't even need to roll my own. I might have tweaked it a hair though, I can't recall. Basically it sends up your message to their server wrapped in JSON. It can even handle attachments passed along as base64 (I haven't worked with that part yet though).

    There's some great logging and status reports and usage metrics.

    This takes a little effort in getting set-up. In order to minimize bounces and keep ISPs happy, you need to add some TXT records to your DNS record to authroize Postmark to send email on your behalf. Also, you can't use them as bulk-mailers, they need to be "transactional based."

    June 7, 2011

    I went to the Adobe site and posted this as a ColdFusion bug.  The bug ID is 86933:

    http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=86933

    If you click the link above, you can "Vote" and "Comment" on this bug; so if it's happening to you please vote and comment on this bug and hopefully it will get more attention.

    Tom

    ps. There is another bug report (#86905) which refers to a similar CFMAIL problem caused by the SMTP server returning an unknown user error:

    http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=86905

    but this doesn't appear to be the case in my situation.

    booster94Author
    Participating Frequently
    June 7, 2011

    There already was a cfbug for this, but last I checked nothing had been done with it.  The original bug ID was # 84975

    Participant
    June 6, 2011

    Can we have ANYTHING on this issue/bug?

    Our company recently upgraded from MX7 to CF9 Enterprise and we are losing Client Notification Emails at random with these exact symptoms.

    This issue should be addressed soon if not an official response.  If not, what point is there in posting on these forums in the first place????

    ilssac
    Inspiring
    June 6, 2011

    PaulChan_77 wrote:

    what point is there in posting on these forums in the first place????

    NOT TO GET OFFICIAL SUPPORT.

    The forums are to facilitate user to user help and sharing.  Adobe does not officially  monitor or comment in these forums.  Though some engineers are apparently known to moonlight in here occasionally.

    IF you need offical comment from Adobe, you need to go through an offical comunication channel.  Not a free to use public forum.

    Participant
    December 7, 2010

    Very odd. I'm having the same issues too with CF9 and Windows Server 2008 x64.

    Successful mailsent log but no trace of it actually going out anywhere else. I'm using the same machine that CF is running to send the mail. Nothing in inetpub/mailroot folders and nothing in Coldfusion/Mail folders that would indicate it's sitting in there and not going out.

    Someone suggested tacking on spoolenable="No" for the cfmail tags and that didn't seem to fix anything either. I've tried both emailing to a single recipient, and a query of recipients (about 10 or so addresses) and no difference.

    I'm really at a loss here, especially when I have a few other CFMails through out the site that seem to be working just fine.

    Participating Frequently
    December 7, 2010

    We also tried the spoolenable=false on our server and it did have a slightly different result.  We found that the tread ID was not mailWorker or scheduler - it was jrpp-964 (I am sure this is just one instance of jrpp-XXX).  We had thought about trying this out in our production environment, but it seems that DanomiteDev has already answered the question of whether or not that will resolve the issue.  Adobe - are you out there?

    booster94Author
    Participating Frequently
    April 8, 2011

    Anyone made any headway with this, or at least found a serviceable workaround?  I can't believe its been over a year on this and it still hasn't been acklowedged as as issue besides by those of us in this forum.  I seem to be encountering the issue more and more as guess us our clinets begin to notice that not all the mails in their list (or in the case of a short mailing, none at all) are going out.

    The thread has been ded for a while so I thought I'd start the conversation back up to hopefully attract some attention to this issue again.

    Participating Frequently
    November 5, 2010

    +1 on problems with CFMAIL. We are using Google as our SMTP server, and I've even seen headers mixed up (a FROM address used by one mail is used in another!).

    Wim