Some SMTP servers ask for authentication in order to prevent misuse. By default febooti Command Line Email assume that no authentication is needed for sending DOS mail, however if it is not the case, -AUTH command should be used. There are couple of authentication methods supported by Command Line Email utility, namely, LOGIN, PLAIN, NTLM, CRAM-MD5 and AUTO.

Command syntax:
  • febootimail -AUTH LOGIN
  • febootimail -AUTH PLAIN

Both LOGIN and PLAIN authentication methods are used to log in using Base64 Encoded passwords over non-encrypted communication session. From a security viewpoint Base64 encoded passwords are essentially as vulnerable as plain text, due to decoding being pretty easy, without any whatsoever cryptographic protection.

Command syntax:
  • febootimail -AUTH NTLM

When using IWA (Integrated Windows Authentication), formerly known as NTLM (NT LAN Manager) it is not necessary to provide user name and password since all the necessary credentials are provided by Microsoft Windows single sign-on mechanism which is completely transparent to the user.

Command syntax:
  • febootimail -AUTH CRAM-MD5

CRAM-MD5 stands for challenge response authentication mechanism based on HMAC-MD5 MAC algorithm. CRAM-MD5 authentication is used on some types of extended SMTP servers without TLS (Transport Layer Security).

Command syntax:
  • febootimail -AUTH AUTO

Using -AUTH AUTO enables automatic authentication type detection based on SMTP server responses. If no recognized AUTH type is provided by server, yet server supports STARTTLS, then STARTTLS encrypted session is established and authentication procedure is reinitiated, which is part of standard authentication procedure - SMTP server forces client to use secure mode to prevent username and password to be sent in plain text.

Most authorization methods have to be used with -USER or -USERNAME and -PASS or -PASSWORD parameters, which passing user name and password to outgoing mail server (SMTP). The only exception is -AUTH NTLM which does not require to provide user name and password.

Command syntax:
  • febootimail -AUTH PLAIN -USERNAME ****** -PASSWORD ******
  • febootimail -AUTH LOGIN -USER ****** -PASSWORD ******
  • febootimail -AUTH NTLM
  • febootimail -AUTH CRAM-MD5 -USER ***** -PASS *****
  • febootimail -AUTH AUTO -USERNAME ***** -PASS *****
C:\>febootimail -SERVER smtp.server.com -FROM john@sender.com -TO jack@recipient.com -TEXT a secure SMTP authentication -AUTH LOGIN -USERNAME jack13z -PASSWORD 34sCh12 

Note that outgoing mail SMTP server is logically and in many cases physically independent from incoming mail POP3 server. Thus it is advisable for security resons to use different authentication passwords for SMTP and POP3 logins.

Related commands:

Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.