Greeting to all,
Did someone was able to implement and support the MailGun api to send email using Corona ?
thanks
Nick
Greeting to all,
Did someone was able to implement and support the MailGun api to send email using Corona ?
thanks
Nick
Have you tried network.request()? If they support REST that will be easy.
Hi Sphere Game Studio,
This is what I am trying to do, but the only example I have is Curl :
curl -s --user 'api:YOUR\_API\_KEY' \ https://api.mailgun.net/v3/YOUR\_DOMAIN\_NAME/messages \ -F from='Excited User \<YOU@YOUR\_DOMAIN\_NAME\>' \ -F to=alice@example.com \ -F to=bob@example.com \ -F recipient-variables='{"bob@example.com": {"first":"Bob", "id":1}, "alice@example.com": {"first":"Alice", "id": 2}}' \ -F subject='Hey, %recipient.first%' \ -F text='If you wish to unsubscribe, click http://mailgun/unsubscribe/%recipient.id%'
I am not very proficient with this, but I am trying to make it work. If you have hint where to look, please do not hesitate to direct me to some URL 
thanks
Nick
Hi,
If you haven’t figured this out yet, I can give it a go. I work with converting these “curl” things quite a bit.
-dev
Hi Chris,
Unfortunately, I have not being able to figure it out. Would be ready to pay you if you can provide me the magic recipes 
Nick
Hi,
I’ve put together a basic Mailgun sending plugin. It’s available at https://marketplace.coronalabs.com/plugin/mailgun-sender
-dev
Have you tried network.request()? If they support REST that will be easy.
Hi Sphere Game Studio,
This is what I am trying to do, but the only example I have is Curl :
curl -s --user 'api:YOUR\_API\_KEY' \ https://api.mailgun.net/v3/YOUR\_DOMAIN\_NAME/messages \ -F from='Excited User \<YOU@YOUR\_DOMAIN\_NAME\>' \ -F to=alice@example.com \ -F to=bob@example.com \ -F recipient-variables='{"bob@example.com": {"first":"Bob", "id":1}, "alice@example.com": {"first":"Alice", "id": 2}}' \ -F subject='Hey, %recipient.first%' \ -F text='If you wish to unsubscribe, click http://mailgun/unsubscribe/%recipient.id%'
I am not very proficient with this, but I am trying to make it work. If you have hint where to look, please do not hesitate to direct me to some URL 
thanks
Nick
Hi,
If you haven’t figured this out yet, I can give it a go. I work with converting these “curl” things quite a bit.
-dev
Hi Chris,
Unfortunately, I have not being able to figure it out. Would be ready to pay you if you can provide me the magic recipes 
Nick
Hi,
I’ve put together a basic Mailgun sending plugin. It’s available at https://marketplace.coronalabs.com/plugin/mailgun-sender
-dev