-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
adam ling
committed
Jul 11, 2018
1 parent
7ec489f
commit ea97e37
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
31 changes: 31 additions & 0 deletions
31
app/code/local/Aschroder/SMTPPro/Model/Transports/Mailgun.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* @author Ashley Schroder (aschroder.com) | ||
* @copyright Copyright (c) 2014 Ashley Schroder | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
class Aschroder_SMTPPro_Model_Transports_Mailgun extends Aschroder_SMTPPro_Model_Transports_Basesmtp { | ||
|
||
public function getName($storeId) { | ||
return "Mailgun SMTP"; | ||
} | ||
public function getEmail($storeId) { | ||
return '[email protected]'; | ||
} | ||
public function getPassword($storeId) { | ||
return '9050ba3b340298feb3237322285379d1-0470a1f7-af605aa2'; | ||
} | ||
public function getHost($storeId) { | ||
return 'smtp.mailgun.org'; | ||
} | ||
public function getPort($storeId) { | ||
return '587'; | ||
} | ||
public function getAuth($storeId) { | ||
return 'login'; | ||
} | ||
public function getSsl($storeId) { | ||
return 'tls'; | ||
} | ||
} |