mailto: string with attachment

JJS jjs at krutt.org
Sat Jan 18 16:10:02 EST 2020


http://lessons.livecode.com/m/4071/l/13198-how-do-i-attach-a-file-to-an-e-mail


by the way there is an option for mobile, but since you don't have a 
mobile...

Groetjes

Op 18-1-2020 om 22:02 schreef JJS via use-livecode:
> I think Matthias is correct, i see several topics on the web that 
> using attachments is not possible with mailto:
>
> There is a little solution here: 
> https://stackoverflow.com/questions/1195111/c-sharp-mailto-with-attachment 
> but for windows using MAPI32.dll, so not for mac
>
> Op 18-1-2020 om 16:25 schreef Matthias Rebbe via use-livecode:
>> 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
>>>
>>>
>>> _______________________________________________
>>> 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
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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




More information about the use-livecode mailing list