Last active
March 23, 2016 01:45
-
-
Save lira92/038ff65cb3698efc0df1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mgClient = new Mailgun('YOUR_API_KEY'); | |
$domain = "YOUR_DOMAIN_NAME"; | |
$result = $mgClient->sendMessage($domain, array( | |
'from' => 'Remetente <mailgun@YOUR_DOMAIN_NAME>', | |
'to' => 'Destinatario <YOU@YOUR_DOMAIN_NAME>', | |
'subject' => 'Hello', | |
'text' => 'Testing some Mailgun awesomness!' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment