TOEACH (or SPLIT) command allows sending the same email to many recipients at once, yet a separate email is delivered to each individual recipient. This feature facilitates email sending by replacing the need for batch files.
Command syntax
- febootimail -TOEACH -TO -USEFILE "C:\My CMD Email\
Recipients.txt" - febootimail -SPLIT -TO ted@example.com; jane@example.edu
When multiple recipients are specified in the TO field, febootimail connects to an SMTP server only once, and sends email messages to all recipients one by one.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO -UF "C:\My CMD Email\Recipients.txt" -SPLIT -TEXT "Send mail from the command line to each recipient separately" -LOG maillog.txt
Possible content of "C:\My CMD Email\Recipients.txt" file, which is used to specify the email recipients:
John Sender <john@example.com>
Sales Department <sales@example.com>
email@example.net
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.