Postie - Version 1.4.14

Version Description

  • Attachments are now processed in the order they were attached.
  • All script, style and body tags are stripped from html emails.
Download this release

Release Info

Developer WayneAllen
Plugin Icon 128x128 Postie
Version 1.4.14
Comparing to
See all releases

Code changes from version 1.4.13 to 1.4.14

Files changed (9) hide show
  1. Revision +0 -2
  2. css/simpleTabs.css +22 -22
  3. css/style.css +34 -24
  4. docs/Changes.txt +4 -0
  5. docs/FAQ.txt +12 -0
  6. docs/Postie.txt +1 -1
  7. postie-functions.php +4 -2
  8. postie.php +2 -2
  9. readme.txt +18 -2
Revision CHANGED
@@ -1,2 +0,0 @@
1
- Revision: 643078
2
- Last Changed Date: 2012-12-17 21:44:52 -0800 (Mon, 17 Dec 2012)
 
 
css/simpleTabs.css CHANGED
@@ -1,36 +1,36 @@
1
  #simpleTabs {
2
- width: 98%;
3
- border: 1px solid #c9efec;
4
- border-top: none;
5
- margin-top: 10px;
6
- margin-bottom: 10px;
7
  }
8
  .simpleTabs-nav ul{
9
- overflow: hidden;
10
- list-style: none;
11
- margin: 0;
12
- padding: 0;
13
- background: #e1efee;
14
  }
15
  .simpleTabs-nav li{
16
- float: left;
17
- padding: 5px 15px;
18
- color: #6d6d6d;
19
- cursor: pointer;
20
- text-align: center;
21
  }
22
  .simpleTabs-nav li:hover{
23
- background: #c9efec;
24
  }
25
  .simpleTabs-nav li.close{
26
- float: right;
27
  }
28
  .simpleTabs-nav li.actif{
29
- color: #fff;
30
- font-weight: bold;
31
- background:#6D6D6D url(../images/menu-bits.gif) repeat-x scroll left top;
32
  }
33
  .simpleTabs-content{
34
- clear: both;
35
- padding: 10px;
36
  }
1
  #simpleTabs {
2
+ width: 98%;
3
+ border: 1px solid #c9efec;
4
+ border-top: none;
5
+ margin-top: 10px;
6
+ margin-bottom: 10px;
7
  }
8
  .simpleTabs-nav ul{
9
+ overflow: hidden;
10
+ list-style: none;
11
+ margin: 0;
12
+ padding: 0;
13
+ background: #e1efee;
14
  }
15
  .simpleTabs-nav li{
16
+ float: left;
17
+ padding: 5px 15px;
18
+ color: #6d6d6d;
19
+ cursor: pointer;
20
+ text-align: center;
21
  }
22
  .simpleTabs-nav li:hover{
23
+ background: #c9efec;
24
  }
25
  .simpleTabs-nav li.close{
26
+ float: right;
27
  }
28
  .simpleTabs-nav li.actif{
29
+ color: #fff;
30
+ font-weight: bold;
31
+ background:#6D6D6D url(../images/menu-bits.gif) repeat-x scroll left top;
32
  }
33
  .simpleTabs-content{
34
+ clear: both;
35
+ padding: 10px;
36
  }
css/style.css CHANGED
@@ -1,31 +1,41 @@
1
  div input.button {
2
- margin: 3px 0px 3px 0px;
3
  }
4
-
5
  .wrap h2 img {
6
- vertical-align:middle;
7
- margin-right: 10px;
8
  }
9
-
10
  #w3c {
11
- margin-top: 50px;
12
  }
13
-
14
  table.form-table {
15
- background: #E5F3FF;
16
- }
17
- table.form-table td {line-height:1em;
18
- margin:0;
19
- padding:0;
20
- font-size:1em;}
21
- table.form-table th {width:40%;
22
- font-weight:bold;}
23
- span.recommendation {font-size:.7em;
24
- font-weight:normal;
25
- color:#222;
26
- }
27
- div.simpleTabs-content ul {margin-left:1em}
28
- div.simpleTabs-content li {list-style-type:disc;
29
- margin-left:1em;}
30
- div.simpleTabs-content li li {list-style-type:square;}
31
- div.simpleTabs-content li li li {list-style-type:circle;}
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  div input.button {
2
+ margin: 3px 0px 3px 0px;
3
  }
 
4
  .wrap h2 img {
5
+ vertical-align:middle;
6
+ margin-right: 10px;
7
  }
 
8
  #w3c {
9
+ margin-top: 50px;
10
  }
 
11
  table.form-table {
12
+ background: #E5F3FF;
13
+ }
14
+ table.form-table td {
15
+ line-height:1em;
16
+ margin:0;
17
+ padding:0;
18
+ /* font-size:1em; */
19
+ }
20
+ table.form-table th {
21
+ width:40%;
22
+ font-weight:bold;
23
+ }
24
+ span.recommendation {
25
+ font-size: 10px;
26
+ font-weight:normal;
27
+ color:#222;
28
+ }
29
+ div.simpleTabs-content ul {
30
+ margin-left:1em;
31
+ }
32
+ div.simpleTabs-content li {
33
+ list-style-type:disc;
34
+ margin-left:1em;
35
+ }
36
+ div.simpleTabs-content li li {
37
+ list-style-type:square;
38
+ }
39
+ div.simpleTabs-content li li li {
40
+ list-style-type:circle;
41
+ }
docs/Changes.txt CHANGED
@@ -3,6 +3,10 @@
3
  * All script, style and body tags are stripped from html emails.
4
 
5
  == CHANGELOG ==
 
 
 
 
6
  1.4.13 (2012.12.26) =
7
  * Fixed bug that was truncating content at the first html encoded character.
8
 
3
  * All script, style and body tags are stripped from html emails.
4
 
5
  == CHANGELOG ==
6
+ 1.4.14 (2012.12.29) =
7
+ * Fixed a bug where attached images were not being detected properly causing a "File is empty. Please upload something more substantial." error
8
+ * Tweaked some CSS.
9
+
10
  1.4.13 (2012.12.26) =
11
  * Fixed bug that was truncating content at the first html encoded character.
12
 
docs/FAQ.txt CHANGED
@@ -56,6 +56,18 @@ gmail preferences.
56
  this would be just foo)
57
  * password - your password
58
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  = My posts show up as being posted by 'admin' instead of me. Why? =
60
 
61
  If your admin account is linked to bar@gmail.com, and you send mail from
56
  this would be just foo)
57
  * password - your password
58
 
59
+ = Can I use postie with GoDaddy hosting? =
60
+
61
+ Yes, but you must use an email set up using the GoDaddy email service and the following settings:
62
+
63
+ * protocol - pop3
64
+ * server - pop.secureserver.net
65
+ * port - 110
66
+ * userid - xxxxx@yourdomain
67
+ * password - your password
68
+
69
+ GoDaddy hosting does not allow you to connect to non-GoDaddy mail servers like Gmail.
70
+
71
  = My posts show up as being posted by 'admin' instead of me. Why? =
72
 
73
  If your admin account is linked to bar@gmail.com, and you send mail from
docs/Postie.txt CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
  Tested up to: 3.5
9
- Stable tag: 1.4.13
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
  Tested up to: 3.5
9
+ Stable tag: 1.4.14
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
postie-functions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /*
4
- $Id: postie-functions.php 644775 2012-12-26 19:43:03Z WayneAllen $
5
  */
6
 
7
  /* TODO
@@ -1165,7 +1165,9 @@ function DecodeBase64Part(&$part) {
1165
  if (strtolower($part->headers['content-transfer-encoding']) == 'base64') {
1166
  DebugEcho("DecodeBase64Part: base64 detected");
1167
  //DebugDump($part);
1168
- if (is_array($part->ctype_parameters) && array_key_exists('charset', $part->ctype_parameters)) {
 
 
1169
  $part->body = iconv($part->ctype_parameters['charset'], 'UTF-8//TRANSLIT', base64_decode($part->body));
1170
  $part->ctype_parameters['charset'] = 'default'; //so we don't double decode
1171
  } else {
1
  <?php
2
 
3
  /*
4
+ $Id: postie-functions.php 646011 2012-12-30 07:02:11Z WayneAllen $
5
  */
6
 
7
  /* TODO
1165
  if (strtolower($part->headers['content-transfer-encoding']) == 'base64') {
1166
  DebugEcho("DecodeBase64Part: base64 detected");
1167
  //DebugDump($part);
1168
+ if (isset($part->disposition) && $part->disposition == 'attachment') {
1169
+ $part->body = base64_decode($part->body);
1170
+ } else if (is_array($part->ctype_parameters) && array_key_exists('charset', $part->ctype_parameters)) {
1171
  $part->body = iconv($part->ctype_parameters['charset'], 'UTF-8//TRANSLIT', base64_decode($part->body));
1172
  $part->ctype_parameters['charset'] = 'default'; //so we don't double decode
1173
  } else {
postie.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
7
- Version: 1.4.13
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
@@ -27,7 +27,7 @@
27
  */
28
 
29
  /*
30
- $Id: postie.php 644775 2012-12-26 19:43:03Z WayneAllen $
31
  * -= Requests Pending =-
32
  * Problem with some mail server
33
  * Multiple emails should tie to a single account
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
7
+ Version: 1.4.14
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
27
  */
28
 
29
  /*
30
+ $Id: postie.php 646010 2012-12-30 07:01:19Z WayneAllen $
31
  * -= Requests Pending =-
32
  * Problem with some mail server
33
  * Multiple emails should tie to a single account
readme.txt CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
  Tested up to: 3.5
9
- Stable tag: 1.4.13
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -225,6 +225,18 @@ gmail preferences.
225
  this would be just foo)
226
  * password - your password
227
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  = My posts show up as being posted by 'admin' instead of me. Why? =
229
 
230
  If your admin account is linked to bar@gmail.com, and you send mail from
@@ -358,8 +370,12 @@ It is also possible to turn the WordPress cron off. Please make sure something l
358
  * All script, style and body tags are stripped from html emails.
359
 
360
  == CHANGELOG ==
 
 
 
 
361
  1.4.13 (2012.12.26) =
362
- * Fixed bug that was trucating content at the first html encoded character.
363
 
364
  1.4.12 (2012.12.17) =
365
  * Added feature to limit the number of emails processed
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
  Tested up to: 3.5
9
+ Stable tag: 1.4.14
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
225
  this would be just foo)
226
  * password - your password
227
 
228
+ = Can I use postie with GoDaddy hosting? =
229
+
230
+ Yes, but you must use an email set up using the GoDaddy email service and the following settings:
231
+
232
+ * protocol - pop3
233
+ * server - pop.secureserver.net
234
+ * port - 110
235
+ * userid - xxxxx@yourdomain
236
+ * password - your password
237
+
238
+ GoDaddy hosting does not allow you to connect to non-GoDaddy mail servers like Gmail.
239
+
240
  = My posts show up as being posted by 'admin' instead of me. Why? =
241
 
242
  If your admin account is linked to bar@gmail.com, and you send mail from
370
  * All script, style and body tags are stripped from html emails.
371
 
372
  == CHANGELOG ==
373
+ 1.4.14 (2012.12.29) =
374
+ * Fixed a bug where attached images were not being detected properly causing a "File is empty. Please upload something more substantial." error
375
+ * Tweaked some CSS.
376
+
377
  1.4.13 (2012.12.26) =
378
+ * Fixed bug that was truncating content at the first html encoded character.
379
 
380
  1.4.12 (2012.12.17) =
381
  * Added feature to limit the number of emails processed