🧡 Skip to main content🔍 Skip to search

To troubleshoot email sending issues, use the command line argument DEBUG or DEBUGX (detailed mode). The debug mode allows viewing Febooti Command Line Email internal variables, and client-server responses (SMTP or ESMTP).

Debug

Debugging of email sending process:

febootimail -FROM ed@example.net -TO ryan@example.com -DEBUGX -TEXT "Command Line Email and server debug mode." -SUBJ Debugging -SMTP smtp.example.com

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

Command Line Email v8.0
Copyright (c) 2001–2022 · Febooti, Ltd

OS           Windows Server 2022 Datacenter · 64-bit
Build        20348

From         ed@example.net
To           ryan@example.com
Subject      Debugging
Body         Command Line Email and debug mode of the server.
Charset      UTF-8 · Unicode
Priority     3 · Normal

SMTP server  smtp.example.com · 60s timeout
SMTP port    587 · STARTTLS
SMTP auth    None

SMTP server: 220 smtp.example.com ESMTP
febootimail: HELO ed
SMTP server: 250 smtp.example.com
febootimail: MAIL FROM:<ed@example.net>
SMTP server: 250 ok
febootimail: RCPT TO:<ryan@example.com>
SMTP server: 250 ok
febootimail: DATA
SMTP server: 354 go ahead
    TLS ver: TLS v1.2
 TLS Cipher: AES 256-bit
   TLS Hash: SHA 160-bit
    TLS KEA: Ephemeral elliptic curve Diffie-Hellman 160-bit

febootimail: From: ed@example.net
To: ryan@example.com
Subject: Debugging
Content-Type: text/plain;
              charset=utf-8
Date: Fri, 29 May 2022 19:00:24 -0500
X-Priority: 3 (normal)
febootimail:
febootimail: Command Line Email and debug mode of the server.
febootimail:

.
SMTP server: 250 ok 1173703760 qp 72432
febootimail: QUIT
SMTP server: 221 smtp.example.com

e-mail(s) sent without errors

Console output

  • To save a console output to a file, add >output.txt at the end of the command line.
  • To append a console output to a file, add >>output-append.txt at the end.

SMTP

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

febootimail -FROM john@example.net -TO jack@example.com -TEXT Using authentication to send mail from windows command line -SMTP smtp.example.com -USERNAME john -PASSWORD *********** -AUTH LOGIN -DEBUGX

Debug more?

Automation Workshop is a software tool for automating time-consuming, complex, repetitive, and recurring processes · Getting started

SMTP troubleshooting

Need assistance?

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