Mailgun Integration? - VisualCron - Forum

Community forum

Kevin R
2016-07-13T15:47:48Z
I've been using mailgun for a solution that I provide for a little bit. I'd like to start using their API instead of just SMTP, but I'm having some trouble figuring out the correct place for each of the settings. Has anyone successfully utilized mailgun with VisualCron?

Here are the examples they provide for sending via cURL:
curl -s --user 'api:YOUR_API_KEY' \
https://api.mailgun.net/...OUR_DOMAIN_NAME/messages  \
-F from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \
-F to=YOU@YOUR_DOMAIN_NAME \
-F to=bar@example.com \
-F subject='Hello' \
-F text='Testing some Mailgun awesomness!'
al355
2016-07-15T10:15:46Z
I haven't used it before but just tried it by calling a PHP script from Visual Cron and it worked
Kevin R
2016-07-15T15:39:39Z
Originally Posted by: al355 

I haven't used it before but just tried it by calling a PHP script from Visual Cron and it worked



Ah, I don't have PHP setup on the server I'm running. I guess I need to set it up. Is the PHP script configured completely in VisualCron? Or do you setup a separate fil that is called?
al355
2016-07-15T15:41:31Z
Not suggesting you do it through PHP just I tried it as we are already calling PHP scripts.
Maybe call via a batch file?
Similar Topics
Users browsing this topic
Scroll to Top