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
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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 ..