jpsember / golang-base

Jeff's basic Go library
0 stars 0 forks source link

Trouble sending html emails #91

Closed jpsember closed 11 months ago

jpsember commented 11 months ago

Maybe ask a question here:

https://help.zoho.com/portal/en/community/topic/send-email-api Screen Shot 2023-10-05 at 11 26 29 AM

jpsember commented 11 months ago

The mime type doesn't look right:

Message-Id: <18b0745aa80.e8828379912465.7280662730081342508@pawsforaid.org>
Subject: Reset Password Link
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_3407922_1378465257.1696634088064"
User-Agent: Zoho Mail
X-Mailer: Zoho Mail

------=_Part_3407922_1378465257.1696634088064
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

 Hello, Jeff! Click here to Reset password 
------=_Part_3407922_1378465257.1696634088064
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

Hello, Jeff!

Click here to <a href="jeff.org/resetpassword/NXDH>Reset password</a>

------=_Part_3407922_1378465257.1696634088064--
jpsember commented 11 months ago

Maybe I should assume that Zoho doesn't support this properly, or alternatively, that client email readers won't render it correctly.