The DEBUGX (or DX) argument allows you to debug an SMTP or ESMTP server. The test reveals step by step information exchange between the mail server and the Command Line Email app. Every bit of information is displayed as it is sent over the SMTP protocol. This allows quickly and precisely locate the problem. View DEBUGX output example.
Command syntax
- febootimail -DEBUGX
- febootimail -DX
DEBUGX implementation provides full information (including encoded attachments) when testing an SMTP server. Thus, it is advised not to send messages with very large attachments for the testing purposes. The DEBUG command may be more appropriate in such cases, because it only shows responses from the server and not the client.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO ted@example.com -TEXT Debug SMTP or ESMTP server -DEBUGX
To store an SMTP communication use the redirection operator > and a file name. It is recommended to use an absolute path to easier locate the output file. If a path is not specified, a file is created in the current folder.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO ted@example.com -TEXT "Log SMTP server info to the specified text file" -DEBUGX > C:\email-debug.txt
Console output
- 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.
Related commands
SMTP troubleshooting
- SMTP server configuration in email clients
- Additional email service provider SMTP settings
- Enable Google App passwords for SMTP
- Allow less secure apps. What does it mean?
Quick look
- Quick start · start sending the CMD email in minutes
- Tips & Tricks · a few quick email tricks
- Email attachments · use simple wildcards or advanced file masks to attach multiple files
- Parameter substitution using USEFILE and CONFIG · use a text file as any parameter
- Batch file & errorlevels · errorlevel values can be used in conditional processing
- Command Line Email parameters · see all email commands
Need help?
If you have any questions, please do not hesitate to contact our support team.