Breaking News
Home / Java / Java Snippets / How does SMTP debug looks like on sending email?

How does SMTP debug looks like on sending email?

mymac:bin mv$ ./run.sh com.infuzee.service.test.EmailerTest

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]DEBUG SMTP: useEhlo true, useAuth true

DEBUG: SMTPTransport trying to connect to host “smtpout.secureserver.net”, port 25

DEBUG SMTP RCVD: 220 p3plsmtpa06-05.prod.phx3.secureserver.net ESMTP

DEBUG: SMTPTransport connected to host “smtpout.secureserver.net”, port: 25

DEBUG SMTP SENT: EHLO mymac.local
DEBUG SMTP RCVD: 250-p3plsmtpa06-05.prod.phx3.secureserver.net
250-AUTH LOGIN PLAIN
250-8BITMIME
250 PIPELINING

DEBUG SMTP Found extension “AUTH”, arg “LOGIN PLAIN”
DEBUG SMTP Found extension “8BITMIME”, arg “”
DEBUG SMTP Found extension “PIPELINING”, arg “”
DEBUG SMTP: Attempt to authenticate
DEBUG SMTP SENT: AUTH LOGIN
DEBUG SMTP RCVD: 334 VXNlcm5hbWU6

DEBUG SMTP SENT: YWRtaW5AaW5mdXplbW9iaWxlLmNvbQ==
DEBUG SMTP RCVD: 334 UGFzc3dvcmQ6

DEBUG SMTP SENT: aW5mdXplMQ==
DEBUG SMTP RCVD: 235 Authentication succeeded.

DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:<admin@infuzee.com>
DEBUG SMTP RCVD: 250 Sender accepted.

DEBUG SMTP SENT: RCPT TO:<manvo@gmail.com>
DEBUG SMTP RCVD: 250 Recipient accepted.

Verified Addresses
  manvo@gmail.com
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 End your message with a period.

DEBUG SMTP SENT:
.
DEBUG SMTP RCVD: 250 Accepted message qp 1707 bytes 447

DEBUG SMTP SENT: QUIT
2011-12-03 00:53:47,634[main]DEBUG EmailerTest -Email via go daddy sent

[pb_builder]

Check Also

How to progamatically get the Java version?

Snippet The key here is to use the system property java.version and get minor and …

Advertisment ad adsense adlogger