When using OPENEML command, the message is loaded from am EML file rather than composed from information provided through other command line parameters. An EML file alone suffices to provide the email headers and message contents that will be displayed to the actual recipient.
It is possible to use rich message formatting features of email apps that support standard .eml files. Such apps are Microsoft Live Mail, Outlook Express, Thunderbird, TheBat and others. Just prepare a message and save it to an .eml file, and later use the OPENEML argument in Command Line Email.
To send an .eml file, provide a TO and a FROM address for the actual sending session, as well as an SMTP server and authentication credentials.
Command syntax
- febootimail -OPENEML email.eml
- febootimail -OPENEML "C:\mail messages\
email.eml"
At the recipient email client, the message will be displayed exactly as it is provided in the EML file. TO and FROM fields will be displayed from the EML file, even if the actual message sender and recipient differ. However, note that email SPAM filters consider such messages as a SPAM, now.
febootimail -SERVER smtp.example.com -FROM ed@example.com -TO jack@example.net -OPENEML "My Email.eml"
Note that an email client may display the date and time listed in the EML file, and not date and time when the message was actually sent. Also, sending an EML file overrides other information provided (e.g., subject, message text, attachments, etc).
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.