locked
Pre-populate Email from Outlook Client RRS feed

  • Question

  • I'm trying to open the pre-populate email form from outlook client, but it throw "Access Denied" messages. It worked for the web but not for the outlook client. I can use either window.open() or CRM function Mscrm.Shortcuts.openEmailForm().

    var $v_0 = new Sys.StringBuilder;
                    $v_0.append("mailto:" + CrmEncodeDecode.CrmUrlEncode(to));
                    $v_0.append("?Subject=CRM Access Request: " + CrmEncodeDecode.CrmUrlEncode(entityTitle));
                    $v_0.append("&body=" + systemUserFullName + " is requesting access to the following record in CRM: " + CrmEncodeDecode.CrmUrlEncode(body));
    window.open($v_0);
    *********OR*********
     Mscrm.Shortcuts.openEmailForm(to, 'CRM Access Request: ' + entityTitle, unescape($v_0.toString()));

    Any help?


    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, October 29, 2013 9:40 PM

Answers

  • I've found my own answer. The "to" filed can't be populated when send email from outlook.

    thanks


    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Marked as answer by Litonn Tuesday, October 29, 2013 10:47 PM
    Tuesday, October 29, 2013 10:42 PM