Campaign_Commander_Transactional_Email_1_5 - Version 1.1.4

Version Notes

Send your transactional e-mails through the Campaign Commander NMP platform

Download this release

Release Info

Developer Luis Diaz
Extension Campaign_Commander_Transactional_Email_1_5
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/local/Emv/Core/Model/Service/Soap/Api.php CHANGED
@@ -255,11 +255,20 @@ class Emv_Core_Model_Service_Soap_Api
255
 
256
  $emvTemplate = $this->getEmvSendTemplate();
257
 
 
 
 
 
 
 
 
 
 
258
  $varDyn = array (
259
  'SUBJECT' => $emailTemplate->getTemplateSubject(),
260
  'FROM' => $emailTemplate->getSenderName(),
261
  'FROM_EMAIL' => $emailTemplate->getSenderEmail(),
262
- 'TO' => $name,
263
  'REPLY' => $emailTemplate->getSenderName(),
264
  'REPLY_EMAIL' => $emailTemplate->getSenderEmail(),
265
  );
255
 
256
  $emvTemplate = $this->getEmvSendTemplate();
257
 
258
+ if(is_array($name))
259
+ {
260
+ $nameOne = $name[0];
261
+ }
262
+ else
263
+ {
264
+ $nameOne = $name;
265
+ }
266
+
267
  $varDyn = array (
268
  'SUBJECT' => $emailTemplate->getTemplateSubject(),
269
  'FROM' => $emailTemplate->getSenderName(),
270
  'FROM_EMAIL' => $emailTemplate->getSenderEmail(),
271
+ 'TO' => $nameOne,
272
  'REPLY' => $emailTemplate->getSenderName(),
273
  'REPLY_EMAIL' => $emailTemplate->getSenderEmail(),
274
  );
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Campaign_Commander_Transactional_Email_1_5</name>
4
- <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
@@ -9,10 +9,10 @@
9
  <summary>Send your transactional e-mails through the Campaign Commander NMP platform</summary>
10
  <description>Send your transactional e-mails through the Campaign Commander NMP platform</description>
11
  <notes>Send your transactional e-mails through the Campaign Commander NMP platform</notes>
12
- <authors><author><name>Luis Diaz</name><user>itgemailvision</user><email>ldiaz@emailvision.com</email></author></authors>
13
- <date>2011-09-28</date>
14
- <time>06:36:14</time>
15
- <contents><target name="magelocale"><dir name="en_US"><file name="Emv_Core.csv" hash="90ad3f60d5b554b30e3c44107738660f"/><file name="Emv_Emt.csv" hash="32b49d8241da0f061352b7d5b4abf280"/></dir><dir name="fr_FR"><file name="Emv_Core.csv" hash="52d62feaeeedc30bfc2f0334d39466d1"/><file name="Emv_Emt.csv" hash="dd492df3e5dbdf57551fb9c8aafdea53"/></dir></target><target name="mageetc"><dir name="modules"><file name="Emv_Core.xml" hash="b40591cd4224f47f53ebc6fbb8bb1d1d"/><file name="Emv_Emt.xml" hash="23ad147f4e95fd08b8557d3315dd9aa6"/></dir></target><target name="magelocal"><dir name="Emv"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="Edit"><file name="Form.php" hash="9e090720d3b7fc7406d2e4d4f95dbc90"/></dir><file name="Edit.php" hash="34bc1566c3693acccaa4c8e40b31cb5c"/><file name="Grid.php" hash="3d175f0e1b7ccc7dec1c9ffa30cacb76"/></dir><file name="Accounts.php" hash="3f35eecb2bf23417c0fab4746bda6d0c"/></dir></dir><file name="Exception.php" hash="227e1046ebceb99af7bc2b441bb4997d"/><dir name="Helper"><file name="Config.php" hash="455cd67728b1e6876e9fd8d55ca3253b"/><file name="Data.php" hash="896b9955cc2d6b27b9eca4d2508b7169"/></dir><dir name="Model"><file name="Account.php" hash="a8a6c2c45ab0979666d09732e8d3eda2"/><dir name="Mysql4"><dir name="Account"><file name="Collection.php" hash="39c1a08471b3bdd0563f3002a32a4db8"/></dir><file name="Account.php" hash="ee05c7d21db45c94931a9daa1a618e1d"/></dir><dir name="Resource"><file name="Setup.php" hash="6fc36453ff6c01ac0534731816355bd0"/></dir><dir name="Service"><dir name="Soap"><file name="Api.php" hash="66c5f752401f9c320cbd97979202fe35"/><file name="Config.php" hash="11eb39167cb8354f2da28215c16476e8"/><file name="SoapClient.php" hash="32117ab80f05f6e15b03edc879f806c1"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="90a8009c7761df6cba48e19a8b833c88"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AccountController.php" hash="91447d74999979c278b65dd85f5c06d8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2e84807c5c503bd91ed673dfb5f579bd"/><file name="config.xml" hash="340537c059d97aede3a3a16eac148d76"/><file name="system.xml" hash="4e14237f7d69bd20a8f4fd7fded54ba7"/></dir><dir name="sql"><dir name="emvcore_setup"><file name="mysql4-install-0.1.0.php" hash="7bc6d6e7c03398c40008d89ed86e27bc"/></dir></dir></dir><dir name="Emt"><dir name="Block"><dir name="Adminhtml"><dir name="Emt"><dir name="Edit"><file name="Attributes.php" hash="12f3edf142d47e8dbc3136ae34c4ef78"/><file name="Form.php" hash="7ff998d35df74c4733f06a9fa6ddcae4"/></dir><file name="Edit.php" hash="be44792b12374f6d6f4c5687fd5e04b0"/><file name="Grid.php" hash="68a88335f6725d1fc818bf4519e01603"/><dir name="New"><file name="Form.php" hash="8c2374146e97c4991dae614d618b2a98"/></dir><file name="New.php" hash="6ac499b1064c29fd6893c61cb29209c4"/></dir><file name="Emts.php" hash="b0e91f038bfea92da099a94cb5c232a3"/></dir></dir><dir name="Helper"><file name="Data.php" hash="72c39a310b3d11933afdddc7f1ac4283"/><file name="Emvtemplate.php" hash="cb78d69cdb6381e8be31883bc6259088"/></dir><dir name="Model"><file name="Attribute.php" hash="430f2ba97ded59d319fcd8579555c53c"/><file name="Emt.php" hash="4f96623484f5b49102242fc36a567f1b"/><dir name="Mage"><dir name="Core"><dir name="Email"><file name="Template.php" hash="f56a6b786c40c19dbec9088b758c5fcf"/></dir></dir></dir><file name="Mailmode.php" hash="d77ce590e7302f0115dcd2075468595c"/><dir name="Mysql4"><dir name="Attribute"><file name="Collection.php" hash="c2ce4b9b9f2b2c2cb7343be46df8e9f4"/></dir><file name="Attribute.php" hash="13fe2d1ca2efa66b4184da68a629135c"/><dir name="Emt"><file name="Collection.php" hash="ab8126814474a5c7616f1fd9b40796e5"/></dir><file name="Emt.php" hash="9a5e2265b2e5841f07cb175229f79971"/><dir name="Mailmode"><file name="Collection.php" hash="98b8005f11a230829c8b1664d9222f2c"/></dir><file name="Mailmode.php" hash="7585af6b9d102fc52788ac0083d338ae"/></dir><dir name="Resource"><file name="Setup.php" hash="62b3de559b3484cec6767a174cda42e9"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="EmtController.php" hash="f96fc305278838952d0a2a949d90a928"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="46610ec63dd5443130e59dbc900e3541"/><file name="config.xml" hash="9b5014f12d22537204379ea4faa0da2f"/></dir><dir name="sql"><dir name="emvemt_setup"><file name="mysql4-install-0.1.0.php" hash="f5e3c02db18f61ae87fe8b0c51c68cd4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emt"><file name="attributes.phtml" hash="8dd462fe2ad5ec5e995fe8b04ab8680b"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.6</min><max>5.3.8</max></php><extension><name>PDO</name><min></min><max></max></extension></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Campaign_Commander_Transactional_Email_1_5</name>
4
+ <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
9
  <summary>Send your transactional e-mails through the Campaign Commander NMP platform</summary>
10
  <description>Send your transactional e-mails through the Campaign Commander NMP platform</description>
11
  <notes>Send your transactional e-mails through the Campaign Commander NMP platform</notes>
12
+ <authors><author><name>Luis Diaz</name><user>ldiaz</user><email>ldiaz@emailvision.com</email></author></authors>
13
+ <date>2011-12-06</date>
14
+ <time>15:29:06</time>
15
+ <contents><target name="magelocale"><dir name="en_US"><file name="Emv_Core.csv" hash="90ad3f60d5b554b30e3c44107738660f"/><file name="Emv_Emt.csv" hash="32b49d8241da0f061352b7d5b4abf280"/></dir><dir name="fr_FR"><file name="Emv_Core.csv" hash="52d62feaeeedc30bfc2f0334d39466d1"/><file name="Emv_Emt.csv" hash="dd492df3e5dbdf57551fb9c8aafdea53"/></dir></target><target name="mageetc"><dir name="modules"><file name="Emv_Core.xml" hash="b40591cd4224f47f53ebc6fbb8bb1d1d"/><file name="Emv_Emt.xml" hash="23ad147f4e95fd08b8557d3315dd9aa6"/></dir></target><target name="magelocal"><dir name="Emv"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="Edit"><file name="Form.php" hash="9e090720d3b7fc7406d2e4d4f95dbc90"/></dir><file name="Edit.php" hash="34bc1566c3693acccaa4c8e40b31cb5c"/><file name="Grid.php" hash="3d175f0e1b7ccc7dec1c9ffa30cacb76"/></dir><file name="Accounts.php" hash="3f35eecb2bf23417c0fab4746bda6d0c"/></dir></dir><file name="Exception.php" hash="227e1046ebceb99af7bc2b441bb4997d"/><dir name="Helper"><file name="Config.php" hash="455cd67728b1e6876e9fd8d55ca3253b"/><file name="Data.php" hash="896b9955cc2d6b27b9eca4d2508b7169"/></dir><dir name="Model"><file name="Account.php" hash="a8a6c2c45ab0979666d09732e8d3eda2"/><dir name="Mysql4"><dir name="Account"><file name="Collection.php" hash="39c1a08471b3bdd0563f3002a32a4db8"/></dir><file name="Account.php" hash="ee05c7d21db45c94931a9daa1a618e1d"/></dir><dir name="Resource"><file name="Setup.php" hash="6fc36453ff6c01ac0534731816355bd0"/></dir><dir name="Service"><dir name="Soap"><file name="Api.php" hash="817c8f39a730d70aa848b9d8467166a5"/><file name="Config.php" hash="11eb39167cb8354f2da28215c16476e8"/><file name="SoapClient.php" hash="32117ab80f05f6e15b03edc879f806c1"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="90a8009c7761df6cba48e19a8b833c88"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AccountController.php" hash="91447d74999979c278b65dd85f5c06d8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2e84807c5c503bd91ed673dfb5f579bd"/><file name="config.xml" hash="340537c059d97aede3a3a16eac148d76"/><file name="system.xml" hash="4e14237f7d69bd20a8f4fd7fded54ba7"/></dir><dir name="sql"><dir name="emvcore_setup"><file name="mysql4-install-0.1.0.php" hash="7bc6d6e7c03398c40008d89ed86e27bc"/></dir></dir></dir><dir name="Emt"><dir name="Block"><dir name="Adminhtml"><dir name="Emt"><dir name="Edit"><file name="Attributes.php" hash="12f3edf142d47e8dbc3136ae34c4ef78"/><file name="Form.php" hash="7ff998d35df74c4733f06a9fa6ddcae4"/></dir><file name="Edit.php" hash="be44792b12374f6d6f4c5687fd5e04b0"/><file name="Grid.php" hash="68a88335f6725d1fc818bf4519e01603"/><dir name="New"><file name="Form.php" hash="8c2374146e97c4991dae614d618b2a98"/></dir><file name="New.php" hash="6ac499b1064c29fd6893c61cb29209c4"/></dir><file name="Emts.php" hash="b0e91f038bfea92da099a94cb5c232a3"/></dir></dir><dir name="Helper"><file name="Data.php" hash="72c39a310b3d11933afdddc7f1ac4283"/><file name="Emvtemplate.php" hash="cb78d69cdb6381e8be31883bc6259088"/></dir><dir name="Model"><file name="Attribute.php" hash="430f2ba97ded59d319fcd8579555c53c"/><file name="Emt.php" hash="4f96623484f5b49102242fc36a567f1b"/><dir name="Mage"><dir name="Core"><dir name="Email"><file name="Template.php" hash="f56a6b786c40c19dbec9088b758c5fcf"/></dir></dir></dir><file name="Mailmode.php" hash="d77ce590e7302f0115dcd2075468595c"/><dir name="Mysql4"><dir name="Attribute"><file name="Collection.php" hash="c2ce4b9b9f2b2c2cb7343be46df8e9f4"/></dir><file name="Attribute.php" hash="13fe2d1ca2efa66b4184da68a629135c"/><dir name="Emt"><file name="Collection.php" hash="ab8126814474a5c7616f1fd9b40796e5"/></dir><file name="Emt.php" hash="9a5e2265b2e5841f07cb175229f79971"/><dir name="Mailmode"><file name="Collection.php" hash="98b8005f11a230829c8b1664d9222f2c"/></dir><file name="Mailmode.php" hash="7585af6b9d102fc52788ac0083d338ae"/></dir><dir name="Resource"><file name="Setup.php" hash="62b3de559b3484cec6767a174cda42e9"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="EmtController.php" hash="f96fc305278838952d0a2a949d90a928"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="46610ec63dd5443130e59dbc900e3541"/><file name="config.xml" hash="9b5014f12d22537204379ea4faa0da2f"/></dir><dir name="sql"><dir name="emvemt_setup"><file name="mysql4-install-0.1.0.php" hash="f5e3c02db18f61ae87fe8b0c51c68cd4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emt"><file name="attributes.phtml" hash="8dd462fe2ad5ec5e995fe8b04ab8680b"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>5.3.9</max></php><extension><name>openssl</name><min></min><max></max></extension><extension><name>soap</name><min></min><max></max></extension></required></dependencies>
18
  </package>