Skip to main content
Inspiring
Jun 27, 2014 8:57 AM UTC
Question

resend undelivered mail

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 is closed to new replies. Start a new post to keep the conversation going.

    7 replies

    Carl Von Stetten
    Legend
    Jun 27, 2014 3:18 PM UTC

    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.

    Translate
    plartsAuthor
    Inspiring
    Jun 30, 2014 10:56 AM UTC

    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.

    Translate
    Carl Von Stetten
    Legend
    Jun 30, 2014 3:21 PM UTC

    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.

    Translate