The LOGSUCCESS (or LS) argument allows to store basic history (such as a date and time, a recipient, etc.) of all the successfully sent emails via Command Line Email app.
Command syntax
- febootimail -LOGSUCCESS sent-mail.log
- febootimail -LS \\server.local\
Share\ Mail\ mail-success.log
It is possible to review the history of email sending, by storing log entries of all successfully sent mail messages. Basically it acts as a Sent email folder that contains simple bits of information (a date, a time, a recipient, etc.). Note that the log file does not store the text of email, subject, or attachments. If you need to store the email itself, use the SAVEEML and OPENEML commands while preserving the .eml file in the Sent Items like folder.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO maverick@example.com -TEXT "Sending the DOS email with successful email logging" -LOGSUCCESS "C:\Email Reports\Success.log"
A Log file is created in a plain text format upon successful email sending (errorlevel 0). Each entry occupies a single line. Use any text file viewer or Windows Notepad to examine its content.
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.