Quick Links
This page contains various Tips and Tricks for febooti Command line email (febootimail) to help you use it to its fullest.
- Tip & Trick 1: friendly name for sender (FROM, REPLYTO) and for recipients (TO, CC, BCC).Friendly name syntax for FROM, REPLYTO, TO, CC and BCC recipients:
febootimail -TO "Firstname Lastname <friendly@email.com>"febootimail -TO "Lastname, Firstname <friendly@email.com>"febootimail -CC ""Firstname Lastname" <friendly@email.com>"febootimail -CC ""Lastname, Firstname" <friendly@email.com>"febootimail -BCC "friendly@email.com (Firstname Lastname)"febootimail -FROM "friendly@email.com (Lastname, Firstname)"febootimail -REPLYTO "friendly@email.com (Lastname, Firstname (Thirdname))"
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -BCC "support@febooti.com (Support department)" -CC ""John, Doe" <john@email.com>" -BODY "Send email by using friendly e-mail names." - Tip & Trick 2: double quote marks. To preserve white space characters, use quotes around text. Also, to send already preformatted text, use USEFILE and / or HTMLFILE parameters.Command line email -TEXT input syntax:
febootimail -TEXT Email sent with some extra spaces.febootimail -TEXT "Email sent with some extra spaces."
By using above febooti Command line email syntax, recipient will receive following email text, respectivelly:
Email sent with some extra spaces.Email sent with some extra spaces.
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -TEXT "Example of DOS command line email, which PRESERVE white space characters!" - Tip & Trick 3: outgoing mail server (SMTP) domain name as well as IP Address Notation.SMTP command syntax:
febootimail -SMTP smtp.sender.comfebootimail -SMTP 10.124.1.86
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -TEXT "DOS email uses SMTP server" -SMTP outgoing.email.server.com - Tip & Trick 4: log all text from console to file by using redirection operators > or >>. Also, to make a record file on basic email sending processes, use LOG parameter.Redirection operators syntax:
febootimail *other_commands* > rewrite-log.txtfebootimail *other_commands* >> append-log.txt
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -TEXT "DOS email uses SMTP server" -SMTP outgoing.email.server.com >> append-log.txt - Tip & Trick 5: if SMTP server authentication is required, use -AUTH, -USER and -PASS parameters.Authentication syntax:
febootimail -AUTH AUTO -USER ***** -PASS *****
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -TEXT "DOS email uses SMTP server" -SMTP smtp.server.com -AUTH AUTO -USER john -PASS ******** - Tip & Trick 6: for SSL enabled connections, port 465 is used by default. For regular and TLS connections - port 25.PORT command syntax:
febootimail -PORT 24febootimail -SSL -PORT 464
C:\>febootimail -FROM ""Johnny M." <johnny@sender.com>" -TO "Info department <info@febooti.com>" -TEXT "DOS email uses SMTP server" -SMTP smtp.server.com -PORT 24 Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.