Testing communication » Troubleshooting outbound
How to check if an outbound email was received by Xeams
An outbound email is received by Xeams SMTP Server and the communication between client and server is logged in SMTPConversation.log file.
Examine the log files
Every log file in Xeams is stored in the
logs
folder off of the installation directory. These are plain text files
and therefore, you can use any editor to view their contents. However,
the
Admin Console offers a better way. Following steps show how to view contents of a log file.
Assumption- Assume the sender's email address is Mary@YourCompany
- Assume the recipient is John@BusinessPartner.com
Steps- Log in to Admin Console
- Click View Logs under the Tools menu
- Select SMTPConversation.log if you are using SMTP Server, or SMTPProxyConversation.log if you are using SMTP Proxy server. If you do not see these files, enable logging for these types.
- Type john@BusinessPartner.com for Filter String
- If John's server tried to send an email you will see a similar log.
2007-03-16 13:44:15,364 - [ 123456] C --> MAIL FROM:
In the example above the number 123456 corresponds to an Email ID. This
email ID is used to uniquely identify a message in the system. This ID
is generated even if an email is not accepted by the system. - Click the Back button on the browser and now type 123456 in the search string and click proceed.
- Now you should see a log for the entire communication, which should look similar to the following.
2007-03-16 13:44:14,004 - [ 123456] ************ New connection from: 201.3.65.6
2007-03-16 13:44:14,864 - [ 123456] C --> HELO mail.businesspartner.com
2007-03-16 13:44:14,864 - [ 123456] S <-- 250 201.38.165.6. Please to meet you
2007-03-16 13:44:15,364 - [ 123456] C --> MAIL FROM:
2007-03-16 13:44:15,364 - [ 123456] S <-- 250 OK
2007-03-16 13:44:15,864 - [ 123456] C --> RCPT TO:
2007-03-16 13:44:15,864 - [ 123456] S <-- 250 OK
2007-03-16 13:44:16,332 - [ 123456] C --> DATA
2007-03-16 13:44:16,332 - [ 123456] S <-- 354 Start mail input; end with .
2007-03-16 13:44:18,973 - [ 123456] S <-- 250 2.6.0 Queued mail for delivery
2007-03-16 13:44:19,832 - [ 123456] C --> QUIT
2007-03-16 13:44:19,832 - [ 123456] S <-- 221 Good bye. Hope to see you again
2007-03-16 13:44:19,832 - [ 123456] ~~~~~~~~~~~~ Connection Terminated (5828:999999)
Every line containing C --> is sent from the sender's server and lines containing S --> is the response sent by Xeams. If you see a line containing DATA command, it means John's server has started sending the message. In response to the DATA command Xeams should send 250 2.6.0 Queued mail for delivery.
If you see these lines, it means Xeams has accepted the message from
John's server. If you do not see these lines, the sender's server
should retry sending the message.