Re: tSettings["username"]

2016-09-18 Thread Dave Kilroy
Charles, Matthias Thank you so much for adding more and more to this example stack!!! I can now send super-duper emails from the app :) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Wouldn´t a Content-Type: application/octet-stream cover all files? At least using octet-stream we have not to fiddle around with setting the content-type according to the file extension. And most OSes detect the file type of a file by its extension, don´t they? Regards, Matthias > Am

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Not sure why that line of code came out looking like that, it was meant to be: put "Content-Type: application/pdf;" & cr after tPostData ... and for those that don't require MIME type detection for the client at the other end, another way to handle this would be to just change it to: put

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Matthias, The roll is finished for the day ;-) However, adding multiple attachments simply means changing the "if" statement on line 110 of the button "Send Email" script to a for loop, and sending an array of files/file contents to the createSmtpMessage function instead. Feel free to have

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Hi Charles, if you are still on the roll, the only thing that is now still missing is the handling of multiple attachments. ;) Regards, Matthias > Am 17.09.2016 um 10:43 schrieb Matthias Rebbe > : > > Keep rolling, Charles, keep rolling! ;) > > >> Am

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Keep rolling, Charles, keep rolling! ;) > Am 17.09.2016 um 10:29 schrieb Charles Warwick >: > > Since I was on a roll, I decided to add HTML support to it as well. > > Updated version now available at the same URL. > > >

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
Since I was on a roll, I decided to add HTML support to it as well. Updated version now available at the same URL. On 17/09/2016 6:10 PM, Matthias Rebbe wrote: Hi Charles, Am 17.09.2016 um 09:52 schrieb Charles Warwick : The tsNetSmtp* functions can take

Re: tSettings["username"]

2016-09-17 Thread Matthias Rebbe
Hi Charles, > Am 17.09.2016 um 09:52 schrieb Charles Warwick > : > > The tsNetSmtp* functions can take multiple e-mail addresses in a single call, > just ensure the tRecipient variable has one address per line. > Oh, thats brilliant. Much easier than doing a

Re: tSettings["username"]

2016-09-17 Thread Charles Warwick
The tsNetSmtp* functions can take multiple e-mail addresses in a single call, just ensure the tRecipient variable has one address per line. As Matthias said, you also need to add the To: and Cc: headers accordingly. I have updated the LCMail.livecode stack to show an example:

Re: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
It´s late and i should go to sleep… After rereading i found an error in the if statement of the scripts. Here are the correct ones. then for the To recipients you would write: repeat for each line tRecipient in fld “To” if tRecipient is empty then next repeat put tsNetSmtpSync(tURL, tSender,

Re: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
Just noticed that my email client added also mailto:links for the email addresses. I will try to resend. Please excuse. Matthias Rebbe Bramkampsieke 13 32312 Lübbecke Tel +49 5741 31 +49 160 5504462 Fax: +49 5741 310002 eMail: matth...@m-r-d.de BR5

Re: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
2nd try. > Am 16.09.2016 um 22:29 schrieb Mark Clark >: > > Thanks for all the help so far. I forgot to ask -- what is the best way to > add multiple recipients, BCC, etc? > ___ > use-livecode mailing

Re: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
> Am 16.09.2016 um 22:29 schrieb Mark Clark >: > > Thanks for all the help so far. I forgot to ask -- what is the best way to > add multiple recipients, BCC, etc? > ___ > use-livecode mailing list >

Re: tSettings["username"]

2016-09-16 Thread Dave Kilroy
Yep a v good question I looked at Sarah Reichelt's smtp library (https://github.com/trozware/rev_stacks ) to see how she did multiple recipients, but how she handles multiple recipients doesn’t help with tsNet… AND I have another question - which is:

Re: tSettings["username"]

2016-09-16 Thread Skip Kimpel
Great question... Awaiting responses... SKIP > On Sep 16, 2016, at 3:29 PM, Mark Clark wrote: > > Thanks for all the help so far. I forgot to ask -- what is the best way to > add multiple recipients, BCC, etc? > ___ > use-livecode

tSettings["username"]

2016-09-16 Thread Mark Clark
Thanks for all the help so far. I forgot to ask -- what is the best way to add multiple recipients, BCC, etc? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription