As everyone know that TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are internet protocols which are used for communication through internet. The communication takes places through TCP and UDP using packets. In this paper, the authors purpose to analysis packets of TCP and UDP while sending an e-mail using a tool called wireshark. Wireshark is a free and open-source packet analyzer. To inspect the packets of TCP and UDP they are using different parameters are frame no. On wire, frame length, IP source, IP destination, header length of the packets and also window size value etc.