command line email - debug mode for SMTP / ESMTP

Advanced users and those who want to test / debug their e-mail sending, can use command line parameter -DEBUG (or advanced parameter -DEBUGX) to see Febooti Command line email internal variables, Febootimail client and SMTP (or ESMTP) email server responses.

Example: sending email message in debug mode.

C:\>febootimail -FROM joe@sender.com -TO cmd@dos-mail.com -DEBUGX -TEXT Command line email debug mode for SMTP / ESMTP mail servers -SUBJ "SMTP debug mode" -SMTP smtp.server.com

Debug mode console output using -DEBUGX parameter. Note that SMTP server responses provided in this example may differ from the SMTP responses in actual situation depending on SMTP server software and configuration. However, the advanced debug parameter -DEBUGX still should provide most comprehensive report on SMTP communication.

Febooti Command line email v5.0
Copyright (c) 2003 - 2013 Febooti Software. All rights reserved

From         joe@sender.com
To           cmd@dos-mail.com
Subject      SMTP debug mode
Body         Command line email debug mode for SMTP...
Charset      iso-8859-1
Priority     3

SMTP server  smtp.server.com
SMTP port    25
SMTP auth    None
SMTP timeout 60 sec.

SMTP server: 220 smtp.server.com ESMTP
febootimail: HELO joe
SMTP server: 250 smtp.server.com
febootimail: MAIL FROM:<joe@sender.com>
SMTP server: 250 ok
febootimail: RCPT TO:<cmd@dos-mail.com>
SMTP server: 250 ok
febootimail: DATA
SMTP server: 354 go ahead
febootimail: From: joe@sender.com

To: cmd@dos-mail.com
Subject: SMTP debug mode
Content-Type: text/plain;
              charset=iso-8859-1
Date: Sat, 04 Aug 2007 19:00:25 -0500
X-Priority: 3 (normal)
febootimail:
febootimail: Command line email debug mode for SMTP...
febootimail:

.
SMTP server: 250 ok 1173703760 qp 72432
febootimail: QUIT
SMTP server: 221 smtp.server.com
e-mail(s) sent without errors

If there is no local SMTP server, specify SMTP server (outgoing mail server) address using -SMTP or -SERVER parameter. If SMTP server authentication is required, use -AUTH, -USER and -PASS parameter to specify authentication method, username and password, respectively.

C:\>febootimail -FROM john@sender.com -TO jack@recipient.com -MSG "Email message which uses SMTP and AUTH methods to send mail from command prompt (windows command line)." -SMTP outgoing.server.com -USERNAME john -PASSWORD ******** -AUTH LOGIN -DEBUGX
Additional Command line email notes and resources:
  • Febooti Command line email utility parameters.
  • To save console output to a file, add >console-save.txt at end of command line.
  • To append console output to a file, add >>console-append.txt at end of 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.

Copyright © 2001-2013 Febooti Software. All rights reserved. Last updated: January 21, 2013