Gmail Less secure apps

Is it possible to send emails with Google Less Secure Apps switched to Off?

Comments

  • stgstg
    edited 12:25PM

    Hello!

    Enable 2-Step Verification (2FA) in your Google Account and create an App Password (16 characters) enter this specific App Password in the `email.Account.Password` field, with Host = ‘smtp.gmail.com’, Port = 587, and EnableSSL = true.

    Alternatively, export the report to a MemoryStream (PDFExport) and send the email using a library that supports OAuth 2.0 (for example, MailKit + Gmail OAuth2), as the built-in EmailExport uses basic SMTP authentication.

This discussion has been closed.