MailGun Api Wrapper to send emails

Comparing #3 with #5

Yii version

1.1

Tags

email,mailgun, email

Content

MailGun.php Class
```php

<?php
/**
[...]
Add as a component in Yii config files either it could be `main.php` or `console.php` (not tested yet)


```php

<?php
// ...
[...]

```php

<?php
$r = Yii::app()->mailgun->send($model->email, 'Hello',
"<p>Testing from Main App, for some <small style=\"color: green;\">awesomness</span>!</p>");
if($r) {
$r = json_decode($r);
[...]