{"id":70,"date":"2011-08-29T08:49:02","date_gmt":"2011-08-29T13:49:02","guid":{"rendered":"http:\/\/microgecko.com\/binnacle\/?p=70"},"modified":"2011-09-26T17:37:05","modified_gmt":"2011-09-26T22:37:05","slug":"actualizar-post-de-wordpress-enviado-por-mail","status":"publish","type":"post","link":"https:\/\/microgecko.isi.com.mx\/?p=70","title":{"rendered":"Actualizar post de wordpress enviado por mail"},"content":{"rendered":"<div class=3DWordSection1>\n<p =\nclass=3DMsoNormal>&nbsp;<\/p>\n<p class=3DMsoNormal>http:\/\/=<br \/>\ncodex.wordpress.org\/Post_to_your_blog_using_email<\/p>\n<p =\nclass=3DMsoNormal>&nbsp;<\/p>\n<p><span lang=3DEN-US>WordPress =<br \/>\ncan be configured to use e-mail to post to a blog. To enable this =<br \/>\nfunctionality, you need to: <\/span><\/p>\n<p><span lang=3DEN-US>Create a dedicated e-mail account to be =<br \/>\nused solely for posting to your blog, <\/span><span lang=3DEN-US>Configure WordPress to access that =<br \/>\naccount, and <\/span><span lang=3DEN-US>Configure WordPress to publish messages =<br \/>\nfrom the e-mail account <\/span><\/p>\n<p><span =\nlang=3DEN-US>You can blog by e-mail using most standard e-mail software =<br \/>\nprograms or a <\/span><span lang=3DEN-US>Weblog Client<\/span><span lang=3DEN-US> =<br \/>\n&#8212; a program specifically designed to send posts via email. =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>Limitations: &#8211; Standard =<br \/>\ncharacters in the object &#8211; Plain text only <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Setting Up Post via E-mail<\/span><\/span><span =\nlang=3DEN-US><\/span><span =\nclass=3Dmw-headline><span lang=3DEN-US>Step 1 &#8211; Create an e-mail =<br \/>\naccount<\/span><\/span><span lang=3DEN-US><\/span><span lang=3DEN-US>Log in to WordPress with the =<br \/>\nadministration login you use to administer your WordPress blog. =<br \/>\n<\/span>Go to Settings &gt; Writing. <span lang=3DEN-US>Read the instructions under <b>Post via =<br \/>\ne-mail<\/b> at the bottom of the page. At the end of these instructions, =<br \/>\nWordPress will suggest three random strings of numbers you may want to =<br \/>\nuse for the login name of the new e-mail account you&#8217;ll create. =<br \/>\n<\/span><span lang=3DEN-US>Create a new e-mail account on your web =<br \/>\nhost&#8217;s mail server or a separate e-mail server, using one of the =<br \/>\nsuggested numeric strings (or your own secret word) for the username =<br \/>\n(also called a &quot;login name&quot;). A mail server receives e-mails =<br \/>\non your behalf and stores them for retrieval. Do <b>not<\/b> use public, =<br \/>\nfree e-mail servers like Yahoo, Hotmail, etc., for this account. =<br \/>\n<\/span><\/p>\n<p class=3DMsoNormal =\nstyle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:3=\n6.0pt'><b><span lang=3DEN-US>Note:<\/span><\/b><span lang=3DEN-US> It is =<br \/>\nstrongly recommended that you use a &quot;secret&quot; address &#8211; that =<br \/>\nis, an e-mail account name that is very difficult to guess and known =<br \/>\nonly to you, such as those suggested by WordPress. Any e-mail sent to =<br \/>\nthis address will automatically be posted to your blog. Be aware, =<br \/>\nhowever, that some e-mail servers do not allow numbers-only e-mail =<br \/>\naccounts or accounts starting with a number. Please check with your web =<br \/>\nhost. <\/span><\/p>\n<p><span =\nclass=3Dmw-headline><span lang=3DEN-US>Step 2 &#8211; Configure WordPress to =<br \/>\naccess your new account<\/span><\/span><span =\nlang=3DEN-US><\/span><span lang=3DEN-US>When you are done creating the new =<br \/>\ne-mail account , return to the Writing Options panel and fill in the =<br \/>\nname of the <b>mail server<\/b> and <b>port number<\/b> your web hosting =<br \/>\nprovider uses. (If you don&#8217;t know these, refer to your web hosting =<br \/>\nprovider&#8217;s FAQ or manual pages. The port number is usually 110.) If your =<br \/>\nmail server requires an SSL (secure) connection, precede your mail =<br \/>\nserver address with <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>ssl:\/\/<\/span><span lang=3DEN-US>, e.g. =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>ssl:\/\/pop.example.com<\/span><span =\nlang=3DEN-US>. <\/span><span lang=3DEN-US>Next, enter the <i>login name<\/i> and =<br \/>\n<i>password<\/i> for your new e-mail account =<br \/>\n.<\/span><\/p>\n<p class=3DMsoNormal =\nstyle=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:3=\n6.0pt'><b><span lang=3DEN-US>NOTE:<\/span><\/b><span lang=3DEN-US> In the =<br \/>\nLogin Name field, use the full e-mail address (e.g., <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>user@example.com<\/span><span =\nlang=3DEN-US>).<\/span><\/p>\n<p><span lang=3DEN-US>Choose the default category that will be =<br \/>\nassigned to posts submitted via e-mail. <\/span>Click <b>Update Options<\/b> . <\/p>\n<p =\nclass=3DMsoNormal><b><span lang=3DEN-US>NOTE:<\/span><\/b><span =\nlang=3DEN-US> If you are using the <\/span><span =\nlang=3DEN-US>Administration<\/span><span lang=3DEN-US> &gt; <\/span><span =\nlang=3DEN-US>Settings<\/span><span lang=3DEN-US> &gt; <\/span><span =\nlang=3DEN-US>Writing<\/span><span lang=3DEN-US> &gt; <\/span><span lang=3DEN-US>Post via =<br \/>\ne-mail section<\/span><span lang=3DEN-US> to specify the e-mail =<br \/>\naddress <i>before<\/i> you&#8217;ve actually created the e-mail account, =<br \/>\nremember to use the same login and password when you create the account =<br \/>\nas you specified in the section.<\/span><\/p>\n<p><span =\nclass=3Dmw-headline><span lang=3DEN-US>Step 3 &#8211; Publish Your E-mail =<br \/>\nPosts <\/span><\/span><span lang=3DEN-US><\/span><\/p>\n<p><span =\nlang=3DEN-US>You&#8217;ve created the new e-mail account and configured your =<br \/>\nWordPress blog to accept e-mails from that account, but you still need =<br \/>\nto set up WordPress to publish those e-mail messages on your blog. Do =<br \/>\none of the following: <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Manual Browser Activation<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>Go to the =<br \/>\nfollowing link <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>http:\/\/example.com\/ins=<br \/>\ntalldir\/wp-mail.php<\/span><span lang=3DEN-US> immediately after =<br \/>\nyou send an e-mail to your new e-mail account. (<b>Note:<\/b> You must do =<br \/>\nthis every time you send a new post.) <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Automated Browser Activation<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>An alternative =<br \/>\nto manual browser activation is to add the following iframe code to the =<br \/>\nfooter of your blog: <\/span><\/p>\n<p><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>&lt;iframe =<br \/>\nsrc=3D&quot;<\/span><span style=3D'font-size:10.0pt'><span =\nlang=3DEN-US>http:\/\/yourblogdomain\/wordpressinstalldir\/wp-mail.php<\/span>=<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>&quot; name=3D&quot;mailiframe&quot; =<br \/>\nwidth=3D&quot;0&quot; height=3D&quot;0&quot; frameborder=3D&quot;0&quot; =<br \/>\nscrolling=3D&quot;no&quot; =<br \/>\ntitle=3D&quot;&quot;&gt;&lt;\/iframe&gt;<\/span><span lang=3DEN-US> =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>Edit the above line of code =<br \/>\nso that it refers to the location of your wp-mail.php file. Add this =<br \/>\nline of code to the footer.php file in the directory for whatever theme =<br \/>\nyou are using (don&#8217;t include it within an HTML paragraph). =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>You may have to refresh your =<br \/>\nblog to see the new post. New users may find this method the most =<br \/>\nhelpful. <\/span><\/p>\n<p><span lang=3DEN-US>If you&#8217;re using or =<br \/>\nwould like to use the <\/span><span =\nlang=3DEN-US>Postie Plugin<\/span><span lang=3DEN-US> for WordPress, =<br \/>\nuse the following iframe code, which will call Postie&#8217;s check mail =<br \/>\ncommands: <\/span><\/p>\n<p><span lang=3DEN-US>&lt;iframe =<br \/>\nsrc=3D&quot;<\/span><span =\nlang=3DEN-US>http:\/\/yourblogdomain\/wordpressinstalldir\/wp-content\/plugins=<br \/>\n\/postie\/get_mail.php?Submit=3DRun+Postie<\/span><span =\nlang=3DEN-US>&quot; name=3D&quot;mailiframe&quot; width=3D&quot;0&quot; =<br \/>\nheight=3D&quot;0&quot; frameborder=3D&quot;0&quot; =<br \/>\nscrolling=3D&quot;no&quot; title=3D&quot;&quot;&gt; &lt;\/iframe&gt; =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>Add this code to your =<br \/>\nfooter, and the next time anyone goes to your blog, your new emails will =<br \/>\nbe automatically posted, so you need to do nothing but send them. You =<br \/>\nmay have to refresh the blog to see the changes. =<br \/>\n<\/span><\/p>\n<p><span =\nclass=3Dmw-headline><span lang=3DEN-US>Action-based =<br \/>\n<\/span><\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>functions.php<\/span><span =\nclass=3Dmw-headline><span lang=3DEN-US> Activation <\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>An alternative =<br \/>\nto calling the <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>iframe<\/span><span lang=3DEN-US> on =<br \/>\nevery page load (detailed above), or setting up a cron job (details =<br \/>\nbelow), you can add an action to your active theme&#8217;s <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>functions.php<\/span><span =\nlang=3DEN-US> file. This will check for mail every 15 minutes and does =<br \/>\nnot add any HTML to your theme. <\/span><\/p>\n<p><span =\nlang=3DEN-US>add_action(&#8216;shutdown&#8217;, =<br \/>\n&#8216;retrieve_post_via_mail&#8217;);<\/span><span =\nlang=3DEN-US>function retrieve_post_via_mail() =<br \/>\n{<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flush(); \/\/ =<br \/>\nDisplay the page before the mail fetching =<br \/>\nbegins<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =<br \/>\nif(get_transient(&#8216;retrieve_post_via_mail&#8217;)) { =<br \/>\n<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp; return; \/\/ The mail has been checked recently; =<br \/>\ndon&#8217;t check again<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else { \/\/ The =<br \/>\nmail has not been checked in more than 15 =<br \/>\nminutes<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp; $mail =3D =<br \/>\nwp_remote_get(get_bloginfo(&#8216;wpurl&#8217;).&#8217;\/wp-mail.php&#8217;);<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp; if(!is_wp_error($mail)) { \/\/ If retrieve =<br \/>\nsucceeded<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =<br \/>\nset_transient(&#8216;retrieve_post_via_mail&#8217;, 1, 60 * 15); \/\/ check again in =<br \/>\n15 minutes.<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp; } else {<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =<br \/>\nset_transient(&#8216;retrieve_post_via_mail&#8217;, 1, 60 * 5); \/\/ check again in 5 =<br \/>\nminutes; we don&#8217;t want to overload the =<br \/>\nserver<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp; }<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =<br \/>\n}<\/span><span =\nlang=3DEN-US>}<\/span><\/p>\n<p><span lang=3DEN-US>This method =<br \/>\nis good for users who would like to avoid using cron jobs, which are =<br \/>\nconfigured on the server. Unlike cron jobs, this process will only run =<br \/>\nwhen pages on the blog are loaded. <em>Cron jobs run independent of site =<br \/>\ntraffic.<\/em> <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>WP-Cron Plugin Activation <\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>Download, =<br \/>\ninstall, and activate the <\/span><span =\nlang=3DEN-US>WP-Cron<\/span><span lang=3DEN-US> Plugin. It will work =<br \/>\nin the background without user intervention to update your site about =<br \/>\nevery 15 minutes. <\/span><\/p>\n<p><b><span lang=3DEN-US>NOTE: =<br \/>\nWP-CRON is no longer supported by the author<\/span><\/b><span =\nlang=3DEN-US> <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Cron Job Activation <\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>Set up a UNIX =<br \/>\ncron job to have your blog periodically view <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>http:\/\/example.com\/ins=<br \/>\ntalldir\/wp-mail.php<\/span><span lang=3DEN-US> using a =<br \/>\ncommand-line HTTP agent like wget, curl or GET. The command to execute =<br \/>\nwill look like: <\/span><\/p>\n<p><span lang=3DEN-US>wget -N http:\/\/example.com\/ins=<br \/>\ntalldir\/wp-mail.php <\/span><\/p>\n<p><span lang=3DEN-US>If =<br \/>\nyou use a different program than <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wget<\/span><span lang=3DEN-US>, =<br \/>\nsubstitute that program and its arguments for <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>wget<\/span><span =\nlang=3DEN-US> in this line. <\/span><\/p>\n<p><b><span =\nlang=3DEN-US>Note:<\/span><\/b><span lang=3DEN-US> Another possibility is =<br \/>\nto run &quot;php \/full\/path\/to\/wp-mail.php&quot; in a cronjob. This will =<br \/>\nrun the php-script using php, without the need for an extra program to =<br \/>\nrun. (You are more likely authorized to run php than wget.) =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>For more information about =<br \/>\nsetting up a cron job, see: <\/span><\/p>\n<p>Intro=<br \/>\n To Cron Jobs <span lang=3DEN-US>Your hosting provider&#8217;s FAQ or manual =<br \/>\npages <\/span><\/p>\n<p><b><span lang=3DEN-US>Note to =<br \/>\nWindows Users:<\/span><\/b><span lang=3DEN-US> There are similar programs =<br \/>\nto cron available if your host runs Windows. For example, <\/span><span =\nlang=3DEN-US>VisualCron<\/span><span lang=3DEN-US>, <\/span><span lang=3DEN-US>Cron for =<br \/>\nWindows<\/span><span lang=3DEN-US> and <\/span>pycron<\/span><span lang=3DEN-US>. Consult these =<br \/>\nprojects&#8217; documentation for further information. =<br \/>\n<\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Procmail Activation <\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>If your server =<br \/>\nuses <\/span><span =\nlang=3DEN-US>procmail<\/span><span lang=3DEN-US>, a simple =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>.procmailrc<\/span><span lang=3DEN-US> in =<br \/>\nthe blogmailaccounts home directory will be sufficient: =<br \/>\n<\/span><\/p>\n<p><span =\nlang=3DEN-US>Shell=3D\/bin\/sh<\/span><span =\nlang=3DEN-US>MAILDIR=3D$HOME\/.maildir\/<\/span><span =\nlang=3DEN-US>DEFAULT=3D$MAILDIR<\/span><span =\nlang=3DEN-US>:0<\/span><span =\nlang=3DEN-US>{<\/span><span =\nlang=3DEN-US>:0Wc<\/span><span =\nlang=3DEN-US>.\/<\/span><span =\nlang=3DEN-US>:0<\/span><span lang=3DEN-US>| wget -N =<br \/>\n<\/span><span =\nlang=3DEN-US>http:\/\/example.com\/installdir\/wp-mail.php<\/span><span =\nlang=3DEN-US><\/span><span =\nlang=3DEN-US>}<\/span><\/p>\n<p><span lang=3DEN-US>This could =<br \/>\nbe more specific, such as capturing certain subject expressions. Check =<br \/>\n<\/span><span =\nlang=3DEN-US>procmail<\/span><span lang=3DEN-US> for more =<br \/>\ninformation. <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>.qmail Activation <\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>If your server =<br \/>\nuses qmail to process e-mail, you may be able to use it to call =<br \/>\nwp-mail.php whenever an e-mail message is delivered. To do this, first =<br \/>\ncreate a small shell script to call wp-mail.php. You could call the file =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wp-mail<\/span><span lang=3DEN-US>: =<br \/>\n<\/span><\/p>\n<p><span =\nlang=3DEN-US>#!\/bin\/sh<\/span><span =\nlang=3DEN-US>\/bin\/sh -c &quot;sleep 5; \/path\/to\/php =<br \/>\n\/path\/to\/your\/blog\/wp-mail.php &gt; \/dev\/null&quot; =<br \/>\n&amp;<\/span><\/p>\n<p><span lang=3DEN-US>The <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>sleep<\/span><span =\nlang=3DEN-US> command causes a 5-second delay to allow qmail to finish =<br \/>\nprocessing the message before wp-mail.php is called. Note that the =<br \/>\nampersand on the end of the line is required. The above script should go =<br \/>\nin your root directory, and the execute bit should be set (chmod 700). =<br \/>\nFor debugging purposes, you could change <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>\/dev\/null<\/span><span lang=3DEN-US> to a =<br \/>\nfilename to save the output generated by wp-mail.php. =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>Then all you need to do =<br \/>\ncreate\/modify the appropriate .qmail file to call your shell script. Add =<br \/>\nthe following line to the .qmail file for your mailbox name: =<br \/>\n<\/span><\/p>\n<p><span =\nlang=3DEN-US>|\/path\/to\/your\/root\/directory\/wp-mail<\/span><\/p>\n<p><span lang=3DEN-US>See your ISP&#8217;s documentation for use of .qmail =<br \/>\nfiles. Naming conventions may vary for different ISPs. =<br \/>\n<\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Email Format<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>WordPress will =<br \/>\nuse the Subject line of your email for the title of the post, and all =<br \/>\nbody of the email will be used as the content of the post, with =<br \/>\n<i>common HTML tags stripped<\/i>. WordPress will file the post under =<br \/>\nwhichever category is selected for &quot;Usual Category&quot; in Step 1, =<br \/>\nand will use Site Admin as the poster. <\/span><\/p>\n<p><span =\nlang=3DEN-US>Posting by email does not support attachments and any =<br \/>\nattachments sent with the email will appear in their raw form in the =<br \/>\nblog post. <\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Testing<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>To test your =<br \/>\nconfiguration, simply send an e-mail to <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>yournewaccount@yourmaildomain<\/span> (or to <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>user@yourmaildomain<\/span><span =\nlang=3DEN-US> if you used the <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>.qmail<\/span><span lang=3DEN-US> =<br \/>\nforwarding setup). <\/span>Then do the following: <\/p>\n<p><span lang=3DEN-US>If you have no automated system set up, =<br \/>\nsimply view <\/span><span lang=3DEN-US style=3D'font-size:10.0pt'>http:\/\/example.com\/ins=<br \/>\ntalldir\/wp-mail.php<\/span><span lang=3DEN-US> in your browser. =<br \/>\nThe script should tell you that it found an e-mail, and print details of =<br \/>\nthe post it made. Then view your blog again to see your email posted. =<br \/>\n<\/span><span lang=3DEN-US>If you are using an iframe code in your =<br \/>\nfooter, refresh your browser to see the new post. =<br \/>\n<\/span><span lang=3DEN-US>If you are using WP-Cron, simply wait =<br \/>\nfifteen or twenty minutes. <\/span><span lang=3DEN-US>If you have a cron job running, wait =<br \/>\nuntil the next time it&#8217;s scheduled to run (or temporarily edit the cron =<br \/>\njob to make it run sooner). If you run tail <\/span><span =\nlang=3DEN-US style=3D'font-size:10.0pt'>-f =<br \/>\n\/var\/log\/cron<\/span><span lang=3DEN-US> in a terminal, you&#8217;ll be =<br \/>\nable to see the job create its log entry when it&#8217;s finished running. =<br \/>\nWhen that happens, just view the site in your web browser to see your =<br \/>\nemail posted. <\/span><span lang=3DEN-US>Your email may be recorded with a post =<br \/>\nstatus of &#8216;Pending Review&#8217; rather than &#8216;Published&#8217;. If the status is =<br \/>\n&#8216;Pending Review&#8217;, then the post will be visible in the Dashboard but =<br \/>\nwill not be visible in the Blog. By default, wp-mail.php will validate =<br \/>\nthe sending email address against the email addresses for authorized =<br \/>\nusers. If the email address is found, the post status will be =<br \/>\n&#8216;Published&#8217;, otherwise the status will be &#8216;Pending Review&#8217;. =<br \/>\n<\/span><span class=3Dmw-headline><span =\nlang=3DEN-US>Troubleshooting<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>If you receive =<br \/>\nthe following error messages, follow the procedures below. =<br \/>\n<\/span><\/p>\n<p class=3DMsoNormal><b><span lang=3DEN-US>Error =<br \/>\nMessage:<\/span><\/b><span lang=3DEN-US> <\/span><\/p>\n<p><span =\nlang=3DEN-US>Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant =<br \/>\nserver<\/span><\/p>\n<p><span lang=3DEN-US>For this error, open =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wp-includes\/class-pop3.php<\/span><span =\nlang=3DEN-US> and change this line: <\/span><\/p>\n<p><span =\nlang=3DEN-US>if($this-&gt;RFC1939) {<\/span><\/p>\n<p><span =\nlang=3DEN-US>to this: <\/span><\/p>\n<p><span =\nlang=3DEN-US>if(!$this-&gt;RFC1939) {<\/span><\/p>\n<p><span =\nlang=3DEN-US>Note the exclamation point. =<br \/>\n<\/span><\/p>\n<p><b><span lang=3DEN-US>Error =<br \/>\nMessage:<\/span><\/b><span lang=3DEN-US> <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>There does not seem to be any new =<br \/>\nmail<\/span><span lang=3DEN-US> <\/span><\/p>\n<p><span =\nlang=3DEN-US>This error is a bit of a misnomer &#8211; the test just checks to =<br \/>\nsee if anything was retrieved. <\/span><\/p>\n<p =\nclass=3DMsoNormal><span lang=3DEN-US>If you&#8217;re feeling adventuresome, =<br \/>\nopen <\/span><\/p>\n<p><span =\nlang=3DEN-US>wp-mail.php<\/span><\/p>\n<p =\nclass=3DMsoNormal><span lang=3DEN-US>and search for: =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>$count =3D =<br \/>\n$pop3-&gt;login(get_settings(&#8216;mailserver_login&#8217;), =<br \/>\nget_settings(&#8216;mailserver_pass&#8217;));<\/span><\/p>\n<p><span =\nlang=3DEN-US>Change the lines following it to something like: =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>&nbsp;&nbsp;if (0 =3D=3D =<br \/>\n$count)&nbsp;:<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp; echo &quot;There does not seem to be any =<br \/>\nnew mail. &lt;br\/&gt;\\n&quot;;<\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp; echo &quot;count =3D $count&lt;br\/&gt; =<br \/>\n\\n&quot;; <\/span><span =\nlang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;<\/span>echo &quot;$pop3-&gt;ERROR =<br \/>\n\\n&quot;;&nbsp;&nbsp;&nbsp; =<br \/>\nexit;&nbsp; <span =\nlang=3DEN-US>endif;<\/span><\/p>\n<p><span lang=3DEN-US>You&#8217;ll =<br \/>\nthen be presented with a more informative message. =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>The e-mail server may be =<br \/>\nrefusing connections that attempt to provide an unencrypted password &#8211; =<br \/>\nlike POP3. If your webserver and e-mail server are on the same physical =<br \/>\ncomputer, you can specify <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>localhost<\/span><span lang=3DEN-US> or =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>127.0.0.1<\/span><span lang=3DEN-US> as =<br \/>\nthe mail server. That traffic is assumed to be OK without encryption =<br \/>\nbecause it never traveled across the network. =<br \/>\n<\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Extensions and Add-ons<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>There are =<br \/>\nseveral add-ons and hacks that will extend the capabilities of posting =<br \/>\nby e-mail with WordPress. Some of these may involve changing the core =<br \/>\nfiles, so do it carefully and <b>make backups<\/b>. =<br \/>\n<\/span><\/p>\n<p><span class=3Dmw-headline><span =\nlang=3DEN-US>Enhanced Functionality Hack<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>One =<br \/>\nreplacement file for the original <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wp-mail.php<\/span><span lang=3DEN-US> =<br \/>\nfile has been created: <\/span><\/p>\n<p><span =\nlang=3DEN-US>Postie<\/span><span lang=3DEN-US> supports posting to =<br \/>\ncategories, automatic removal of email signatures, POP3\/IMAL (+SSL) and =<br \/>\nmore. <\/span><span class=3Dmw-headline><span =\nlang=3DEN-US>Hack E-mail Format<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>The following =<br \/>\nenhancements may be made to your <\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wp-mail.php<\/span><span lang=3DEN-US> so =<br \/>\nyour e-mail will be translated into metadata for your post: =<br \/>\n<\/span><\/p>\n<p class=3DMsoNormal><span lang=3DEN-US>Sender&#8217;s =<br \/>\ne-mail address&nbsp;<\/span><\/p>\n<p class=3DMsoNormal =\nstyle=3D'margin-left:36.0pt'><span lang=3DEN-US>The enhanced =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>wp-mail.php<\/span><span lang=3DEN-US> =<br \/>\nlooks up the email address you send from in its user database. If there =<br \/>\nis a match with any user there, it files the post under that user. If =<br \/>\nthere is no match, it drops the e-mail and does not create a post in the =<br \/>\nblog. (Great for security and spam prevention.) It is set by the =<br \/>\n<b>From<\/b> field. <\/span><\/p>\n<p class=3DMsoNormal><span =\nlang=3DEN-US>Subject line&nbsp;<\/span><\/p>\n<p =\nclass=3DMsoNormal style=3D'margin-left:36.0pt'><span lang=3DEN-US>If =<br \/>\n<\/span><span lang=3DEN-US =\nstyle=3D'font-size:10.0pt'>[n]<\/span><span lang=3DEN-US> is present =<br \/>\nanywhere in the subject line of your email, the e-mail will be filed =<br \/>\nunder the category numbered n. Otherwise, it will be posted under =<br \/>\nwhichever category is selected for &quot;Usual Category&quot; in Step 1. =<br \/>\nExample: [1] This is a Test! would be posted as &quot;This is a =<br \/>\nTest!&quot;, filed under General. <\/span><\/p>\n<p><span =\nclass=3Dmw-headline><span lang=3DEN-US>Blog By Email From Yahoo! Mail, =<br \/>\nGmail and Hotmail<\/span><\/span><span =\nlang=3DEN-US><\/span><\/p>\n<p><span lang=3DEN-US>By default, =<br \/>\nmost web-based email clients send messages in HTML formatting, which =<br \/>\nWordPress&#8217;s blog-by-email feature filters out. =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>To get around this, you must =<br \/>\nselect &quot;plain text&quot; before sending. =<br \/>\n<\/span><\/p>\n<p><span lang=3DEN-US>In Yahoo! Mail, the button =<br \/>\nfor switching to plain text is just to the right of the SUBJECT field. =<br \/>\nIn Gmail a similar button is located at the right end of the text =<br \/>\nformatting tool bar. Hotmail&#8217;s is found next to the SPELL CHECK button =<br \/>\nin the email action bar which is located above the email message.<span =\nstyle=3D'color:#1F497D'><\/span><\/span><\/p>\n<p =\nclass=3DMsoNormal>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; http:\/\/= codex.wordpress.org\/Post_to_your_blog_using_email &nbsp; WordPress = can be configured to use e-mail to post to a blog. To enable this = functionality, you need to: Create a dedicated e-mail account to be = used solely for posting to your blog, Configure WordPress to access that = account, and Configure WordPress to publish messages = from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/70"}],"collection":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70"}],"version-history":[{"count":2,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}