The IGNOREATTACHERRORS (or IAE) argument allows you to ignore any errors caused by inability of emailing software to access files. Attachments are added to the email using the ATTACH command.
Command syntax
- febootimail -IGNOREATTACHERRORS -ATTACH *.doc
- febootimail -IAE -ATTACH pic-????.jpg
Consider the following email sending scenario—You are attaching many Word documents to the email (using *.doc), and one file is not accessible. Perhaps a user is editing the document right now, thus a file is locked. By default, this will cause the email sending failure. However, by allowing to ignore attachment errors (e.g., network share is not available, access denied, sharing violation, etc.) email will be sent even if attaching some of the files are not possible.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO carter@example.com -TEXT Review all attached Excel summary sheets -IGNOREATTACHERRORS -ATTACH \\server\share\*.xls
Note that in your production environment it is important to carefully consider whether to allow or not to ignore attachment errors. It may be critical to forbid email sending at all, even if only 1 file from 100 is not accessible. In some other situations, sending email is more valuable, even if some of the files are not ready.
Related commands
Quick look
- Quick start · start sending the CMD email in minutes
- Tips & Tricks · a few quick email tricks
- Email attachments · use simple wildcards or advanced file masks to attach multiple files
- Debug email client-server connection · use DEBUG and advanced DEBUGX commands
- Parameter substitution using USEFILE and CONFIG · use a text file as any parameter
- Batch file & errorlevels · errorlevel values can be used in conditional processing
- Command Line Email parameters · see all email commands
Need help?
If you have any questions, please do not hesitate to contact our support team.