About sending by MailApp.sendEmail;

Asked 2 years ago, Updated 2 years ago, 125 views

Nice to meet you.I am currently working on a form for accepting applications in Blogger.To confirm the contents of the application, an automatic reply email is sent to the applicant via script from the spreadsheet.Currently, the blog itself is only open to the public.
I am confused that I have not received what I was supposed to be sending via MailApp.sendEmail.There are two patterns.
1
If you browse the blog and send it to the email address of a different device (iphone) than the one you are applying for (windows ), the Gmail sent folder certainly has a record of sending it, but it does not reach the mailer of the different device (windows).
2
If you browse the blog and send it to the email address of a device different from the device you are applying for (andoroid), there is no record left in the sent folder of Gmail.It has not been sent in the first place.

I'm confused.It would be very helpful if you could tell me how to solve it.Both email addresses are intended for limited publication.

google-spreadsheet gmail

2022-09-30 20:18

1 Answers

If there is an email in the Sent Mail, it is likely that the destination email address is incorrect or that the destination server treats it as junk mail.

If there is no email in the Sent Mail, the script may have encountered an error and interrupted before GmailApp.sendEmail was interrupted.View - Run Transcripts in the Script Editor or add Logger.log() to the script to check View - Logs to determine the cause and remove it.


2022-09-30 20:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.