Re: Sending an email with a file attachment

2012-09-14 Thread Richard Gaskin
Peter Haworth wrote: I'm beginning to think Matthias' idea of putting the environment data on the clipboard and asking the user to paste it into the email client of his/her choice may be the easiest and safest way to do this. Maybe I'm coming in late to this thread, but if the body of the

Re: Sending an email with a file attachment

2012-09-14 Thread Warren Samples
On 09/14/2012 08:13 AM, Richard Gaskin wrote: Peter Haworth wrote: I'm beginning to think Matthias' idea of putting the environment data on the clipboard and asking the user to paste it into the email client of his/her choice may be the easiest and safest way to do this. Maybe I'm

Re: Sending an email with a file attachment

2012-09-14 Thread Richard Gaskin
Warren Samples wrote: On 09/14/2012 08:13 AM, Richard Gaskin wrote: Maybe I'm coming in late to this thread, but if the body of the email is less than 1k have you considered just sending it along as a param in the url?: on mouseUp put someone at somewhere.com into tAddress put Hello!

Re: Sending an email with a file attachment

2012-09-14 Thread Peter Haworth
Thanks Richard, I will give that a try. Thanks also to Warren for pointing out the potential problems. Probably a CGI script (as mentioned in a later email from Richard) would be the safest way to go but I'd be starting from ground zero on how to do that. Am I the only one that feels like I

Re: Sending an email with a file attachment

2012-09-14 Thread Bob Sneidar
No you are not the only one. But I have decided some time ago that the reason for this is that our original estimate of what it takes to accomplish a task is largely an illusion, due to our ability to imagine. What it actually took to accomplish any given task is what it is when we look back in

Re: Sending an email with a file attachment

2012-09-14 Thread Richard Gaskin
Peter Haworth wrote: Am I the only one that feels like I spend an inordinate amount of time figuring out solutions to problems that have nothing to do with the basic functionality of whatever product I'm working on!?!?! That question came up just last night at a programmer meetup. Everyone

Re: Sending an email with a file attachment

2012-09-14 Thread Peter Haworth
I wasn't blaming the tools by any means. I guess eventually, you build up a library of infrastructure tools (license checking, delivery mechanisms, bug reporting, etc) just as you do with code libraries so it becomes less of a headache. I'll freely admit I'm my own worst enemy in this because I

Re: Sending an email with a file attachment

2012-09-14 Thread Peter M. Brigham
On Sep 14, 2012, at 12:53 PM, Peter Haworth wrote: I'll freely admit I'm my own worst enemy in this because I invariably leave these things to the last minute in favour of concentrating on functionality and UI. The first 90% of the task takes 90% of the time, and the last 10% takes the

Re: Sending an email with a file attachment

2012-09-14 Thread Bob Sneidar
I like that! On Sep 14, 2012, at 10:28 AM, Peter M. Brigham wrote: On Sep 14, 2012, at 12:53 PM, Peter Haworth wrote: I'll freely admit I'm my own worst enemy in this because I invariably leave these things to the last minute in favour of concentrating on functionality and UI. The

Re: Sending an email with a file attachment

2012-09-14 Thread Mark Wieder
Peter Haworth pete@... writes: Am I the only one that feels like I spend an inordinate amount of time figuring out solutions to problems that have nothing to do with the basic functionality of whatever product I'm working on!?!?! ...and that's what frameworks and object factories are for. --

Re: Sending an email with a file attachment

2012-09-14 Thread Richard Gaskin
Mark Wieder wrote: Peter Haworth pete at ... writes: Am I the only one that feels like I spend an inordinate amount of time figuring out solutions to problems that have nothing to do with the basic functionality of whatever product I'm working on!?!?! ...and that's what frameworks and object

Re: Sending an email with a file attachment

2012-09-14 Thread Peter Haworth
Yes, but I'm thinking more of things like: - setting up a web site - making non-zip files downloadable - enabling some sort of demo/licensing scheme that's not subject to hacking within 5 minutes - setting up a method of reporting bugs - code signing Mac apps - making a .dmg file for Macs -

Sending an email with a file attachment

2012-09-13 Thread Peter Haworth
I notice that revMail does not have a way to attach a file to the email it creates. Is there perhaps a plugin or library that will provide that functionality? Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list

Re: Sending an email with a file attachment

2012-09-13 Thread Matthias Rebbe
Peter, Sarah ReicheltĀ“s smtp library can help. http://www.troz.net/rev/index.irev?category=Library#stacks Regards, -- Matthias Rebbe matthias (at) rebbe.tk Tel: +49.5741.31 -- Life is too short for boring code Am 13.09.2012 um 21:44 schrieb Peter Haworth p...@lcsql.com: I notice

Re: Sending an email with a file attachment

2012-09-13 Thread Peter Haworth
Thanks Matthias, I'll take a look. Pete lcSQL Software http://www.lcsql.com On Thu, Sep 13, 2012 at 1:07 PM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Peter, Sarah ReicheltĀ“s smtp library can help. http://www.troz.net/rev/index.irev?category=Library#stacks Regards, --

Re: Sending an email with a file attachment

2012-09-13 Thread Peter Haworth
Looks like that won't help. The purpose for this is for a user of my software to send an email to support and to automatically attach a file to the email that contains information about the user's environment. Sarah's stack requires the name of the SMTP server and since that will be different on

Re: Sending an email with a file attachment

2012-09-13 Thread Matthias Rebbe
Peter, you could try to use the smtp server which is responsible for your emailaddress. Your server normally will accept emails for your emailaddress. I write normally, because there are cases where this will not work. For example if your smtp server uses reverse dns to check the sender.

Re: Sending an email with a file attachment

2012-09-13 Thread Matthias Rebbe
Am 14.09.2012 um 00:14 schrieb Matthias Rebbe matthias_livecode_150...@m-r-d.de: Your server normally will accept emails for your emailaddress. Of course your server accept email to your address. It was meant to be Your server normally will accept emails to your address without

Re: Sending an email with a file attachment

2012-09-13 Thread Warren Samples
On 09/13/2012 04:21 PM, Peter Haworth wrote: The purpose for this is for a user of my software to send an email to support and to automatically attach a file to the email that contains information about the user's environment. Sarah's stack requires the name of the SMTP server and since that

Re: Sending an email with a file attachment

2012-09-13 Thread Bob Sneidar
Can you use On-Rev for mail sending? On Sep 13, 2012, at 3:38 PM, Warren Samples wrote: On 09/13/2012 04:21 PM, Peter Haworth wrote: The purpose for this is for a user of my software to send an email to support and to automatically attach a file to the email that contains information about

Re: Sending an email with a file attachment

2012-09-13 Thread Peter Haworth
All good ideas. Also, I'm not sending emails invisibly. The option to email support gathers all the environment info and supplies it to revMail as the message with a few blank lines at the top for the user to give details of the problem. Pete lcSQL Software http://www.lcsql.com On Thu, Sep

Re: Sending an email with a file attachment

2012-09-13 Thread Peter Haworth
Thanks Warren. I'm beginning to think Matthias' idea of putting the environment data on the clipboard and asking the user to paste it into the email client of his/her choice may be the easiest and safest way to do this. Pete lcSQL Software http://www.lcsql.com On Thu, Sep 13, 2012 at 3:38 PM,