mailto: string with attachment

JJS jjs at krutt.org
Sat Jan 18 12:01:28 EST 2020


almost, it fires up my email client (on windows)

but no attachment yet in the email


on mouseUp pMouseButton
    put 
"mailto:me at example.com?subject=hallo&body=blabla&attachment=url&quote&file:/Users/Jerry/Documents/anicedocument.pdf&quote" 
into tT
    launch url tT
          end mouseUp

Op 18-1-2020 om 14:49 schreef Klaus major-k via use-livecode:
> 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