Email via IMAP with HTML body from a template

Charles Warwick charles at techstrategies.com.au
Thu Aug 11 01:45:09 EDT 2022


Hi Sean,

There is a sample stack on my website for sending an e-mail with an attachment using the MIME library here:

https://downloads.techstrategies.com.au/tsnet/smtpexample.livecode

Does that help at all,

Regards,

Charles

> On 11 Aug 2022, at 2:39 pm, Tom Glod via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Sean,
> 
> Try this ..
> 
> edit the script of stack "com.livecode.library.mime"
> 
> there seems to be some documentation there that may help.
> 
> I also found this
> 
> https://livecode.fandom.com/wiki/MimeEncodeAsMIMEMultipartDocument
> 
> Is that your comment? :)
> 
> Hope that helps a bit.
> 
> 
> 
>> On Wed, Aug 10, 2022 at 11:46 PM Sean Cole via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>> Hi all,
>> I'm struggling with this still. It's been years (since before Dec 2020) and
>> I just can't get my head around it.
>> I have a template created in Dreamweaver that is a simple bit of HTML body
>> with CSS styling embedded (https://pidigital.co.uk/DeepDiveReport.html).
>> There is also a pdf that needs to be attached.
>> How do I use MimeEncodeAsMIMEMultipartDocument to make it ready to send via
>> tsNetSmtpSync?
>> There are zero tutorials and the dictionary is devoid of any useful
>> information on how to use it. Google turned up nothing. In my previous
>> request back in 2020, Monte, the author of the MIME library, had only
>> referred me on to the RSC docs for MIME which is like looking for a straw
>> in a needle stack. When I asked at one of the 'Firesides' I was told just
>> to use a template and send it. But to send it, it needs to be encoded and
>> that's the bit that is undocumented anywhere.
>> Any help appreciated.
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list