Version 1.2 of the mail stack
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Tue Mar 2 17:23:22 EST 2021
it seems tsNet is missing in your installation of Livecode Server.
Please create a folder externals in the folder where livecode server is installed.
Then copy the tsNet external from you Livecode Desktop installation into the newly created externals folder.
That should do.
Regards,
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 02.03.2021 um 23:10 schrieb Rick Harrison via use-livecode <use-livecode at lists.runrev.com>:
>
> 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 <use-livecode at lists.runrev.com> 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 <use-livecode at 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 at lists.runrev.com> wrote:
>>>>
>>>> mimeEncodeFieldAsMIMEMultipartDocument
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> 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