Google Apps Script Email going to Spam Box

Hey Everyone

I am using Google Apps Scripts to send OTP to emails. Today i have created a New App Script for sending email. Mails are going fine. But they are going to SPAM Box. Do anyone suggest me whats happening? Please if any solution to directly get emails into inbox help me.

Thank you

It was a case for me too, but in my case most likely someone reported it as a spam, intentionally

I switched to php mailer and things work fine now

1 Like

Can you give me files and php codes? I tried since morning but could not succeed :pleading_face:

1 Like