Page MenuHomePhabricator

Moegirlpedia: Sparkpost send out random codes in mail
Open, Needs TriagePublic

Description

Sparkpost API method send out email with Content-Transfer-Encoding: quoted-printable format.

In some case, notification email contain multiple Content-Transfer-Encoding: header.

Usually their is a Content-Transfer-Encoding: 8Bit for mail title. Then followed by Content-Transfer-Encoding: quoted-printable (sometimes multiple encoding header) with mail contents. Where, character like =E8 would not be converted and become random code.

Such problem does not happen when mail send out by SMTP. We believe this is a bug in Sparkpost server, not in the Extension:Sparkpost. Support ticket was submitted. Wish Sparkpost could fix this error soon.

Event Timeline

Zoglun created this task.Feb 25 2019, 1:05 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 25 2019, 1:05 AM

@Zoglun, Maybe it will be a good idea to file this bug upstream? That is, on the Github repository of the Spark Post project here: https://github.com/SparkPost/php-sparkpost.

@Zoglun, Maybe it will be a good idea to file this bug upstream? That is, on the Github repository of the Spark Post project here: https://github.com/SparkPost/php-sparkpost.

Dear @D3r1ck01,

The Sparkpost engineer ask for JSON transmission. How can I generate a debug log, which include the JSON transmission that they need? Thank you!

support@sparkpost.com: To better assist you, can you send us an example of your JSON transmission? We suspect that the use of quoted-printable might be root cause of your problem. Please let us know. Thank you.

Dear @D3r1ck01,

Is there anyway to capture the email send request before the mail sent to Sparkpost?

Yes @Zoglun. This is possible, let me figure out how and let you know in next days. Thanks! I think I have an idea on how we can do it.

Upstream related I guess!