Since Febooti Command line email version 3.0 it is possible to use -CONFIG (or -CFG) parameter to replace part of the command line with contents of configuration file.
Batch files can be used since they support commands far longer than 127 characters. Create a batch file (for example, dos-email.bat) and enter parameters that do not change from time to time (e.g. your email address, smtp server address etc.).
@Echo off
rem Batch file with predefined settings
febootimail -SERVER smtp.server.com -PORT 25 -FROM joe@sender.com -TEXT "send email using .bat file" -TO %1 %2 %3 %4 %5 %6 %7 %8 %9
rem NOTE...
rem In order to send email using this .bat file as
rem predefined template, call this batch file from
rem other batch file or command line with necessary paramsThen it is only necessary to launch the batch file (dos-email.bat) specifying the rest of parameters.
dos-email.bat john@recipient.com -ATTACH picture.jpg-USEFILE parameter allows to solve the problem as well. This parameter replaces any variables after parameters. Instead of typing a list of recipients into command line, it is possible to specify a file that contains list of emails. Or, instead of typing a message, it is possible to specify a message file.
C:\>febootimail <other_e-mail_params> -TO -USEFILE recipients.txt -MSG -USEFILE message.txtBy combining batch file possibilities with -USEFILE parameter virtually any email sending process is manageable with a very short command line.
Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email. The solution will be provided shortly by e-mail and eventually added to FAQ.