Skip to main content
Participant
September 3, 2008
Question

CFMAIL - Can ANYONE...ANYONE tell me...

  • September 3, 2008
  • 2 replies
  • 308 views
Hi have despertely been trying to find any information on how, exactly, the CFMAIL tag works...
Can anyone tell me? Or direct me to a whitepaper or knowledgebase document...anything.

Here's my understanding...

CFMAIL deposits message into "spool" folder and periodically attempts to connect to the exchange server and push the emails through (as long as all is authenticated)...

Exchange server either accepts the message (good email address etc.) and sends it through OR

Determines that it is undeliverable and sends it back to CF server (with, I assume some sort of mesage indicating why it was rejected which is then logged into mail.log)

CF server deposits message into "undelivr" folder...then what? Spooled again?

Message sits here for...(I don't know)...forever?

And there is no indication to developer, with the exception of an entry into the mail.log file (maybe), that anything is arye.

QUESTIONS:
Is this anywhere near correct?
Does the exchange server communicate with the CF server? If so how/what?
What happens to emails once sent to exchange server and it's deemed undeliverable?
By what criteria is something deemed undeliverable?
Does exchange send it back and put it in the undelvr folder? Or does CF do that?
How often does the CF server attempt to push the message before it gives up?

ANY information would be greatly appreciated...thanks in advance, Haley
    This topic has been closed for replies.

    2 replies

    HaleyBzAuthor
    Participant
    September 17, 2008
    OK...so here's another question...I know I can get a receipt via CFMAILPARAM by using
    <cfmailparam name="Return-Receipt-To" value = "#email#">
    When this get sent back to me from the exchange server it's labled as a "READ" receipt, is there a way to get a "DELIVERED" receipt as well? And while a READ receipt implies that something has been delivered, if a person does not accept sending the return receipt or they delete the message without opening, then there is no record that it was delivered...this is the piece I need...

    I had thought I could get the "delivered" receipt by using
    <cfmailparam name="Disposition-Notification-To" value = "#email#">
    but this doesn't send anything back to me...not sure why.

    Thanks for any help
    Inspiring
    September 3, 2008
    You've got the gist of it. The mail file sits in the undeliverable folder until something is done about it.

    The way we handle that is with a scheduled job. It moves the files back to the spool folder and sends mail. Sometimes the mail gets delivered on the 2nd try. Otherwise one the recipients of the mail from the scheduled job will do something, eventually, maybe. If not, we get a lot of mail.