Giter Site home page Giter Site logo

azurefunctionsendazurecommemail's Introduction

Send email with Azure Communication Services

This is an html form which posts to an Azure Function to send an email through Azure Communication Services Email.

Configure your dev environment

This project does not aim to be a complete tuturial, and assumes familiarity with Azure resources and development. This was built in Visual Studio Code and requires your environment to be configured for developing Azure Functions. If you have VS Code configured with the Azure Functions extension, it should work. If you aren't sure, start here: Code and test Azure Functions locally

Configure Azure Communication Services, and Email for Azure Comm Services

Quickstart: Create and manage Communication Services resources

How to send an email using Azure Communication Service

Update code with the settings for your Azure resources

  1. Connection string
  2. MailFrom address from your email communication service
  3. email to โ€” this is not in the Azure portal, it is the address you want to send to, e.g. @hotmail.com or @gmail.com

Test

func start

you should see this in the output

Functions:

        HttpPostTrigger: [POST] http://localhost:7071/api/HttpPostTrigger

The Azure Function is now running locally in the Azure Function emulator. Post the form and you should receive an email at the address entered into your settings (3)s

azurefunctionsendazurecommemail's People

Contributors

mattmutz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.