Re: Version 1.2 of the mail stack
Hi Rick, Assuming you are using the code from the lesson, just add any Bcc e-mail addresses to the tRecipient variable before the call to tsNetSmtpSync. Since you don't include them in the variables passed to mimeEncodeAsMIMEEmail, the addresses won't be included in the e-mail headers. Regards, Charles > On 3 Mar 2021, at 12:44 pm, Rick Harrison via use-livecode > wrote: > > Hi Matthias, > > I got it to work! > > I just needed the statement: > > tsNetInit > > Now it works great! > > Is there anyway I can put in a BCC email address instead of CC? > > Thanks! > > Rick > >> On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode >> wrote: >> >> no, only the file which is suitable for the OS on which the Livecode Server >> is running. >> For Windows it would be one of the .dll files, for Linux one of the .so >> files. The file with the 64 in its filename is for the 64bit version of the >> os, the other one for the 32bit verision. >> >> So for macOS i would assume the tsNet.bundle. But there is also a >> tsNET.dylib file, which according to the suffix belongs also to macOS. >> I am not sure. Maybe you should copy both of them. >> >> But maybe someone could chime in about this. >> >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> Am 02.03.2021 um 23:54 schrieb Rick Harrison via use-livecode : >>> >>> Hi Matthias, >>> >>> What I’m seeing is: >>> >>> Applications >>> LiveCode (App) >>> (Right Click)Show Package Contents >>> Contents >>> Tools >>> Ext >>> tsNet_INDY_1.4.2 (Folder Full of tsNet stuff) >>> >>> Do I want the entire folder? >>> >>> Do I just want: >>> >>> tsNet.bundle >>> tsNet.dylib >>> tsnetliburl.livecodescript >>> >>> There’s a lot of items. >>> >>> Thanks, >>> >>> Rick >>> On Mar 2, 2021, at 5:23 PM, matthias rebbe via use-livecode wrote: 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, >>> >>> ___ >>> 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 > > > ___ > 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
Re: Version 1.2 of the mail stack
Hi Matthias, I got it to work! I just needed the statement: tsNetInit Now it works great! Is there anyway I can put in a BCC email address instead of CC? Thanks! Rick > On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode > wrote: > > no, only the file which is suitable for the OS on which the Livecode Server > is running. > For Windows it would be one of the .dll files, for Linux one of the .so > files. The file with the 64 in its filename is for the 64bit version of the > os, the other one for the 32bit verision. > > So for macOS i would assume the tsNet.bundle. But there is also a tsNET.dylib > file, which according to the suffix belongs also to macOS. > I am not sure. Maybe you should copy both of them. > > But maybe someone could chime in about this. > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 02.03.2021 um 23:54 schrieb Rick Harrison via use-livecode >> : >> >> Hi Matthias, >> >> What I’m seeing is: >> >> Applications >> LiveCode (App) >> (Right Click)Show Package Contents >> Contents >> Tools >> Ext >> tsNet_INDY_1.4.2 (Folder Full of tsNet stuff) >> >> Do I want the entire folder? >> >> Do I just want: >> >> tsNet.bundle >> tsNet.dylib >> tsnetliburl.livecodescript >> >> There’s a lot of items. >> >> Thanks, >> >> Rick >> >>> On Mar 2, 2021, at 5:23 PM, matthias rebbe via use-livecode >>> wrote: >>> >>> 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, >> >> ___ >> 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 ___ 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
Re: Version 1.2 of the mail stack
Hi Matthias, I put tsNet.dylib into the already existing externals folder that was inside of the CGI-Executables folder where the revdb.dylib and others reside as it seemed to be the logical choice. The error I was getting went away and the script completes, but no message gets sent out. I think we are close, but I must be missing some key ingredient somewhere. I’m thinking the tsNet.bundle file is just for building iOS Apps, because I can’t find .bundle files in the server anywhere. Thanks, Rick > On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode > wrote: > > no, only the file which is suitable for the OS on which the Livecode Server > is running. > For Windows it would be one of the .dll files, for Linux one of the .so > files. The file with the 64 in its filename is for the 64bit version of the > os, the other one for the 32bit verision. > > So for macOS i would assume the tsNet.bundle. But there is also a tsNET.dylib > file, which according to the suffix belongs also to macOS. > I am not sure. Maybe you should copy both of them. > > But maybe someone could chime in about this. > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code ___ 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
Re: Version 1.2 of the mail stack
no, only the file which is suitable for the OS on which the Livecode Server is running. For Windows it would be one of the .dll files, for Linux one of the .so files. The file with the 64 in its filename is for the 64bit version of the os, the other one for the 32bit verision. So for macOS i would assume the tsNet.bundle. But there is also a tsNET.dylib file, which according to the suffix belongs also to macOS. I am not sure. Maybe you should copy both of them. But maybe someone could chime in about this. - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.03.2021 um 23:54 schrieb Rick Harrison via use-livecode > : > > Hi Matthias, > > What I’m seeing is: > > Applications > LiveCode (App) > (Right Click)Show Package Contents > Contents > Tools > Ext > tsNet_INDY_1.4.2 (Folder Full of tsNet stuff) > > Do I want the entire folder? > > Do I just want: > > tsNet.bundle > tsNet.dylib > tsnetliburl.livecodescript > > There’s a lot of items. > > Thanks, > > Rick > >> On Mar 2, 2021, at 5:23 PM, matthias rebbe via use-livecode >> wrote: >> >> 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, > > ___ > 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
Re: Version 1.2 of the mail stack
Hi Matthias, What I’m seeing is: Applications LiveCode (App) (Right Click)Show Package Contents Contents Tools Ext tsNet_INDY_1.4.2 (Folder Full of tsNet stuff) Do I want the entire folder? Do I just want: tsNet.bundle tsNet.dylib tsnetliburl.livecodescript There’s a lot of items. Thanks, Rick > On Mar 2, 2021, at 5:23 PM, matthias rebbe via use-livecode > wrote: > > 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, ___ 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
Re: Version 1.2 of the mail stack
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 > : > > 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 >> 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 >>> : >>> >>> 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 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 > > ___ > 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
Re: Version 1.2 of the mail stack
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 > 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 >> : >> >> 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 >>> 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 ___ 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
Re: Version 1.2 of the mail stack
When i did test it some time ago, i've put it in the same folder where the livecode server script that used the library was located. - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.03.2021 um 21:05 schrieb Rick Harrison via use-livecode > : > > Hi Matthias, > > I managed to find mime.livecodescript. > > What folder do I need to put it into on my macOS Catalina LC Server? > > Thanks, > > Rick > >> On Mar 2, 2021, at 12:55 PM, matthias rebbe via use-livecode >> 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 >>> : >>> >>> 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 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 > > > ___ > 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
Re: Version 1.2 of the mail stack
Hi Matthias, I managed to find mime.livecodescript. What folder do I need to put it into on my macOS Catalina LC Server? Thanks, Rick > On Mar 2, 2021, at 12:55 PM, matthias rebbe via use-livecode > 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 >> : >> >> 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 >>> 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 ___ 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
Re: Version 1.2 of the mail stack
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 > : > > 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 >> 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
Re: Version 1.2 of the mail stack
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 > 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
Re: Version 1.2 of the mail stack
Hi Matthais, It’s been so long since I have used the project browser I forgot that one has to click on the number of lines of code to see the actual code. LOL Ok, so which one do I want? Rick ___ 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
Re: Version 1.2 of the mail stack
Hi Matthias, Sorry, but I have never needed to mess with libraries before this. Where do I get the complete Mime library script? I tried looking in the Project Browser for version 1.2 of the mail stack but all I could see was com.livecode.library.mime and tsNetLibUrl for choices. When I open either I get a blank window and when I try to look for script in the stack or card it shows me nothing. Is there a LiveCode lesson on this anywhere? Thanks, Rick > On Mar 1, 2021, at 7:09 PM, matthias rebbe via use-livecode > wrote: > > Hi Rick, > > if i recall it correctly i used the templatefield for that in LC server. > > So set the text of the templatefield and then use that in the > mimeEncodeFieldAsMIMEMultipartDocument. > > e.g. > put "test" into the templatefield > put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) > into tBody > > > LC Server does not include the Mime library, so you'll need to copy the > complete Mime library script to your web server and include it in your script. > > It's late here and i am off for some sleep now. So do not wonder when i reply > later. > > - > Matthias Rebbe > Life Is Too Short For Boring Code > ___ 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
Re: Version 1.2 of the mail stack
Hi Rick, if i recall it correctly i used the templatefield for that in LC server. So set the text of the templatefield and then use that in the mimeEncodeFieldAsMIMEMultipartDocument. e.g. put "test" into the templatefield put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) into tBody LC Server does not include the Mime library, so you'll need to copy the complete Mime library script to your web server and include it in your script. It's late here and i am off for some sleep now. So do not wonder when i reply later. - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.03.2021 um 00:33 schrieb Rick Harrison via use-livecode > : > > Hi Matthias, > > I tried it out and the stack works fine. > > Now I am in the process of trying to convert it > so I can use the process directly in my LC Server. > > Of course field values now become variable values. > > Everything seems fine except: > > put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field > "email_message") into tBody > > How do I get he long id of my VariableEmailMessage into tBody? > > Ideas? > > Rick > > >> On Mar 1, 2021, at 12:38 PM, matthias rebbe via use-livecode >> wrote: >> >> Rick, >> >> do you mean the stack lcMailAndFtp.livecode? >> >> The original stack was created by Charles Warwick, the developer of the >> tsNet externals. >> If i remember correctly, i added the FTP part or so and put that modified >> stack as lcMailAndFtp.livecode online. >> >> You could look here for a newer version (1.2) of Charles mail sample stack. >> https://www.techstrategies.com.au/tsnet-resources/ >> >> Although the version 1.2 of the mail stack is more current then the one from >> my site, it still is a little bit "outdated". >> There is a new command in LC available called mimeEncodeAsMIMEEmail which >> would make some of the code in the sample stack obsolete if it would be >> used. But the sample stack from Techstrategies should still work. >> > > ___ > 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
Version 1.2 of the mail stack
Hi Matthias, I tried it out and the stack works fine. Now I am in the process of trying to convert it so I can use the process directly in my LC Server. Of course field values now become variable values. Everything seems fine except: put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field "email_message") into tBody How do I get he long id of my VariableEmailMessage into tBody? Ideas? Rick > On Mar 1, 2021, at 12:38 PM, matthias rebbe via use-livecode > wrote: > > Rick, > > do you mean the stack lcMailAndFtp.livecode? > > The original stack was created by Charles Warwick, the developer of the tsNet > externals. > If i remember correctly, i added the FTP part or so and put that modified > stack as lcMailAndFtp.livecode online. > > You could look here for a newer version (1.2) of Charles mail sample stack. > https://www.techstrategies.com.au/tsnet-resources/ > > Although the version 1.2 of the mail stack is more current then the one from > my site, it still is a little bit "outdated". > There is a new command in LC available called mimeEncodeAsMIMEEmail which > would make some of the code in the sample stack obsolete if it would be used. > But the sample stack from Techstrategies should still work. > ___ 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