Avatar

Correct answer by
Level 10

Hi,

It looks like you might have a few syntax errors ... or is the forum mucking things up.  You don't want any semi-colons within the mailMsg() argument and you don't wont all those closing braces.  Something like;

    app.mailMsg({

          bUI: false,

          cTo: "",

          cCc: "includedaccounting@fheg.follett.com;",

          cSubject: "True up Complete" + " " + page1.storeInfo.arMajor.rawValue + " " + pages1_3.page1.storeInfo.storeNum.rawValue,

          cMsg: "Hello,"        

          + "The true up for this store has been completed. Please find the links to the checklist and reconciliation below.\n"

          + "Checklist: \n"

          + "Reconciliation: \n"

          + "Thank you, \n"

    });

Regards

Bruce

View solution in original post