The Sisimai running on the Azure Functions
-
Check the https endpoint url for function, and copy it.
-
Check the path of your mailbox file. Maildir is not supported.
-
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