PageRenderTime 69ms CodeModel.GetById 38ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/plugins/postie/faq.html

https://bitbucket.org/rchlmrtn/chiari
HTML | 242 lines | 173 code | 69 blank | 0 comment | 0 complexity | 6db86a876e54fd69a658df8302a74383 MD5 | raw file
  1. <li id='question-0'><a href='#answer-0'>Postie won't connect to my mailserver. Why Not?</a></li>
  2. <li id='question-1'><a href='#answer-1'>How can I get postie to display inline images?</a></li>
  3. <li id='question-2'><a href='#answer-2'>Mail is not showing up right when I send html (rich formatted) e-mail!</a></li>
  4. <li id='question-3'><a href='#answer-3'>Do I need to any code to my theme for postie to work?</a></li>
  5. <li id='question-4'><a href='#answer-4'>I read somewhere to add an iframe to my footer. Should I do this?</a></li>
  6. <li id='question-5'><a href='#answer-5'>My mail host requires SSL, but postie will not allow me to select pop3-ssl or imap-ssl</a></li>
  7. <li id='question-6'><a href='#answer-6'>Can I use postie to check a gmail account?</a></li>
  8. <li id='question-7'><a href='#answer-7'>Can I use postie with GoDaddy hosting?</a></li>
  9. <li id='question-8'><a href='#answer-8'>My posts show up as being posted by 'admin' instead of me. Why?</a></li>
  10. <li id='question-9'><a href='#answer-9'>Images aren't showing up at all?</a></li>
  11. <li id='question-10'><a href='#answer-10'>Can I delete the wp-files directory needed by postie version &lt;1.3.0?</a></li>
  12. <li id='question-11'><a href='#answer-11'>How can I get rid of stupid stuff my e-mail provider adds to my messages?</a></li>
  13. <li id='question-12'><a href='#answer-12'>How can I add custom attachment icons?</a></li>
  14. <li id='question-13'><a href='#answer-13'>Can I add special text to the body of the post when using postie?</a></li>
  15. <li id='question-14'><a href='#answer-14'>Can I add special text to the title of the post when using postie?</a></li>
  16. <li id='question-15'><a href='#answer-15'>Can I select tags or categories based on the content of the e-mail?</a></li>
  17. <li id='question-16'><a href='#answer-16'>Is the IMAP extension required for postie?</a></li>
  18. <li id='question-17'><a href='#answer-17'>How can I embed youtube or vimeo videos?</a></li>
  19. <li id='question-18'><a href='#answer-18'>Something is going wrong, how do I see what is happening?</a></li>
  20. <li id='question-19'><a href='#answer-19'>Why doesn't Postie automatically publish my emails when running manually works</a></li>
  21. <h3>Frequently Asked Questions</h3>
  22. <h4 id='answer-0'>Postie won't connect to my mailserver. Why Not?</h4>
  23. <p>Make sure the port you are using is open. For example, bluehost seems to block
  24. ports 993 and 995 (for pop3-ssl and imap-ssl) by default. I have heard that
  25. you can request that they open them for you ( you might have to pay extra).</p>
  26. <p>You can check for open ports with the following command on your server:</p>
  27. <pre><code>netstat -ln|grep -E &#039;:::(993|995|143)&#039;</code></pre>
  28. <p>If nothing shows up, then the ports are not open.</p>
  29. <h4 id='answer-1'>How can I get postie to display inline images?</h4>
  30. <p>Make sure that you send e-mail formatted as html (richtext), and set postie to
  31. prefer html messages (in the message tab of the postie settings)</p>
  32. <h4 id='answer-2'>Mail is not showing up right when I send html (rich formatted) e-mail!</h4>
  33. <p>Make sure you set the preferred text type to html</p>
  34. <h4 id='answer-3'>Do I need to any code to my theme for postie to work?</h4>
  35. <p>No.</p>
  36. <h4 id='answer-4'>I read somewhere to add an iframe to my footer. Should I do this?</h4>
  37. <p>No. Do not add an iframe in your footer to get postie to check mail
  38. periodically. To check e-mail periodically, either set-up a cron job, or use
  39. cronless postie. See installation instructions</p>
  40. <h4 id='answer-5'>My mail host requires SSL, but postie will not allow me to select pop3-ssl or imap-ssl</h4>
  41. <p>You must have php-imap installed on your server for this to work. Ask your
  42. hosting provider about this.</p>
  43. <h4 id='answer-6'>Can I use postie to check a gmail account?</h4>
  44. <p>Yes. You can use either pop3-ssl or imap-ssl with a gmail account. Before
  45. attempting to use with postie, make sure that you enable pop or imap in your
  46. gmail preferences.</p>
  47. <ul>
  48. <li>Pop3 settings:
  49. <ul>
  50. <li>protocol - pop3-ssl</li>
  51. <li>server - pop.gmail.com</li>
  52. <li>port - 995</li>
  53. <li>userid - your username (e.g. if your e-mail address is <a href="mailto:foo@gmail.com">foo@gmail.com</a>,
  54. this would be just foo)</li>
  55. <li>password - your password </li>
  56. </ul></li>
  57. <li>IMAP settings:
  58. <ul>
  59. <li>protocol - imap-ssl</li>
  60. <li>server - imap.gmail.com</li>
  61. <li>port - 993</li>
  62. <li>userid - your username (e.g. if your e-mail address is <a href="mailto:foo@gmail.com">foo@gmail.com</a>,
  63. this would be just foo)</li>
  64. <li>password - your password </li>
  65. </ul></li>
  66. </ul>
  67. <h4 id='answer-7'>Can I use postie with GoDaddy hosting?</h4>
  68. <p>Yes, but you must use an email set up using the GoDaddy email service and the following settings:</p>
  69. <ul>
  70. <li>protocol - pop3</li>
  71. <li>server - pop.secureserver.net</li>
  72. <li>port - 110</li>
  73. <li>userid - xxxxx@yourdomain</li>
  74. <li>password - your password </li>
  75. </ul>
  76. <p>GoDaddy hosting does not allow you to connect to non-GoDaddy mail servers like Gmail.</p>
  77. <h4 id='answer-8'>My posts show up as being posted by 'admin' instead of me. Why?</h4>
  78. <p>If your admin account is linked to <a href="mailto:bar@gmail.com">bar@gmail.com</a>, and you send mail from
  79. <a href="mailto:bar@gmail.com">bar@gmail.com</a>, it will show up as being posted by admin. If you have a
  80. wordpress user named "John Doe", which is linked to <a href="mailto:johndoe@gmail.com">johndoe@gmail.com</a>, make
  81. sure that you send e-mails from <a href="mailto:johndoe@gmail.com">johndoe@gmail.com</a>. It doesn't matter which
  82. e-mail address postie is checking. That is, if you send mail from
  83. <a href="mailto:johndoe@gmail.com">johndoe@gmail.com</a> to <a href="mailto:foo@gmail.com">foo@gmail.com</a>, it gets posted as "John Doe".</p>
  84. <p>If you send an e-mail to your postie address from an e-mail address that is no
  85. t linked to a wordpress user, it will get posted as admin.</p>
  86. <h4 id='answer-9'>Images aren't showing up at all?</h4>
  87. <p>There are a couple possible reasons for this. First, check to see if you can
  88. add an image through wordpress's normal posting mechanism. If not, then there
  89. is probably 1 or 2 problems:
  90. 1. Your server does not have the php-gd library installed. Ask your hosting
  91. provider about this.</p>
  92. <ol>
  93. <li>Your wp-content/uploads directory is not writable by the webserver. Make
  94. sure that it is</li>
  95. </ol>
  96. <h4 id='answer-10'>Can I delete the wp-files directory needed by postie version &lt;1.3.0?</h4>
  97. <p>If you have posts published already by older versions of postie, getting rid
  98. of those directories will delete any files you might have had associated with
  99. those old posts. If you don't have any such posts, then you can safely delete
  100. them.</p>
  101. <h4 id='answer-11'>How can I get rid of stupid stuff my e-mail provider adds to my messages?</h4>
  102. <p>To strip off stuff that they add at the beginning of a message, start your
  103. post with :start</p>
  104. <p>To strip off stuff that they add at the end of a message, end your
  105. post with :end</p>
  106. <h4 id='answer-12'>How can I add custom attachment icons?</h4>
  107. <p>Simply upload the icons you want to the postie/icons/custom directory. You
  108. must name the icons according to the following scheme:</p>
  109. <pre><code>{filetype}-{size}.png</code></pre>
  110. <p>NOTE THAT ANY CUSTOM FILES ADDED TO THE POSTIE DIRECTORY WILL BE DELETED IF YOU
  111. USE THE NORMAL WORDPRESS UPGRADE PROCESS.</p>
  112. <p>For example, for word documents, you could use:</p>
  113. <pre><code>doc-32.png</code></pre>
  114. <p>for a 32x32 pixel icon. (You can actually create any size icon you want, but
  115. if you name it 32, then it will only be used if you select to use size 32
  116. icons)</p>
  117. <p>See the other directories in icons for more examples.</p>
  118. <p>Currently the following filetypes are supported:</p>
  119. <ul>
  120. <li>doc - microsoft word (including docx)</li>
  121. <li>ppt - microsoft powerpoint (including pptx)</li>
  122. <li>xls - microsoft excel (including xlsx)</li>
  123. <li>numbers - iWork numbres spreadsheet</li>
  124. <li>pages - iWork pages document</li>
  125. <li>key - iWork keynote presentation</li>
  126. <li>pdf - portable document format</li>
  127. <li>rtf - rich text format</li>
  128. <li>txt - plain text document</li>
  129. </ul>
  130. <h4 id='answer-13'>Can I add special text to the body of the post when using postie?</h4>
  131. <p>Yes. You can create your own function, and use the postie_post filter.
  132. Two short examples are included in the filterPostie.php.sample file</p>
  133. <h4 id='answer-14'>Can I add special text to the title of the post when using postie?</h4>
  134. <p>Yes. You can create your own function, and use the postie_post filter.
  135. Two short examples are included in the filterPostie.php.sample file</p>
  136. <h4 id='answer-15'>Can I select tags or categories based on the content of the e-mail?</h4>
  137. <p>Yes. You can create your own function, and use the postie_post filter.
  138. See the filterPostie.php.sample file for examples.</p>
  139. <h4 id='answer-16'>Is the IMAP extension required for postie?</h4>
  140. <p>The IMAP extension is not required, but it is strongly recommended, especially
  141. is you are using non-English text. There is more information on php.net about
  142. installing the IMAP extension. If you have control over your server, it is
  143. often not hard to install.</p>
  144. <p>On Ubuntu, try</p>
  145. <pre><code>sudo apt-get install php5-imap</code></pre>
  146. <p>On Fedora, try</p>
  147. <pre><code>sudo yuminstall php-imap</code></pre>
  148. <p>The IMAP extension is known to be installed on the following popular webhosts:
  149. * Dreamhost</p>
  150. <h4 id='answer-17'>How can I embed youtube or vimeo videos?</h4>
  151. <p>Simply put the url in the body of your e-mail. (Make sure that you have the
  152. option to convert url into links turned on)</p>
  153. <h4 id='answer-18'>Something is going wrong, how do I see what is happening?</h4>
  154. <p>Add the following lines to your wp-config.php file</p>
  155. <pre><code>define(&#039;WP_DEBUG&#039;, true);
  156. define(&#039;WP_DEBUG_LOG&#039;, true);
  157. define(&#039;POSTIE_DEBUG&#039;, true);</code></pre>
  158. <p>Various errors, warning and informational will be written to the wp-content\debug.log
  159. file. There may also be all sorts of warnings and messages in your site as well
  160. depending on how well behaved your other plugins and themes are, so you will not
  161. want to leave these settings set to true all the time.</p>
  162. <h4 id='answer-19'>Why doesn't Postie automatically publish my emails when running manually works</h4>
  163. <p>WordPress cron (which Postie relies on) doesn't run unless a page is accessed on the
  164. site. So if you send an email, but nobody accesses the site for 3 days Postie won't
  165. be given the chance to fetch the email and publish the post.</p>
  166. <p>To ensure that Postie runs smoothly on a low or no volume site you need to ensure that
  167. a page gets hit (any page is fine). Use something like cron + curl on Linux or install
  168. curl on Windows and use the Scheduled Tasks control panel. If you are using a hosting company
  169. that doesn't allow you access to cron you can use a service like
  170. <a href="https://www.setcronjob.com/">SetCronJob</a>.</p>
  171. <p>It is also possible to turn the WordPress cron off. Please make sure something like</p>
  172. <pre><code>define(&#039;DISABLE_WP_CRON&#039;, true);</code></pre>
  173. <p>is not in your wp-config.php file.</p>