Sending an email with a file attachment

Peter Haworth pete at lcsql.com
Thu Sep 13 19:12:25 EDT 2012


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, Warren Samples <warren at warrensweb.us>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 the user's environment.  Sarah's stack requires the name
>> of the SMTP server and since that will be different on each user's machine
>> and I don't know in advance what it is, her stack won't help me
>> unfortunately.
>>
>> Any other suggestions?  I can embed the information in the body of the
>> email instead of in an attachment so not hugely important. Or I could just
>> rewrite my app to run on iPhone/Android, then I could use the commands
>> provided by LC for those platforms:-)
>>
>> Pete
>> lcSQL Software<http://www.lcsql.com>
>>
>
>
> You can expect unexpected problems using either SMTP or using revMail.
> Port blocking may require the use of nonstandard ports for SMTP and not
> everyone will have a desktop email client set up.
>
> You could use an SMTP relay service and provide the address and
> credentials yourself. Some SMTP relay services allow you to use
> non-standard ports. Some of them are quite inexpensive for low volume use,
> so that could help cover some scenarios if you're really determined to use
> SMTP.
>
> The server side script solution is far less problematic. You could also
> look into a script that stores the info in a database and you collect it
> manually.
>
>
> Good Luck,
>
> Warren
>
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list