Trying to CC an email submission to the 'requestor' of the application and i've tried a couple different things that are not working to capture the user email.
Using
Office365Users.MyProfile().Mail
and setting a variable on either 'StartScreen' or 'OnStart' with:
Set(user_email,Office365Users.MyProfile().Mail)
{IsHtml:true,Importance: "high", CC:user_email}
calling that variable as a CC target for the email code. I cannot for the life of me get it to send the email to the CC user_email variable. I know the variable is working because I set a textbox on the page to view the variable and it's capturing it just fine.
How can I use that populated variable when CCing someone using the SendEmail functions?
If there is a better way to call or grab the users email and use it as a CC target, i'm all ears!
Thanks!

Report
All responses (
Answers (