2 thoughts on “PowerShell Send Email using SMTP

  1. Google No longer supports the “allow less secure apps” in Gmail. Do you have a work around or know of another SMTP server that will allow this?

    1. Hi Trent- Thanks for your query. Using your Gmail account password is recommended and it was used for just testing purpose.
      You can create an Application Password using the feature “apppasswords” – https://myaccount.google.com/apppasswords and then use the same as password. Here you need to first Turn on 2 step verification for your gmail account.

      Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *