It is not possible to pass the HTML in email body while using mailto link. It takes only string/text value.
Check this official documentation for more information: Creating hyperlinks
Also, check this thread for more explanation: mailto link with HTML body
It says, for line breaks, instead of using <br /> use %0D%0A.
You could use the Graph API to Upload the File to your OneDrive. You could then create an anonymous sharing link. This link could then be opend from your Android device. The downside of this would be that everyone that has this link can open the file
You are using wrong jQuery selectors while fetching the values from the input elements.
// Fetch the values from the input elements
var projectName = $('input#edit-pname').val();
var projectManager = $('input#edit-pmanager').val();
var accountName = $('input#edit-aname').val();
OR simply (if element IDs are unique on DOM):
// Fetch the ...
Please try by removing IF-MATCH from the HTTP request header as it makes the request conditional and try it as below:
I strongly discourage anyone from using completely custom HTML pages in SharePoint Online. It's a bad idea but still possible. I only explain how to do it for everyones's awereness since I heard a lot of misinformation claiming that it's not possible ever since SharePoint 2007. However, it's still possible even in the cloud.
Here are the steps:
Change the ...