Answers.Body: <p>The asker was able to solve their question and confirm that MailGun can be used with Craft. In the comment they state:</p>
  
  <blockquote>
    <p>Just FYI: requiring vendor/autoload.php (from my plugin) worked and
    correctly loads Mailgun. So I guess it works, it's just (more than a
    little) ugly</p>
  </blockquote>
  
  <p>We have had success integrating Craft with MailGun in our plugins as well.  While we have not released our integration publicly, we have a <a href="http://sprout.barrelstrengthdesign.com/craft-plugins/email" rel="nofollow">Sprout Email</a> MailGun integration used by our direct customers and we were able to successfully integrate with Email Lists and Campaigns, and allow users to build Emails using Craft templates with Live Preview and send them through the MailGun API.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-23T01:27:00.290Z
Answers.LastActivityDate: 2015-08-23T01:27:00.290Z
Answers.UserDisplayName: Ben Parizek
Body: <p>Is it possible to use the Mailgun SDK with Craft at this point?</p>
  
  <p>If not, is it OK to just the composer autoloader as a second autoloader (I'm about to test it, I'm just curious whether it's kosher or there's a different way of doing it that doesn't involve writing another plugin)?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-04T00:28:11.853Z
Comments.Text: Just FYI: requiring vendor/autoload.php (from my plugin) worked and correctly loads Mailgun. So I guess it works, it's just (more than a little) ugly
Comments.UserDisplayName: charmeleon
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-01T17:37:49.047Z
Comments.Text: I'm not sure I'm following you 100%, but seems like you should just need to load up Craft's `craft\app\bootstrap.php` file and run with it.  Regardless, can you add your solution as an official answer to the question?
Comments.UserDisplayName: Brad Bell
Tags: <emails>
Title: Using Mailgun with Craft
ThreadText: # Using Mailgun with Craft
  
  (Asked by: username_0 on 2015-04-03)
  
  Is it possible to use the Mailgun SDK with Craft at this point?
  
  If not, is it OK to just the composer autoloader as a second autoloader (I'm about to test it, I'm just curious whether it's kosher or there's a different way of doing it that doesn't involve writing another plugin)?
  
  **Tags:** emails
  
  > **Comments:**
  > **username_0**: Just FYI: requiring vendor/autoload.php (from my plugin) worked and correctly loads Mailgun. So I guess it works, it's just (more than a little) ugly  
  > **username_1**: I'm not sure I'm following you 100%, but seems like you should just need to load up Craft's `craft\app\bootstrap.php` file and run with it.  Regardless, can you add your solution as an official answer to the question?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-08-23. Score: 4
  
  The asker was able to solve their question and confirm that MailGun can be used with Craft. In the comment they state:
  
  > Just FYI: requiring vendor/autoload.php (from my plugin) worked and
  > correctly loads Mailgun. So I guess it works, it's just (more than a
  > little) ugly
  
  We have had success integrating Craft with MailGun in our plugins as well. While we have not released our integration publicly, we have a [Sprout Email](http://sprout.barrelstrengthdesign.com/craft-plugins/email) MailGun integration used by our direct customers and we were able to successfully integrate with Email Lists and Campaigns, and allow users to build Emails using Craft templates with Live Preview and send them through the MailGun API.
  
  
  ---
  
  