Hi Matthias, I put mime.livecodescript into the folder with the script that call it.
I put in the start using “mime.livecodescript” statement. When I run the script, I now get: Function: error in function handler (tsNetSmtpSync) which is pointing to: put tsNetSmtpSync(tURL, tFrom, tRecipient, tEmailMessage, tResponseHeaders, tBytes, tSettings) into tResult I do not see this function in mime.livecodescript so where does tsNetSmtpSync hang out? Is that a part of " it was mandatory to run tsInit first in the Livecode Server script to initialize tsNET”? Where is that and how do I run it? Another start using command? Thanks, Rick > On Mar 2, 2021, at 12:55 PM, matthias rebbe via use-livecode > <firstname.lastname@example.org> wrote: > > I would copy the complete file mime.livecodescript to the server. > The file can be found in the Extensions folder either in the app bundle > (macOS) or the Livecode program folder under program files (Windows). > > In your script use 'start using...." to use the library > e.g. > start using "mime.livecodescript" > > put "test" into the templatefield > put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) > into tBody > > > > > Regarding tsNet: > I am at HostM and i am using LivecodeServer Business in my accounts. > HostM has LivecodeServer Community installed by default for every account. > But if a customer can proof the purchase/subscription of an Indy or Business > License, they even install the Indy or Business version of Livecode Server > for the that customer accounts. > > In the past it was mandatory to run tsInit first in the Livecode Server > script to initialize tsNET. > > > > Regards, > Matthias > > > > Matthias Rebbe > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 02.03.2021 um 17:56 schrieb Rick Harrison via use-livecode >> <email@example.com>: >> >> Hi Matthias, >> >> Ok, I only see mimeEncodeFieldAsMIMEMultipartDocument in >> com.livecode.library.mime and not in the TsNetLibUrl, so I >> guess that answers that question. >> >> If I’m incorrect somehow, please let me know. >> >> Thanks, >> >> Rick >> >>> On Mar 1, 2021, at 7:09 PM, matthias rebbe via use-livecode >>> <firstname.lastname@example.org> wrote: >>> >>> mimeEncodeFieldAsMIMEMultipartDocument >> >> _______________________________________________ >> use-livecode mailing list >> email@example.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 > firstname.lastname@example.org > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list email@example.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode