How to View a Gmail Message's Source Code

Servers employ metadata in email messages to ensure that the message reaches the intended recipient. To find the beginning of the real message, utilize the browser's search function. The message should start with an HTML element because it is HTML. Ctrl+F will start a search. Then, s


The source code of the gmail shows the email header information and often the HTML code that governs how the content is displayed. This gives you access to information such as the time the message was received, the server that transmitted it, and much more.

Open the message whose source code you want to see.

Find the subject, sender information, and timestamp at the top of the email. The Reply icon and the three stacked dots for the menu are next to it. To access the other choices, select the three stacked dots icon.

The More menu in Gmail is highlighted.
From that menu, choose Show original to open a new tab with the email's source code.

The Show Original command is highlighted in the Gmail More menu.
In a new tab, the message's original source code appears. At the top, you'll find important information about the message and how it was delivered. The plain content that was transmitted between email servers is seen below.

Gmail's original message pane
Servers employ metadata in email messages to ensure that the message reaches the intended recipient. To find the beginning of the real message, utilize the browser's search function. The message should start with an HTML element because it is HTML. Ctrl+F will start a search. Then, search for DOCTYPE to go to the beginning of the message content.

Gmail as an example of the original source
To download the original message as a TXT file, select Download Original. Or, select Copy to clipboard to copy all the text so that you can paste it anywhere you like.

The message source in Gmail with the Download Original and Copy to Clipboard options highlighted
You can view the full source code of an email only while using the desktop version of Gmail or Inbox. The mobile Gmail app does not support viewing the original message.


auspiciouszesty fauly

2 Blog posts

Comments