Version Notes
0.2.0 Add External SMTP Server setting
0.1.6 Add Sender Name Encoding
0.1.5 Separate Text and HTML mail encode.
Add Return-Path
Add Reply-To
0.1.4 Fix system.xml
0.1.3 Fix bcc problem
Add Newsletter/Template.php
0.1.2 Fix Bug.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Rack_Jpmail |
Version | 0.2.0 |
Comparing to | |
See all releases |
Code changes from version 0.1.6 to 0.2.0
app/code/community/Rack/Jpmail/Model/Email/Template.php
CHANGED
@@ -19,7 +19,7 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
19 |
ini_set('SMTP', Mage::getStoreConfig('system/smtp/host'));
|
20 |
ini_set('smtp_port', Mage::getStoreConfig('system/smtp/port'));
|
21 |
$mail = $this->getMail();
|
22 |
-
|
23 |
if (is_array($email)) {
|
24 |
foreach ($email as $emailOne) {
|
25 |
if($this->isPlain()) {
|
@@ -39,7 +39,7 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
39 |
$this->setUseAbsoluteLinks(true);
|
40 |
$text = $this->getProcessedTemplate($variables, true);
|
41 |
|
42 |
-
|
43 |
if($this->isPlain()) {
|
44 |
$mail->setBodyText(mb_convert_encoding($text, $textencode, 'utf-8'));
|
45 |
$subject = mb_convert_encoding($this->getProcessedTemplateSubject($variables), $textencode, 'utf-8');
|
@@ -51,7 +51,6 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
51 |
}
|
52 |
|
53 |
$mail->setSubject($subject);
|
54 |
-
|
55 |
try {
|
56 |
$mail->send(); // Zend_Mail warning..
|
57 |
$this->_mail = null;
|
@@ -67,10 +66,25 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
67 |
$textencode = Mage::getStoreConfig('jpmail/jpmail/text_charset');
|
68 |
$htmlencode = Mage::getStoreConfig('jpmail/jpmail/html_charset');
|
69 |
|
70 |
-
if(Mage::getStoreConfig('jpmail/jpmail/use_return_path')) {
|
71 |
$tr = new Zend_Mail_Transport_Sendmail('-f'.Mage::getStoreConfig('jpmail/jpmail/return_path'));
|
72 |
Zend_Mail::setDefaultTransport($tr);
|
73 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
if (is_null($this->_mail)) {
|
76 |
if($this->isPlain()) {
|
@@ -81,10 +95,10 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
81 |
} else {
|
82 |
if($this->isPlain() && ($this->_mail->getCharset() !== $textencode)) {
|
83 |
$this->_mail = new Zend_Mail($textencode);
|
84 |
-
$this->
|
85 |
} elseif (!$this->isPlain() && ($this->_mail->getCharset() !== $htmlencode)) {
|
86 |
$this->_mail = new Zend_Mail($htmlencode);
|
87 |
-
$this->
|
88 |
}
|
89 |
}
|
90 |
|
@@ -99,11 +113,14 @@ class Rack_Jpmail_Model_Email_Template extends Mage_Core_Model_Email_Template
|
|
99 |
{
|
100 |
if (is_array($bcc)) {
|
101 |
foreach ($bcc as $email) {
|
102 |
-
|
|
|
|
|
103 |
}
|
104 |
-
} elseif ($bcc) {
|
105 |
$this->getMail()->addBcc($bcc);
|
106 |
}
|
|
|
107 |
$this->bcc = $bcc;
|
108 |
return $this;
|
109 |
}
|
19 |
ini_set('SMTP', Mage::getStoreConfig('system/smtp/host'));
|
20 |
ini_set('smtp_port', Mage::getStoreConfig('system/smtp/port'));
|
21 |
$mail = $this->getMail();
|
22 |
+
|
23 |
if (is_array($email)) {
|
24 |
foreach ($email as $emailOne) {
|
25 |
if($this->isPlain()) {
|
39 |
$this->setUseAbsoluteLinks(true);
|
40 |
$text = $this->getProcessedTemplate($variables, true);
|
41 |
|
42 |
+
|
43 |
if($this->isPlain()) {
|
44 |
$mail->setBodyText(mb_convert_encoding($text, $textencode, 'utf-8'));
|
45 |
$subject = mb_convert_encoding($this->getProcessedTemplateSubject($variables), $textencode, 'utf-8');
|
51 |
}
|
52 |
|
53 |
$mail->setSubject($subject);
|
|
|
54 |
try {
|
55 |
$mail->send(); // Zend_Mail warning..
|
56 |
$this->_mail = null;
|
66 |
$textencode = Mage::getStoreConfig('jpmail/jpmail/text_charset');
|
67 |
$htmlencode = Mage::getStoreConfig('jpmail/jpmail/html_charset');
|
68 |
|
69 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/use_external') == 0 && Mage::getStoreConfig('jpmail/jpmail/use_return_path')) {
|
70 |
$tr = new Zend_Mail_Transport_Sendmail('-f'.Mage::getStoreConfig('jpmail/jpmail/return_path'));
|
71 |
Zend_Mail::setDefaultTransport($tr);
|
72 |
}
|
73 |
+
|
74 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/use_external') == 1) {
|
75 |
+
$host = Mage::getStoreConfig('extsmtp/extsmtp/smtp_host');
|
76 |
+
$config = array(
|
77 |
+
'auth' => 'login',
|
78 |
+
'username' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_user'),
|
79 |
+
'password' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_password'),
|
80 |
+
'port' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_port'),
|
81 |
+
);
|
82 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/smtp_secure') == 1) {
|
83 |
+
$config['ssl'] = 'ssl';
|
84 |
+
}
|
85 |
+
$tr = new Zend_Mail_Transport_Smtp($host, $config);
|
86 |
+
Zend_Mail::setDefaultTransport($tr);
|
87 |
+
}
|
88 |
|
89 |
if (is_null($this->_mail)) {
|
90 |
if($this->isPlain()) {
|
95 |
} else {
|
96 |
if($this->isPlain() && ($this->_mail->getCharset() !== $textencode)) {
|
97 |
$this->_mail = new Zend_Mail($textencode);
|
98 |
+
$this->addBcc($this->bcc);
|
99 |
} elseif (!$this->isPlain() && ($this->_mail->getCharset() !== $htmlencode)) {
|
100 |
$this->_mail = new Zend_Mail($htmlencode);
|
101 |
+
$this->addBcc($this->bcc);
|
102 |
}
|
103 |
}
|
104 |
|
113 |
{
|
114 |
if (is_array($bcc)) {
|
115 |
foreach ($bcc as $email) {
|
116 |
+
if($email !== '') {
|
117 |
+
$this->getMail()->addBcc($email);
|
118 |
+
}
|
119 |
}
|
120 |
+
} elseif ($bcc != '') {
|
121 |
$this->getMail()->addBcc($bcc);
|
122 |
}
|
123 |
+
|
124 |
$this->bcc = $bcc;
|
125 |
return $this;
|
126 |
}
|
app/code/community/Rack/Jpmail/Model/Newsletter/Template.php
CHANGED
@@ -6,6 +6,26 @@ class Rack_Jpmail_Model_Newsletter_Template extends Mage_Newsletter_Model_Templa
|
|
6 |
$textencode = Mage::getStoreConfig('jpmail/jpmail/text_charset');
|
7 |
$htmlencode = Mage::getStoreConfig('jpmail/jpmail/html_charset');
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
if (is_null($this->_mail)) {
|
10 |
if($this->isPlain()) {
|
11 |
$this->_mail = new Zend_Mail($textencode);
|
6 |
$textencode = Mage::getStoreConfig('jpmail/jpmail/text_charset');
|
7 |
$htmlencode = Mage::getStoreConfig('jpmail/jpmail/html_charset');
|
8 |
|
9 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/use_external') == 0 && Mage::getStoreConfig('jpmail/jpmail/use_return_path')) {
|
10 |
+
$tr = new Zend_Mail_Transport_Sendmail('-f'.Mage::getStoreConfig('jpmail/jpmail/return_path'));
|
11 |
+
Zend_Mail::setDefaultTransport($tr);
|
12 |
+
}
|
13 |
+
|
14 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/use_external') == 1) {
|
15 |
+
$host = Mage::getStoreConfig('extsmtp/extsmtp/smtp_host');
|
16 |
+
$config = array(
|
17 |
+
'auth' => 'login',
|
18 |
+
'username' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_user'),
|
19 |
+
'password' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_password'),
|
20 |
+
'port' => Mage::getStoreConfig('extsmtp/extsmtp/smtp_port'),
|
21 |
+
);
|
22 |
+
if(Mage::getStoreConfig('extsmtp/extsmtp/smtp_secure') == 1) {
|
23 |
+
$config['ssl'] = 'ssl';
|
24 |
+
}
|
25 |
+
$tr = new Zend_Mail_Transport_Smtp($host, $config);
|
26 |
+
Zend_Mail::setDefaultTransport($tr);
|
27 |
+
}
|
28 |
+
|
29 |
if (is_null($this->_mail)) {
|
30 |
if($this->isPlain()) {
|
31 |
$this->_mail = new Zend_Mail($textencode);
|
app/code/community/Rack/Jpmail/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Rack_Jpmail>
|
5 |
-
<version>0.
|
6 |
</Rack_Jpmail>
|
7 |
</modules>
|
8 |
<global>
|
@@ -47,6 +47,9 @@
|
|
47 |
<jpmail>
|
48 |
<title>Multibyte email Setting</title>
|
49 |
</jpmail>
|
|
|
|
|
|
|
50 |
</children>
|
51 |
</config>
|
52 |
</children>
|
@@ -62,6 +65,9 @@
|
|
62 |
<jpmail>
|
63 |
<title>Multibyte email Setting</title>
|
64 |
</jpmail>
|
|
|
|
|
|
|
65 |
</children>
|
66 |
</config>
|
67 |
</children>
|
@@ -75,6 +81,14 @@
|
|
75 |
<use_return_path>0</use_return_path>
|
76 |
<use_reply_to>0</use_reply_to>
|
77 |
</jpmail>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
</jpmail>
|
79 |
</default>
|
80 |
</config>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Rack_Jpmail>
|
5 |
+
<version>0.2.0</version>
|
6 |
</Rack_Jpmail>
|
7 |
</modules>
|
8 |
<global>
|
47 |
<jpmail>
|
48 |
<title>Multibyte email Setting</title>
|
49 |
</jpmail>
|
50 |
+
<extsmtp>
|
51 |
+
<title>External SMTP Setting</title>
|
52 |
+
</extsmtp>
|
53 |
</children>
|
54 |
</config>
|
55 |
</children>
|
65 |
<jpmail>
|
66 |
<title>Multibyte email Setting</title>
|
67 |
</jpmail>
|
68 |
+
<extsmtp>
|
69 |
+
<title>External SMTP Setting</title>
|
70 |
+
</extsmtp>
|
71 |
</children>
|
72 |
</config>
|
73 |
</children>
|
81 |
<use_return_path>0</use_return_path>
|
82 |
<use_reply_to>0</use_reply_to>
|
83 |
</jpmail>
|
84 |
+
<extsmtp>
|
85 |
+
<use_external>0</use_external>
|
86 |
+
<smtp_host></smtp_host>
|
87 |
+
<smtp_port></smtp_port>
|
88 |
+
<smtp_secure>0</smtp_secure>
|
89 |
+
<smtp_user></smtp_user>
|
90 |
+
<smtp_password></smtp_password>
|
91 |
+
</extsmtp>
|
92 |
</jpmail>
|
93 |
</default>
|
94 |
</config>
|
app/code/community/Rack/Jpmail/etc/system.xml
CHANGED
@@ -1,88 +1,159 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<jpmail translate="label" module="jpmail">
|
5 |
-
<label>multibyte email setting</label>
|
6 |
-
<sort_order>400</sort_order>
|
7 |
-
</jpmail>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<jpmail translate="label" module="jpmail">
|
11 |
-
<label>Multibyte Email Settings</label>
|
12 |
-
<tab>jpmail</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>120</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<jpmail translate="label">
|
20 |
-
<label>Multibyte Email Settings</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>10</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<text_charset translate="label">
|
28 |
-
<label>text mail character set</label>
|
29 |
-
<frontend_type>text</frontend_type>
|
30 |
-
<sort_order>10</sort_order>
|
31 |
-
<show_in_default>1</show_in_default>
|
32 |
-
<show_in_website>1</show_in_website>
|
33 |
-
<show_in_store>1</show_in_store>
|
34 |
-
</text_charset>
|
35 |
-
<html_charset translate="label">
|
36 |
-
<label>html mail character set</label>
|
37 |
-
<frontend_type>text</frontend_type>
|
38 |
-
<sort_order>10</sort_order>
|
39 |
-
<show_in_default>1</show_in_default>
|
40 |
-
<show_in_website>1</show_in_website>
|
41 |
-
<show_in_store>1</show_in_store>
|
42 |
-
</html_charset>
|
43 |
-
<use_return_path translate="label">
|
44 |
-
<label>use return path</label>
|
45 |
-
<frontend_type>select</frontend_type>
|
46 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
47 |
-
<sort_order>12</sort_order>
|
48 |
-
<show_in_default>1</show_in_default>
|
49 |
-
<show_in_website>1</show_in_website>
|
50 |
-
<show_in_store>1</show_in_store>
|
51 |
-
</use_return_path>
|
52 |
-
<return_path translate="label">
|
53 |
-
<label>return path</label>
|
54 |
-
<frontend_type>text</frontend_type>
|
55 |
-
<sort_order>13</sort_order>
|
56 |
-
<show_in_default>1</show_in_default>
|
57 |
-
<show_in_website>1</show_in_website>
|
58 |
-
<show_in_store>1</show_in_store>
|
59 |
-
<depends>
|
60 |
-
<use_return_path>1</use_return_path>
|
61 |
-
</depends>
|
62 |
-
</return_path>
|
63 |
-
<use_reply_to translate="label">
|
64 |
-
<label>use reply to</label>
|
65 |
-
<frontend_type>select</frontend_type>
|
66 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
67 |
-
<sort_order>14</sort_order>
|
68 |
-
<show_in_default>1</show_in_default>
|
69 |
-
<show_in_website>1</show_in_website>
|
70 |
-
<show_in_store>1</show_in_store>
|
71 |
-
</use_reply_to>
|
72 |
-
<reply_to translate="label">
|
73 |
-
<label>reply to</label>
|
74 |
-
<frontend_type>text</frontend_type>
|
75 |
-
<sort_order>15</sort_order>
|
76 |
-
<show_in_default>1</show_in_default>
|
77 |
-
<show_in_website>1</show_in_website>
|
78 |
-
<show_in_store>1</show_in_store>
|
79 |
-
<depends>
|
80 |
-
<use_reply_to>1</use_reply_to>
|
81 |
-
</depends>
|
82 |
-
</reply_to>
|
83 |
-
</fields>
|
84 |
-
</jpmail>
|
85 |
-
</groups>
|
86 |
-
</jpmail>
|
87 |
-
|
88 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<jpmail translate="label" module="jpmail">
|
5 |
+
<label>multibyte email setting</label>
|
6 |
+
<sort_order>400</sort_order>
|
7 |
+
</jpmail>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<jpmail translate="label" module="jpmail">
|
11 |
+
<label>Multibyte Email Settings</label>
|
12 |
+
<tab>jpmail</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>120</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<jpmail translate="label">
|
20 |
+
<label>Multibyte Email Settings</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<text_charset translate="label">
|
28 |
+
<label>text mail character set</label>
|
29 |
+
<frontend_type>text</frontend_type>
|
30 |
+
<sort_order>10</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>1</show_in_website>
|
33 |
+
<show_in_store>1</show_in_store>
|
34 |
+
</text_charset>
|
35 |
+
<html_charset translate="label">
|
36 |
+
<label>html mail character set</label>
|
37 |
+
<frontend_type>text</frontend_type>
|
38 |
+
<sort_order>10</sort_order>
|
39 |
+
<show_in_default>1</show_in_default>
|
40 |
+
<show_in_website>1</show_in_website>
|
41 |
+
<show_in_store>1</show_in_store>
|
42 |
+
</html_charset>
|
43 |
+
<use_return_path translate="label">
|
44 |
+
<label>use return path</label>
|
45 |
+
<frontend_type>select</frontend_type>
|
46 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
47 |
+
<sort_order>12</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
</use_return_path>
|
52 |
+
<return_path translate="label">
|
53 |
+
<label>return path</label>
|
54 |
+
<frontend_type>text</frontend_type>
|
55 |
+
<sort_order>13</sort_order>
|
56 |
+
<show_in_default>1</show_in_default>
|
57 |
+
<show_in_website>1</show_in_website>
|
58 |
+
<show_in_store>1</show_in_store>
|
59 |
+
<depends>
|
60 |
+
<use_return_path>1</use_return_path>
|
61 |
+
</depends>
|
62 |
+
</return_path>
|
63 |
+
<use_reply_to translate="label">
|
64 |
+
<label>use reply to</label>
|
65 |
+
<frontend_type>select</frontend_type>
|
66 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
67 |
+
<sort_order>14</sort_order>
|
68 |
+
<show_in_default>1</show_in_default>
|
69 |
+
<show_in_website>1</show_in_website>
|
70 |
+
<show_in_store>1</show_in_store>
|
71 |
+
</use_reply_to>
|
72 |
+
<reply_to translate="label">
|
73 |
+
<label>reply to</label>
|
74 |
+
<frontend_type>text</frontend_type>
|
75 |
+
<sort_order>15</sort_order>
|
76 |
+
<show_in_default>1</show_in_default>
|
77 |
+
<show_in_website>1</show_in_website>
|
78 |
+
<show_in_store>1</show_in_store>
|
79 |
+
<depends>
|
80 |
+
<use_reply_to>1</use_reply_to>
|
81 |
+
</depends>
|
82 |
+
</reply_to>
|
83 |
+
</fields>
|
84 |
+
</jpmail>
|
85 |
+
</groups>
|
86 |
+
</jpmail>
|
87 |
+
<extsmtp translate="label" module="jpmail">
|
88 |
+
<label>External Smtp Settings</label>
|
89 |
+
<tab>jpmail</tab>
|
90 |
+
<frontend_type>text</frontend_type>
|
91 |
+
<sort_order>130</sort_order>
|
92 |
+
<show_in_default>1</show_in_default>
|
93 |
+
<show_in_website>1</show_in_website>
|
94 |
+
<show_in_store>1</show_in_store>
|
95 |
+
<groups>
|
96 |
+
<extsmtp translate="label">
|
97 |
+
<label>External Smtp Settings</label>
|
98 |
+
<frontend_type>text</frontend_type>
|
99 |
+
<sort_order>10</sort_order>
|
100 |
+
<show_in_default>1</show_in_default>
|
101 |
+
<show_in_website>1</show_in_website>
|
102 |
+
<show_in_store>1</show_in_store>
|
103 |
+
<fields>
|
104 |
+
<use_external translate="label">
|
105 |
+
<label>Use External SMTP</label>
|
106 |
+
<frontend_type>select</frontend_type>
|
107 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
108 |
+
<sort_order>10</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>1</show_in_store>
|
112 |
+
</use_external>
|
113 |
+
<smtp_host translate="label">
|
114 |
+
<label>SMTP Host</label>
|
115 |
+
<frontend_type>text</frontend_type>
|
116 |
+
<sort_order>11</sort_order>
|
117 |
+
<show_in_default>1</show_in_default>
|
118 |
+
<show_in_website>1</show_in_website>
|
119 |
+
<show_in_store>1</show_in_store>
|
120 |
+
</smtp_host>
|
121 |
+
<smtp_port translate="label">
|
122 |
+
<label>SMTP Port</label>
|
123 |
+
<frontend_type>text</frontend_type>
|
124 |
+
<sort_order>12</sort_order>
|
125 |
+
<show_in_default>1</show_in_default>
|
126 |
+
<show_in_website>1</show_in_website>
|
127 |
+
<show_in_store>1</show_in_store>
|
128 |
+
</smtp_port>
|
129 |
+
<smtp_secure translate="label">
|
130 |
+
<label>Use SSL</label>
|
131 |
+
<frontend_type>select</frontend_type>
|
132 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
133 |
+
<sort_order>13</sort_order>
|
134 |
+
<show_in_default>1</show_in_default>
|
135 |
+
<show_in_website>1</show_in_website>
|
136 |
+
<show_in_store>1</show_in_store>
|
137 |
+
</smtp_secure>
|
138 |
+
<smtp_user translate="label">
|
139 |
+
<label>SMTP User</label>
|
140 |
+
<frontend_type>text</frontend_type>
|
141 |
+
<sort_order>14</sort_order>
|
142 |
+
<show_in_default>1</show_in_default>
|
143 |
+
<show_in_website>1</show_in_website>
|
144 |
+
<show_in_store>1</show_in_store>
|
145 |
+
</smtp_user>
|
146 |
+
<smtp_password translate="label">
|
147 |
+
<label>SMTP Password</label>
|
148 |
+
<frontend_type>password</frontend_type>
|
149 |
+
<sort_order>15</sort_order>
|
150 |
+
<show_in_default>1</show_in_default>
|
151 |
+
<show_in_website>1</show_in_website>
|
152 |
+
<show_in_store>1</show_in_store>
|
153 |
+
</smtp_password>
|
154 |
+
</fields>
|
155 |
+
</extsmtp>
|
156 |
+
</groups>
|
157 |
+
</extsmtp>
|
158 |
+
</sections>
|
159 |
+
</config>
|
package.xml
CHANGED
@@ -1,15 +1,16 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rack_Jpmail</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This module fix email encoding for multibyte environment.</summary>
|
10 |
<description>This module can change mail encoding.
|
11 |
And it can add Return-path & Reply-to.</description>
|
12 |
-
<notes>0.
|
|
|
13 |
0.1.5 Separate Text and HTML mail encode.
|
14 |
Add Return-Path
|
15 |
Add Reply-To
|
@@ -17,10 +18,10 @@ And it can add Return-path & Reply-to.</description>
|
|
17 |
0.1.3 Fix bcc problem
|
18 |
Add Newsletter/Template.php
|
19 |
0.1.2 Fix Bug.</notes>
|
20 |
-
<authors><author><name>
|
21 |
-
<date>2010-
|
22 |
-
<time>
|
23 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="Rack_Jpmail.csv" hash="91bcabe183e348366bfc9665ec8b4303"/></dir><dir name="ja_JP"><file name="Rack_Jpmail.csv" hash="6323d98df9db69ac9c1da46c9e122525"/></dir></target><target name="mageetc"><dir name="modules"><file name="Rack_Jpmail.xml" hash="15330a682c67f43d2510c0e72991bc53"/></dir></target><target name="magecommunity"><dir name="Rack"><dir name="Jpmail"><dir name="etc"><file name="config.xml" hash="
|
24 |
<compatible/>
|
25 |
<dependencies/>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rack_Jpmail</name>
|
4 |
+
<version>0.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This module fix email encoding for multibyte environment.</summary>
|
10 |
<description>This module can change mail encoding.
|
11 |
And it can add Return-path & Reply-to.</description>
|
12 |
+
<notes>0.2.0 Add External SMTP Server setting
|
13 |
+
0.1.6 Add Sender Name Encoding
|
14 |
0.1.5 Separate Text and HTML mail encode.
|
15 |
Add Return-Path
|
16 |
Add Reply-To
|
18 |
0.1.3 Fix bcc problem
|
19 |
Add Newsletter/Template.php
|
20 |
0.1.2 Fix Bug.</notes>
|
21 |
+
<authors><author><name>Hirokazu Nishi</name><user>auto-converted</user><email>nishi@principle-works.jp</email></author></authors>
|
22 |
+
<date>2010-10-15</date>
|
23 |
+
<time>13:01:35</time>
|
24 |
+
<contents><target name="magelocale"><dir name="en_US"><file name="Rack_Jpmail.csv" hash="91bcabe183e348366bfc9665ec8b4303"/></dir><dir name="ja_JP"><file name="Rack_Jpmail.csv" hash="6323d98df9db69ac9c1da46c9e122525"/></dir></target><target name="mageetc"><dir name="modules"><file name="Rack_Jpmail.xml" hash="15330a682c67f43d2510c0e72991bc53"/></dir></target><target name="magecommunity"><dir name="Rack"><dir name="Jpmail"><dir name="etc"><file name="config.xml" hash="b1a24537663f47b1a4e85a86496cfd57"/><file name="system.xml" hash="da2d1bd51897f0c23823566b44499607"/></dir><dir name="Helper"><file name="Data.php" hash="184fbc5691c3478047810b827c919dc9"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="f2103753e132919b4ec68b196806a221"/></dir><dir name="Newsletter"><file name="Template.php" hash="c03693571e43fa7fd144aed2c0bfe8b6"/></dir></dir></dir></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies/>
|
27 |
</package>
|