Hi Matthias, Yes, I tried that first. After that didn’t work quite right, I tried Charle’s suggestion from a couple years ago:
If you want to create your own HTML and plain text versions of the e-mail body, you can still use that sample stack. Simply replace the following line: put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field "email_message") into tBody With something like this: put “Content-Type: text/plain; charset=UTF-8” & crlf into tHeadersPlain put “Content-Transfer-Encoding: quoted-printable” after tHeadersPlain put “<Plain Text Version Here>” into tBodyPlain put tHeadersPlain & crlf & crlf & \ mimeEncodeForMIMETransfer(tBodyPlain, “quoted-printable”) into tContent[1] put “Content-Type: text/html; charset=UTF-8” & crlf into tHeadersHTML put “Content-Transfer-Encoding: quoted-printable” after tHeadersHTML put “<HTML Version Here>” into tBodyHTML put tHeadersHTML & crlf & crlf & \ mimeEncodeForMIMETransfer(tBodyHTML, “quoted-printable”) into tContent[2] put mimeEncodeAsMIMEMultipartDocument(tContent, “alternative”) into tBody That seemed better as very basic links worked, but when I tried to use the anchor tag and also HTML buttons it failed to yield good results. Other ideas? Thanks, Rick > On Feb 26, 2023, at 1:42 PM, matthias rebbe via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Rick, > did you correctly setup the email for tsNET? > > There is a function mimeEncodeFieldAsMIMEMultipartDocument() > That functions creates multipart content from field text. this make sure that > the html and the plain text is correct display in the email. > > put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field > "YourMessageField") into tBody > > After that you have to use mimeEncodeAsMIMEEmail to complete the "setup" of > the complete raw email text. > > Regards, > > Matthias _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode