r/GoogleAppsScript • u/landon1430 • Nov 07 '25
Question Emails Blocked
I wrote a script that combs a google sheet and sends me an email based on a certain condition. Unfortunately, the recipient mailbox server is blocked the messages due to suspected spoofing.
I reached out to them and they advised me to reach out to Google support to obtain the IP address or range used for sending emails. I could incorporate this information into my existing SPF record to prevent future rejections.
I was searching for Google support but could only find communities like this one. Any ideas? Any input is much appreciated. Thanks in advance.
View all comments
Show parent comment
2
u/Nu11u5 Nov 11 '25
If you are not the sender then you don't control their SMTP servers or the SPF record, correct.
If the sender is missing an SPF record then the sender must remedy this.