Checking email headers and Bcc

Verifying email headers is an important step in email testing. With Mailtrap, you can check the subject line, From, To, and even Bcc (which is not possible with the majority of other testing tools).

Another important step in testing your email is verifying email headers; at least the main ones. 

What you need to check:

  • Subject line.  View how it looks for the recipient. Especially if you used emojis, make sure that they are rendered as expected.
  • FROM (sender). Make sure of the correct sender's name and email address.
  • TO (recipients) - To and Cc. When you send multiple emails and/or use "merge" functions, you should carefully check whether recipients are generated correctly. 
  • Bcc - blind copy, which is not a header, making it especially difficult to test. With Mailtrap, you can check whether proper addresses are added (available starting from the Team plan).

You can perform all these checks in your Mailtrap inbox. Open the message, and check the Subject, From, and To headers first. Then click Show Headers or go to the Tech Info tab directly. There you will find the following information: 

  • Message-Id 
  • Message date and time
  • Reply-To
  • Bcc'ed email address(-es) (if there is no Bcc, then you will see the "There is no Bcc information in this email message" message)

SMTP Info section demonstrates the message details according to the SMTP protocol. Mailtrap analyzes SMTP commands of the message, compares message headers and recipients, and then prints out the difference to the Bcc field. To learn more about Bcc and how it works, read this post on our blog.

Please note that Mailtrap shows Bcc “as is’. It displays an email message for each DATA SMTP command. If an SMTP client fetches Bcc from the RCPT TO command, it will be displayed as one email message in the Mailtrap inbox. However, some clients send email messages to Bcc’ed addresses as separate RCPT TO and DATA commands that result in a separate/second email message in the Mialtrap inbox.

If you need detailed information about the message metadata, view the Raw tab. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us