The Sisimai running on the Azure Functions
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
local/lib/perl5
sisimai
README.md
azure_func.pl
azuredeploy.json
cpanfile
host.json

README.md

azure-functions-sisimai

The Sisimai running on the Azure Functions

Deploy to Azure

image

SYNOPSIS

  1. Check the https endpoint url for function, and copy it.

  2. Check the path of your mailbox file. Maildir is not supported.

  3. Send a POST request to endpoint url with curl as followings.

ENDPOINT_URL="https://yourfuncname.azurewebsites.net/api/sisimai?code=..."
curl -X POST \
     -H "Content-Type: text/plain" \
     --data-binary @path/to/mailbox \
     $ENDPOINT_URL

SEE ALSO