Sending emails via mailjet

Hey,

I am having trouble unsing the HTTP request module to send emails via mailjet since the mailjet api requires me to use cURL or one their libraries.

Can it be done in appgyver ? Thanks

Hey,

So I saw on the mailjet API docs that mailjet uses Basic Auth and on wikipedia i saw that i need to do a request with a header field of Authorization: Basic <credentials>. I did that with request module but it still doesn’t work. I get back an error with error code ‘unknown’. Any ideas ?

So, the H part as you did, should go to headers and the d part should go to request body
Im not sure if the word basic should be added but you can try.
Also, connect a toast in the error ports of the http to see the errors

And you can tale a look here to be sure you use http correctly

1 Like