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 
> <use-livecode@lists.runrev.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 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> mimeEncodeFieldAsMIMEMultipartDocument
> 
> _______________________________________________
> 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


_______________________________________________
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

Reply via email to