mailto: string with attachment
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Sat Jan 18 10:25:47 EST 2020
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
More information about the use-livecode
mailing list