Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
V 0.1.4 - added file attachment support
Browse files Browse the repository at this point in the history
Merge branch 'master' of https://github.com/bossanova808/CommerceMailer

# Conflicts:
#	commercemailer/controllers/CommerceMailerController.php
  • Loading branch information
bossanova808 committed Jan 5, 2017
2 parents e53725c + 411186b commit 1abafb4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commercemailer/CommerceMailerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class CommerceMailerPlugin extends BasePlugin
{
private $version = "0.1.2";
private $version = "0.1.4";
private $schemaVersion = "0.0.0";

private $name = 'Commerce Mailer';
Expand Down
2 changes: 1 addition & 1 deletion commercemailer/controllers/CommerceMailerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public function actionSendMail()
if (!$spam){

//Special sauce for us....
if (craft()->config->get('environmentVariables')['IsImageScience']){
if (isset(craft()->config->get('environmentVariables')['IsImageScience'])){

//Are we sending to a local address?
if(strpos($email->toEmail, "@" . $settings->internalDomain) === false){
Expand Down
19 changes: 17 additions & 2 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,26 @@
// $time = new DateTime; echo $time->format(DateTime::ATOM);

[

{
"version": "0.1.4",
"date": "2017-01-05T12:20:36+11:00",
"downloadUrl": "https://github.com/bossanova808/CommerceMailer/archive/v0.1.4.zip",
"notes": [
"[Added] Support for file attachments",
]
},
{
"version": "0.1.3",
"date": "2016-12-24T12:20:36+11:00",
"downloadUrl": "https://github.com/bossanova808/CommerceMailer/archive/v0.1.3.zip",
"notes": [
"[Fixed] Better detection of localised code",
]
},
{
"version": "0.1.2",
"date": "2016-09-12T12:20:36+11:00",
"downloadUrl": "https://github.com/bossanova808/CommerceMailer/archive/v0.1.1.zip",
"downloadUrl": "https://github.com/bossanova808/CommerceMailer/archive/v0.1.2.zip",
"notes": [
"[Fixed] Better detection of localised code",
]
Expand Down

0 comments on commit 1abafb4

Please sign in to comment.