How can we customize email to html format while inviting guest users from Graph API ?
Reference: https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http
I have the html
InviteMessage= "<table border=\"2\" bgcolor=\"yellow\">" +
"<tr><td>Test Invite</td><td></td><td></td></tr>" +
"</table>";
and would like to send it using Graph api/SDK
invitation.InvitedUserMessageInfo = new InvitedUserMessageInfo
{
CustomizedMessageBody = InviteMessage
};
Whenever I try to send this, invitation body would appear as
<table border="2" bgcolor="yellow"> <tr><td>Test Invite</td><td></td><td></td></tr></table>
in the recipient email with no formatting. Am I missing something. ?
Also is it possible to remove "This message was provided by the sender and is not from Microsoft Corporation." and phishing part in the email