Skip to main content
Inspiring
June 27, 2014
Question

resend undelivered mail

  • June 27, 2014
  • 1 reply
  • 3641 views

After a mail server problem,

I have many undelivered mail in the Coldfsuion Mail "undelivr" directory.

The Mail server is up again

Is there a possibility to resend all these mails ?

I tried a copy/paste of mails into the "spool" directory

but these mail are resent into the "undelivr" directory

and new mails are sent correctly.

Thanks for help.

Pierre.

    This topic has been closed for replies.

    1 reply

    Carl Von Stetten
    Brainiac
    June 27, 2014

    Did anything about the mail server change (IP address, host name, etc.)?  Also, drop the emails back in the "spool" directory and then as soon as they get moved over to "undelivr", take a look at the mail.log and mailsent.log files in your ColdFusion logs folder.  Let us know what errors (if any) you see there.

    -Carl V.

    plartsAuthor
    Inspiring
    June 30, 2014

    Thanks for your answer,

    effectively, when I paste the undelivered mails in the spool,

    they have been sent with no problem.

    (undelivered directory is then empty, all is good)

    It has been a change of the mail server IP adress.

    But in the CF admin it was declared as : smtp.creaweb.fr

    So, normally it did not have to care of the IP adress change.

    But CF admin kept somewhere the old IP adress instead of : smtp.creaweb.fr

    I do not understand why and where ?

    This is dangerous, because when the Host change the mail server IP adress,

    mail are not delivered until I rebbot the server.

    Thanks for any understanding of this, and help.

    Pierre.

    Carl Von Stetten
    Brainiac
    June 30, 2014

    Pierre,

    I'd look at all of the <cfmail> tags in your application code.  Perhaps some have the "server" attribute set, and have an IP address instead of DNS host name.  Unless you work with multiple email servers, I'd remove any "server" attributes and fall back to the one configured in CF admin.

    -Carl V.