[Python] Mail sent through Gmail's API with Python is being identified as spam/phishing

Discussão em 'Python' iniciado por Stack, Dezembro 9, 2024.

  1. Stack

    Stack Membro Participativo

    I just learned how to write a Python script that uses Gmail's API to send mails automatically and it works fine except for a couple of issues. First, all the mails sent throught this method have a warning that they might be spam or phishing, which means some servers might block them. Second, the mails sent do not have my signature.

    I'm assuming that both are related, possibly because the API is probably not going through the full process of identifying my account and my primary e-mail, but I couldn't figure out a way to make that work.

    The method I used is this one: https://thepythoncode.com/article/use-gmail-api-in-python

    Any help is greatly appreciated. Thanks!

    Continue reading...

Compartilhe esta Página