Forum Discussion
Syndicate_Admin
3 years agoAdministrator
Help with this error. method 'SendEmailV2' has an invalid value for parameter 'To'
So i have a label which the email refers to but now for some reason it is throwing this error. Office365Outlook.SendEmailV2(Label4.Text,"A Learning request has been lodged") And in the label4, I have...
Syndicate_Admin
3 years agoAdministrator
Hi @Philmack ,
Please try this:
If(!IsBlank(DataCardValue3.Selected), Office365Outlook.SendEmailV2(Label4.Text,"A Learning request has been lodged") )
And in the label4, I have a series of nested ifs like this: If(DataCardValue3.Selected.Value = "Coaching Request", "[email protected]", "Training Request", "[email protected]", "General Request", "[email protected]")
Best Regards,
Wearsky