# 密码重置邮件是“非交易型”吗？

**URL:** <https://meta.discourse.org/t/are-password-reset-emails-non-transactional/56569>\
**Category:** Support\
**Created:** [2017 年1 月 30 日 04:43 UTC](https://meta.discourse.org/t/are-password-reset-emails-non-transactional/56569 "2017-01-30T04:43:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![chrisgalpin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisgalpin/32/212290_2.png) [@chrisgalpin](https://meta.discourse.org/u/chrisgalpin)\
发布日期： [2017 年1 月 30 日 07:25 UTC](https://meta.discourse.org/t/are-password-reset-emails-non-transactional/56569/5 "2017-01-30T07:25:57Z")

</div>

According to [Remove List-Unsubscribe Header](https://support.sparkpost.com/customer/portal/articles/2458291):

> The SparkPost API Transmissions endpoint allows you to mark an email as transactional with the attribute options.transactional.

[Here it is in their Transmissions API Reference.](https://developers.sparkpost.com/api/transmissions.html#header-options-attributes) Obviously this is SparkPost’s API, I’m not sure how the field appears on the actual outgoing email header.

* * *

Okay so I checked their template editor and you can send test emails marked as both Transactional or not. So I sent myself one of each. Compared the headers in Beyond Compare.

Only real differences are in _DKIM-Signature_, _X-MSFBL_, and _List-Unsubscribe_. ([This](https://support.sparkpost.com/customer/portal/articles/2164371-what-are-the-differences-between-cc-bcc-and-archive-recipients-) points out that the List-Unsubscribe value is a part of the DKIM-Signature, so that explains that.)

After poking around a bit I found an online (because lazy) [Base64 decoder that was robust enough](http://www.utilities-online.info/base64/) to let me view X-_MSFBL_ and _List-Unsubscribe_.

X-MSFBL contains the following fields: `b, customer_id, friendly_from, g, ip_pool, ip_pool_raw, message_id, r, rcpt_meta, rcpt_tags, sending_ip, subaccount_id, template_id, template_version, tenant_id, transmission_id`

List-Unsubscribe contains the following fields: `customer_id, friendly_from, ip_pool, ip_pool_raw, mailfrom, message_id, rcpt_meta, rcpt_tags, rcpt_to, sending_ip, subaccount_id, template_id, template_version, tenant_id, transmission_id`

Same fields have the same values between them.

Anyway the important bit, I compared both X-MSFBL and List-Unsubcribe between the transactional and non-transactional emails and found… ! Essentially nothing. The only differences are sending IPs (meaningless) `message_id` and `transmission_id`. (Oh and `template_version`… it has the name of my test template from SparkPost dashboard and version 1 happens to be transactional, version 2 non-transactional, so that bit was accurately reflected.)

The beginning of X-MSFBL and List-Unsubscribe had some short data I couldn’t base64 decode… so that’s an unknown.

But basically looks like there isn’t any sort of obvious marker in the email header itself that could maybe be used to signal SparkPost. Bummer. 😢 Obviously their API just does what was specified and has no reason to put anything in there since that would be after-the-fact… I think… brain hurting.

---

_[View the full topic](https://meta.discourse.org/t/are-password-reset-emails-non-transactional/56569)._
