mailto: string with attachment

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 21 12:10:29 EST 2020


Thank you! I needed this 3 years ago! My app sends emails detailing the service events for the day, but I have to send it as text and format it using a sans serif font to get text columns to line up. If I can create a small PDF and send that, it will be revolutionary! 

Also when I cannot print at a customer site, due to security or software controlling access to copiers, the alternative would be to email the customer the forms and have them sign them digitally and email them back to me. 

This can dramatically increase the usefulness of my app. 

Bob S


> On Jan 18, 2020, at 07:25 , Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Are you sure, that mailto: supports attachments at all?
> 
> At least under Windows this is not possible. And i think on Mac OS it´s also not supported.
> I suspect you have to go the AppleScript way.
> 
> http://hints.macworld.com/article.php?story=20031114170053338
> 
> 
> 
> 
> 
> Von meinem iPad gesendet
> 
>> Am 18.01.2020 um 14:49 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> Hi all,
>> 
>> did someone successfully create a "mailto:" string 
>> with attachment on a Mac? And did it work when using:
>> ...
>> launch url (the_mailto_string)
>> ...
>> 
>> If yes, what is the exact syntax?
>> 
>> I tried gazillion variations of the basic string:
>> mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz
>> mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz
>> etc... no dice...
>> 
>> But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons?
>> 
>> Thanks in advance for any hints!
>> 
>> 
>> Best
>> 
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> klaus at major-k.de


More information about the use-livecode mailing list