🧡 Skip to main content🔍 Skip to search

The LOGFAILURE (or LF) argument allows capturing failed email sending attempts (an SMTP downtime, a network timeout, a misspell in recipient name, etc.) to the specified log file in a plain text format.

Command syntax

  • febootimail -LOGFAILURE bad-mail.log
  • febootimail -LF \\server.local\Share\email\failed-email.log

By allowing to capture basic error information (a date, a time, a sender, a recipient and the errorlevel) to the dedicated log file of your choice, febootimail greatly facilitates overview and management of unsuccessful email sending attempts. By reviewing an error log, it is possible to identify failed emails easily, and resend them if necessary.

febootimail -SERVER smtp.example.net -FROM ed@example.net -TO jackson@example.com -TEXT "Sending a mail from the CMD with email logging (only failed messages)" -LOGFAILURE D:\Email\Problems.log

It is a good practice to record both full log and error log (both in separate files), thus allowing to review full email sending history. In some environments and depending on business requirements, it is acceptable to not perform any logging at all.

Related commands

Quick look

Need help?

If you have any questions, please do not hesitate to contact our support team.