I am working on Google Apps Script. I am trying to send email as follows:
function test_sendmail(){
var subject = \"subject\";
var body = \"https://www.g
Gmail anti-spam algorithms are complex. To prevent that the messages sent by your script being blocked by them, follow the guidelines on Prevent mail to Gmail users from being blocked or sent to spam
Possible Workaround
One of my clients had the same issue, I replaced MailApp.sendEmail(message)
by GmailApp.sendEmail(recipient,subject,body,options)
apparently this worked (No bounce messages after 10 minutes)
Rafa Guillermo added in a comment:
Just want to add that in this case if this is an ongoing issue you should get your admin to contact G Suite support
If you hasn't access to G Suite Support I think that you could report this issue to Google by using Google Feedback (Open Gmail web UI > click the settings button (gear icon) > Send feedback)
Related