Re: tsNet Qs

2016-09-17 Thread Charles Warwick
Colin, Is that . at the end of office365.com part of the address it is trying to connect to? If so, that would cause an issue. If not, if you try and ping office365.com from a command prompt on the Windows 10 machine, does it resolve the name to an IP address? Regards, Charles On 16/09/

Re: tsNet Qs

2016-09-16 Thread Dave Kilroy
It works like a dream! Thank you all, this thread has been really helpful to me - I now know so much more about emails than I did before (which wasn’t hard considering what I knew before) Kind regards Dave > Hi Dave, > > Yes, you can include attachments in an e-mail. > > The pData parame

Re: tsNet Qs

2016-09-16 Thread Colin.Kelly
Hi, The stack works fine on my mac but on Windows 10 I get the Error: “Error tsnetterr (6) could not resolve host: office365.com. returned from server” Any ideas? On 16/09/2016, 12:41, "use-livecode on behalf of Matthias Rebbe" wrote: Hi, i have now

Re: tsNet Qs

2016-09-16 Thread Skip Kimpel
Can't wait to check it out.. Thank you! > On Sep 16, 2016, at 6:41 AM, Matthias Rebbe > wrote: > > Hi, > > i have now upgraded my demo stack with Charles corrections and additions. > The stack includes smtp and ftp samples. > https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html >

Re: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Hi, i have now upgraded my demo stack with Charles corrections and additions. The stack includes smtp and ftp samples. https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html @Charles If you want, you can use that stack for further modifications

Re: tsNet Qs

2016-09-16 Thread Skip Kimpel
Thank you so much for working on additional samples. These are critical features many of us have wanted for a long time. I was excited the other day when it was announced, immediately launched LC to "play" only to realize I didn't know enough, didn't have enough documentation and had no exampl

Re: tsNet Qs

2016-09-16 Thread Charles Warwick
Hi Dave, Yes, you can include attachments in an e-mail. The pData parameter to the tsNetSmtp* commands is the raw e-mail message that you wish to send, complete with e-mail headers. So to send an attachment, you need to build the e-mail as a multi-part MIME message. I have just updated the

Re: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Dave, as far is i know even with tsNet you have to base64encode the attachments and include them into the message body. At http://lessons.livecode.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts

Re: tsNet Qs

2016-09-16 Thread Dave Kilroy
Thanks for your help with this Charles and others Yesterday I got the same advice from HostM about using TLS - "smtp://domain:port” and not "scheme://host:port/path: as it is in the dictionary I’m so impressed with your external, it’s so fast and even fussy domains such as nhs.net email accou

Re: tsNet Qs

2016-09-16 Thread Charles Warwick
Hi Matthias, I agree, it really needs a lot more documentation and examples. That is something I am working on. Feel free to send me any suggestions or feedback on the existing scripts and documentation, it is more than welcome! Regards, Charles On 16/09/2016 7:53 PM, Matthias Rebbe wrot

Re: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Hi Charles, thanks you very much for clarifying. I will adjust my demo stack at my Dropbox also asap. But there you can see: Your external is so powerful, but w/o useful sample scripts it´s very difficult to learn how to use the tsNet commands/functions directly. Regards, Matthias > Am 1

Re: tsNet Qs

2016-09-16 Thread Charles Warwick
Hi Matthias, On 16/09/2016 8:46 AM, Matthias Rebbe wrote: And here´s a simple script put TRUE into pSettings["use_ssl"] -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- That is not quite correct. Secure SMTP comes in two flavours, SSL and TLS. If you are using SMT

Re: tsNet Qs

2016-09-15 Thread Matthias Rebbe
And here´s a simple script on mouseup /* pFrom is the sender email pTo is the recipient email pSubject is the subject pMessage is the message text pUsername is the username for logging into email account pPassword is the password for logging into email account pServer is the server URL in

Re: tsNet Qs

2016-09-15 Thread Matthias Rebbe
Hi Mark, i just tried it with the stack from Neil Roger which is available here http://techsupport.on-rev.com/LCMail.zip or an extended version, which includes also some FTP examples,here https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html