Hi Group ,
I am using below statement to get the email ID of the Manager and send a email .. Seems i'm not doing it correctly ..
It's giving an error saying "The Function "SendEmail" has Invalid argument
Office365Outlook.SendEmail(
LookUp(Employee,EmployeeName=User().FullName,Manager-Email),
User().FullName & " HAS REQUESTED TO MOVE FOLLOWING ASSET" & "</br></br></br>" & "Asset Number - ",
{
Importance: Normal,
IsHtml: true
}
)
rgds
AD
Solved! Go to Solution.
It is required to have subject and also a body of email. I don’t see one of them.
Can you check please ?
Use SendEmailV2 function as SendEmail was declared deprecated some time ago.
Hope it helps !
Thanks Gabibalaban ,
Used below statement , but still get the same error
Office365Outlook.SendEmailV2(
LookUp(Employee,EmployeeName=User().FullName,Manager-Email),
User().FullName & " HAS REQUESTED TO MOVE FOLLOWING ASSET" & "</br></br></br>" & "Asset Number - ",
{
Importance: Normal,
IsHtml: true
}
)
It is required to have subject and also a body of email. I don’t see one of them.
Can you check please ?
Thanks Gabibalaban ,
My bad .. all working fine
rgds
AD
User | Count |
---|---|
253 | |
106 | |
88 | |
51 | |
43 |