The HTMLFILE command allows you to send an HTML email with embedded pictures. Most common email formatting includes: bold, italic, underline, tables, styles, etc.
Command syntax
- febootimail -HTMLFILE webpage.html
- febootimail -HTMLFILE "C:\My Documents\
mail.html"
All images you want to embed must be stored on a hard drive or on a network share. All image resources in the HTML must point to the appropriate locally stored files. CSS styles must be defined inline.
Alternatively, it is possible to embed image tags that point to Internet resources via HTTP or HTTPS protocol. Note that the recipient email client may not display those images automatically.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO jack@example.com -HTMLFILE index.html -TEXT Sorry, your email app can not display this email :(
Also, it might be useful to add the TEXT argument, to set an alternative message text for recipients whose email clients do not support HTML messages.
Related commands
- -HTML
- -USEFILE or -UF
- -CONFIG or -CFG
- -TEXT or -BODY or -MSG or -MESSAGE
- -EMOJI or -EMOTE or -SMILEY
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.