I suggest you ...

Include a way for developers to see BCC addresses for testing

SMTP servers forward mail on to BCC recipients while at the same time stripping that field. Because Mailtrap is serving as the SMTP server, it can record the original data in the BCC header.

The default Mailtrap view should continue to hide the BCC header to provide a Client-like view, but the BCC header should be made available in either the RAW view or another view "As Received".

119 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Nick Spacek shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

13 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • SA commented  ·   ·  Flag as inappropriate

    I agree! It is also useful to see the "SMTP envelope" that was used in transacting with the receiving SMTP server. For example, I can send an email where the email headers show "From: God <god@heaven.com>" and "To: Jesus <jesus@hotmail.com>" but during the SMTP transaction with your servers, the "MAIL FROM <devil@hell.com>" is the envelope from, and "RCPT TO <jesus@jesus.onmicrosoft.com>" is the envelope to. Would be nice to be able to see those somewhere as it's part of what I'm troubleshooting with my app!

  • AdminMailtrap (Mailtrap, Mailtrap) commented  ·   ·  Flag as inappropriate

    Thank you, everyone, for your requests and contributing to Mailtrap development process!
    We took each your suggestion into account, and the feature is planned for implementation pretty soon this year. We can't provide exact eta so far, but we'll make sure to notify you guys when this functionality is implemented.

  • bcc commented  ·   ·  Flag as inappropriate

    What is the status of this issue? I need to debug BCC somehow

  • Jack Ryon commented  ·   ·  Flag as inappropriate

    This would be extremely helpful if implemented. Please toss us a bone, Mailtrap!

  • Patrick Chokron commented  ·   ·  Flag as inappropriate

    I urge Mailtrap to reconsider this request. As a business customer that relies on Mailtrap to test transactional emails on a regular basis, I need a mechanism to verify that BCC email recipients are included on outgoing emails. This is an essential function that is, as the votes here indicate, also quite popular amongst your users.
    Technically, there is no reason it cannot be done, as clearly, your SMTP server must receive this information.

  • Minh commented  ·   ·  Flag as inappropriate

    Common, implement this feature will make mailtrap perfect in the mail testing service.

  • Brendan Asselstine commented  ·   ·  Flag as inappropriate

    Yes; I just encountered this deficiency. We are sending out an email to a group of people who should not see who else has received the email. It's difficult to confirm that the feature works without seeing it in MailTrap.

  • Alexander Lehmann commented  ·   ·  Flag as inappropriate

    I was thinking the same thing for the bounce address (MAIL FROM), which would be useful to display in some cases. Maybe it would be possible to collect additional data in addition to the mail text and display that along with the message (MAIL FROM, RCPT TO, maybe also the TLS cypher that was used and the client IP address)

  • Nick Spacek commented  ·   ·  Flag as inappropriate

    Looks like I got it a little bit wrong. Below is a good link on how SMTP servers work, but regardless of the mechanic it would be impossible for the SMTP server to send a message without being told where to send it, so Mailtrap's SMTP server has the BCC addresses somewhere.

    Quoted from another comment:
    According to this StackOverflow post: http://stackoverflow.com/questions/2750211/sending-bcc-emails-using-a-smtp-server, Mailtrap's SMTP server should be receiving a list of all of the destination addresses from the RCPT TO command. It seems like the BCC addresses could be determined by comparing the headers of the received message and the RCPT TO.

Feedback and Knowledge Base