0

When I use the following script --openURL("mailto:" + TO + "?" + "cc=" + CC + "&" + "bcc=" + BCC + "&subject=" + SUBJECT + "&" + "body=" + BODY), my default email opens, but the TO is made up of all the content, and not in CC, Subject and Body. Please help

When I use the following script --openURL("mailto:" + TO + "?" + "cc=" + CC + "&" + "bcc=" + BCC + "&subject=" + SUBJECT + "&" + "body=" + BODY), my default email opens, but the TO is made up of all the content, and not in CC, Subject and Body. Please help

3 replies

null
    • Experts Gate Documents Clearing Services
    • Walid_Negm
    • 3 yrs agoSun, July 25, 2021 at 8:58 AM UTC
    • Reported - view

    same problem but no help

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs agoSun, July 25, 2021 at 9:57 AM UTC
    • Reported - view

    This only works in the App on Mac and Ipad, not in a browser.

    Maybe that's the problem? Or the url contains a fault (spaces or something else)?

    Maybe this also works : https://ninox.com/en/forum/ideas-and-suggestions-5abb9f4f45eda7ea1e75ed02/how-can-you-call-an-apple-shortcut-from-the-ninox-ipad-app-found-the-answer-5ff04b564f0ad7068b0dc4f2

    Steven

    • Lion
    • 3 yrs agoTue, September 7, 2021 at 4:32 PM UTC
    • Reported - view

    For me this line works in Firefox on Windows:

    openURL("mailto:" + join(mAn, ";") + "?cc=" + join(mCC, ";") + "&subject=" + urlEncode(mBetreff) + "&body=" + urlEncode(mText))

    only annoying thing is, it also opens a blank browser tab.