24. Okt 2018
sarahnhahs
Thank so much @9-ninja! I would like to ask if it is possible to add an attachment from the files App ..
First release
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#define color darkblue
#define glyph magicWand
@SendGridAPIKey = "Put your SendGrid API Key here"
prompt("What's the subject of the email?")
@Subject = nil
prompt("What's the email address you want to send to?")
@ToEmail = nil
prompt("What email is this message coming from?")
@FromEmail = nil
prompt("What is the body of the email?")
@ContentHTML = nil
url("https://api.sendgrid.com/v3/mail/send")
fileRequest("", "POST", {
"authorization": "Bearer {@SendGridAPIKey}",
"content-type": "application/json"
})
Thank so much @9-ninja! I would like to ask if it is possible to add an attachment from the files App ..