Jump to content













Photo
- - - - -

azure free smtp relay using sendgrid

  Posted by Pantelis Apostolidis , in Azure 21 December 2018 · 28 views


Azure offers free smtp relay using the SendGrid application. SendGrid is a cloud service that provides email delivery and marketing campaigns. The specific offer is for up to 25.000 emails per month. Also this offers provides full reporting and analytics and 24/7 support.

At this post we will see how to create a SendGrid free account that can be used for many purposes, like:

  • Send emails through an application using the SendGrid API
  • Send email campaigns, newsletters, etc using the SendGrid SMTP service

At the Azure Portal, portal.azure.com, search for sendgrid and click the “SendGrid Email Delivery”

Posted Image

The SendGrid account wizard will open. Fill the name and password, select subscription and resource group and choose the F1 free pricing tier. Also fill the contact information, accept the legal terms and press “Create”
Posted Image
Once the SendGrid Account is created, navigate to it and select Manage
Posted Image
The SendGrid portal will open. Navigate to the Settings / API Keys to Create an API Key.
Posted Image
Enter a name for the key. For permissions you only need send emails So select Restricted Access and add “Mail Send”. Press create & view to create the key.
Posted Image
You will only see the key once, upon creation. After that there is no way to see the key again, so copy and keep it safe.
Posted Image
SMTP Service

We are ready to send emails using any host that supports SMTP. The settings are:
  • Server: smtp.sendgrid.net
  • Username: apikey
  • Password: “The API Key you created before”
  • Ports: SSL 465, Unencrypted: 25 , TLS 586
  • More about SendGrid SMTP: https://sendgrid.com...e_smtp_api.html

API Usage:

https://sendgrid.com...etting-started/