Title: tfogarty's Replies | WordPress.org

---

# tfogarty

  [  ](https://wordpress.org/support/users/tfogarty/)

 *   [Profile](https://wordpress.org/support/users/tfogarty/)
 *   [Topics Started](https://wordpress.org/support/users/tfogarty/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tfogarty/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tfogarty/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tfogarty/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tfogarty/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tfogarty/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Featured Image Not Included in Post](https://wordpress.org/support/topic/featured-image-not-included-in-post/)
 *  Thread Starter [tfogarty](https://wordpress.org/support/users/tfogarty/)
 * (@tfogarty)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/featured-image-not-included-in-post/#post-8330706)
 * Awesome, many thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] error establishing a secure connection](https://wordpress.org/support/topic/error-establishing-a-secure-connection/)
 *  [tfogarty](https://wordpress.org/support/users/tfogarty/)
 * (@tfogarty)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-establishing-a-secure-connection/#post-8330287)
 * I am getting the same error after updating to 1.8.5. I am using POP3 (no SSL)
   with Sockets (not cURL) on port 110 and I am getting the following (note: I substituted
   <host>, <domain>, <name> for the actual names):
    ——————- “Warning: stream_socket_enable_crypto():
   Peer certificate CN=`*.mail.<host>.com' did not match expected CN=`mail.<domain
   >.com’ in /home/<name>/<domain>.com/blog/wp-content/plugins/postie/lib/pSocketConnection.
   php on line 76
 * Error establishing secure connection
    ——————-
 * Besides updating the Postie plugin no other changes were made.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Parsing Dates](https://wordpress.org/support/topic/parsing-dates/)
 *  [tfogarty](https://wordpress.org/support/users/tfogarty/)
 * (@tfogarty)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/parsing-dates/#post-4281621)
 * Hi Wayne,
    To follow up on the above conversation thread, when I posted an article
   with today’s date (2014-03-01) Postie stripped out the “-03-“. I would like to
   remove this particular feature from the “postie-functions.php” code. I am thinking
   that if I comment out the below I’ll stand a good chance of being successful (
   I acknowledge that I’ll have to do this each time Postie is updated which isn’t
   an issue because Postie is awesome and worth it).
 * Would you be able to advise what needs to be commented out? Here is what I think
   I identified as important to comment out:
    —————————- Found on lines 287-690:—————————-
 *     ```
       else if (preg_match_all('/-(.[^-]*)-/', $tmpSubject, $matches)) {
                   preg_match("/-(.[^-]*)$/", $tmpSubject, $tmpSubject_matches);
                   $tmpSubject = trim($tmpSubject_matches[1]);
               }
       ```
   
 * —————————-
 * —————————-
    Found on lines 2530-2534: —————————-
 *     ```
       if (preg_match_all('/-(.[^-]*)-/', $subject, $matches)) { // -<category>- -<category2>- <Subject>
               //preg_match("/-(.[^-]*)$/", $subject, $subject_matches);
               //$subject = trim($subject_matches[1]);
               $matchtypes[] = $matches;
           }
       ```
   
 * —————————-
 * Many thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Parsing Dates](https://wordpress.org/support/topic/parsing-dates/)
 *  [tfogarty](https://wordpress.org/support/users/tfogarty/)
 * (@tfogarty)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/parsing-dates/#post-4281616)
 * As an update, I was experimenting with the categories, and found that if you 
   only have one then the subject line containing -01- works well and posts the 
   date as expected and does not remove it from the post’s title. I am guessing 
   that having a single category may have an effect on the category check which 
   enables the check to be skipped because there is only one category. I would, 
   however, still be interested to know if there is a way to support multiple categories
   _and_ keep the date in the subject line intact. Perhaps there is a way to use
   a comment indicator so the category check will be ignored?
 * Either way, I’m happy with Postie and am pleased with the value it brings to 
   my posting process. Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Parsing Dates](https://wordpress.org/support/topic/parsing-dates/)
 *  [tfogarty](https://wordpress.org/support/users/tfogarty/)
 * (@tfogarty)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/parsing-dates/#post-4281615)
 * Hello,
    I am experiencing this issue as well. Besides using slashes, is there
   a way to comment the dashes so that they will post verbatim? Looking through 
   the Postie documentation I see that using “{POSTTITLE}” in the body of the message
   may be helpful, do I have that right?
 * My objective would be to post “2014-01-04” for example. At the moment, it is 
   coming through as “201404”. It’s not that bad of an issue. Just wanted to check
   with you before I switched to another date delimiter because the dashed date 
   format is an ISO standard ([https://en.wikipedia.org/wiki/ISO_8601](https://en.wikipedia.org/wiki/ISO_8601))
   which is why that format is attractive to me.
 * Many thanks.

Viewing 5 replies - 1 through 5 (of 5 total)