# Discourse SMTP "X-MSYS-API 'campaign\_id' is limited to 64 bytes"

**URL:** <https://meta.discourse.org/t/discourse-smtp-x-msys-api-campaign-id-is-limited-to-64-bytes/51550>\
**Category:** Product Support\
**Created:** [October 14, 2016, 2:26pm UTC](https://meta.discourse.org/t/discourse-smtp-x-msys-api-campaign-id-is-limited-to-64-bytes/51550 "2016-10-14T14:26:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [October 15, 2016, 4:56am UTC](https://meta.discourse.org/t/discourse-smtp-x-msys-api-campaign-id-is-limited-to-64-bytes/51550/5 "2016-10-15T04:56:02Z")

</div>

Support for this header was added in [this commit](https://github.com/discourse/discourse/commit/34af73c7cb6d6cd516f004f1e0e9e547d45d645c), and its use of the `X-MSYS-API` header is definitely broken according to [the SparkPost docs](https://developers.sparkpost.com/api/smtp-api.html). I’m thinking the code that sets that header just needs to be nuked from orbit. Any disagreements?

---

_[View the full topic](https://meta.discourse.org/t/discourse-smtp-x-msys-api-campaign-id-is-limited-to-64-bytes/51550)._
