Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

machielvisser/functions-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless email function

This Azure Function allows static websites to have an email form without the need for a backend.

It works like this:

  • The website posts the following parameters:
    • appid (a guid that identifies the specific website)
    • subject
    • email (the email of the sender, so the recipient can answer)
    • message
  • The functionapp then:
    • Parses the message body
    • Receives an azure table as IQueryable containing the recipients for the websites
    • Looks up the correct recipient based on the appid
    • Retrieves settings and secrets from the environment variables
    • Builds an email message and sends it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages