Debug client-server connection

To troubleshoot email sending issues, use command line parameter DEBUG or DEBUGX (detailed mode) to view Febooti Command line email internal variables, and client-server responses (SMTP or ESMTP).

Debugging of email sending process:

C:\>febootimail -FROM joe@sender.com -TO ryan@example.com -DEBUGX -TEXT "Command line email and server debug mode." -SUBJ Debugging -SMTP smtp.example.com

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

Febooti Command line email v6.0
Copyright (c) 2003 - 2017 Febooti Ltd. All rights reserved

OS           Windows Server 2016 · 64-bit
Build        14393

From         joe@sender.com
To           ryan@example.com
Subject      Debugging
Body         Command line email and server debug mode.
Charset      iso-8859-1
Priority     3

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

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

To: ryan@example.com
Subject: Debugging
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 and server debug mode.
febootimail:

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

If SMTP server authentication is required, use AUTH, USER and PASS parameter to specify authentication method, username and password.

C:\>febootimail -FROM john@sender.com -TO jack@recipient.com -MSG Using authentication to send mail from windows command line -SMTP smtp.example.com -USERNAME john -PASSWORD *********** -AUTH LOGIN -DEBUGX
Additional notes and resources:
  • Command line email parameters.
  • To save console output to a file, add >output.txt at end of command line.
  • To append console output to a file, add >>output-append.txt at end.

If you have any questions, please do not hesitate to contact our support team.

© 2001–2018 Febooti Ltd.