Have MailApp send the email as an html format.
To cause a Line breaks use: <br>. Just enter it into the text at the right place.
For links, check this webpage: https://www.w3schools.com/html/html_links.asp
It will show you how to code the link and text for it.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/3ebdb9d6-4310-4072-b8d3-1b62b1224414n%40googlegroups.com.
Yes, invoke the mail send this way:
MailApp.sendEmail({
to: recipient,
subject: title,
htmlBody: message});
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/2ae0d2fd-876f-4436-a013-3d56905b803cn%40googlegroups.com.
All of the fields need to be strings. Here is more sample code:
function sendEmail()
{
var message = "<p>Here is the text of the email.</p>";
var title = Email Title";
var recipient = ”m...@gmail.com";
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/76d8abf1-edb8-4d11-bda5-630be4d70363n%40googlegroups.com.