radhardened ([personal profile] radhardened) wrote 2020-07-29 04:52 pm (UTC)

Re: embeds

This has not been easy for me to figure out! I've gotten as far as identifying the following information that I reported to IFTTT (they don't claim that they respond to all reports, though):
Due to a disconnection from Gmail, my applet with connection ID 73009898 stopped working around July 9 or 10. When I got Gmail reconnected to IFTTT around July 20, the content of the messages sent via that applet changed. Specifically, the message body used to be enclosed between

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body>

and

</body></html>

tags but is no longer surrounded by them.

This change seems to have broken the email's ability to post-by-email to Dreamwidth, whose API does not seem to have changed.

I tried re-adding the original HTML tags to the Body part of the applet, but when I do so and save my changes, the Body content reverts to the version without those tags.

So my question is, why have those "wrapper" HTML tags disappeared from the body of the email that gets sent? Why are my attempts to add them back in failing (without any error messages), and is there a way to restore them?


If it's clarifying, the applet in question is triggered by my posting a public photo on my Flickr photostream, and it takes the action of sending an email to the address used to post to my Dreamwidth by email. It has been triggered consistently when my IFTTT account is "connected" to gmail. The only thing I can find that has changed is the content of that email.

An example of the body of one of those emails that "worked" (as far as Dreamwidth seeing and posting it how I want, with the photo):


----==_mimepart_5f071ab879aab_3f2affe3f65c302206c
Message-ID: <temp@test>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



from Flickr https://flic.kr/p/2jjBYgh via IFTTT

----==_mimepart_5f071ab879aab_3f2affe3f65c302206c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body>
<img src="https://live.staticflickr.com/65535/50093829486_0e891a1804_b.jpg"><br>
<br>
<span style="font-size: small; font-style: italic">from Flickr https://flic.kr/p/2jjBYgh via <a href="https://ifttt.com/?ref=da&site=gmail">IFTTT</a></span>
</body></html>

----==_mimepart_5f071ab879aab_3f2affe3f65c302206c
Content-Type: image/jpeg; charset=UTF-8; filename=50093829486_0e891a1804_b.jpg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=50093829486_0e891a1804_b.jpg
Content-ID: <5f071ab87ce14_3f2affe3f65c3022144@mini-queue.sidekiq.ife.mail>


----==_mimepart_5f071ab879aab_3f2affe3f65c302206c--


And here's an example of the body of the emails it currently sends, which don't work:

----==_mimepart_5f207b9d61f3d_402aaf126189601923e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



from Flickr https://flic.kr/p/2jqMXma via IFTTT

----==_mimepart_5f207b9d61f3d_402aaf126189601923e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<img src="https://live.staticflickr.com/65535/50163676501_a32221b611_b.jpg"><br>
<br>
<span style="font-style: italic;font-size: small;">from Flickr https://flic.kr/p/2jqMXma via <a href="https://ifttt.com/?ref=da&site=gmail">IFTTT</a></span>

----==_mimepart_5f207b9d61f3d_402aaf126189601923e
Content-Type: image/jpeg; charset=UTF-8; filename=50163676501_a32221b611_b.jpg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=50163676501_a32221b611_b.jpg
Content-ID: <5f207b9d64805_402aaf12618960193ed@mini-queue.sidekiq.ife.mail>


----==_mimepart_5f207b9d61f3d_402aaf126189601923e--

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting