*
The moose likes Sockets and Internet Protocols and the fly likes A curiosity: tool to watch the SMTP communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "A curiosity: tool to watch the SMTP communication" Watch "A curiosity: tool to watch the SMTP communication" New topic
Author

A curiosity: tool to watch the SMTP communication

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 410
    
    3
Hi,

1. Tcpmon help us to watch the HTTP communication.
Is there a similar tool to watch the SMTP communication when we send an email? (A curiosity.)

2. I used Apache Common Email to send an email. I noticed when I used a given specific public wifi. It failed. Is this a network issue (security, permission, etc...)
For other public wifi. It's OK.

1M Thanks.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

With a tool such as WireShark you can view any internet communication.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 410
    
    3
1. Wireshark downloaded, installed and saw many traffic/protocol. Still have to learn to use the tool to isolate and watch for mail related protocol.

2. In waiting, when I connected to attwifi, for example, the following command is OK (saw from other forum's threads)
>telnet smtp.googlemail.com 465

BUT when I connected to the troubled wifi, I got

>telnet smtp.googlemail.com 465
Connecting To smtp.googlemail.com...Could not open connection to the host, on port 465: Connect failed

(I still connected to Internet with no issue. )

Is the problem comes from the troubled wifi?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A curiosity: tool to watch the SMTP communication