Alternative for this please
Posted: Tue Feb 13, 2024 8:49 pm
Hi All
I am trying to send an email via tsNetSmtpSync
On older versions of Livecode this was working fine... but now it appears that I need to mimeEncode the body text of my email first before putting it into:
When I run a trial to convert the body text with the below it works fine
...however this relies on needing a field on the layout which contains the body text
... is there a way to achieve the same but without having a field on the layout? i.e. having the body text in a variable?
Any Help on this would be appreciated as I want to avoid the need for a field on the layout
Many Thanks
I am trying to send an email via tsNetSmtpSync
On older versions of Livecode this was working fine... but now it appears that I need to mimeEncode the body text of my email first before putting it into:
Code: Select all
put tsNetSmtpSync(tURL, t_from, tRecipient, tEmailMessage, tResponseHeaders, tBytes, tSettings) into tResult
When I run a trial to convert the body text with the below it works fine
Code: Select all
put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field "email_message") into tBody
...however this relies on needing a field on the layout which contains the body text
... is there a way to achieve the same but without having a field on the layout? i.e. having the body text in a variable?
Any Help on this would be appreciated as I want to avoid the need for a field on the layout
Many Thanks