I had changed the original using John Blade’s hack as well as the ones listed below. I wanted to take advantage of the delay posting feature (tag that allows delay:0d0h0m to put a delay in the email for future posting). Edit the wp-mail.php file:
// Keeps content until finds a line with ‘–‘ or ‘- –‘
// This effectively removes signatures
function RemoveSignature( $content ) {
$arrcontent = explode(“\n”, $content);
$append = TRUE;
$i = 0;
for ($i = 0; $i<=count($arrcontent); $i++)
{
$line = $arrcontent[$i];
$nextline = $arrcontent[$i+1];
if ( preg_match(‘/^–$/’,trim($line))
OR preg_match(‘/^- –$/’,$line) ) {
$append = FALSE;
}
if ( $append ) {
$strcontent .= $line .”\n”;
}
}
return $strcontent;
}
and put in your own string. It is specifically to allow you to use free services that tack on advertising or a message such as that.
http://blade.lansmash.com/?p=156
http://www.economysizegeek.com/?p=88
http://www.wavestyle.ch/content/technik/code/wp-mail.htm
I don’t know about anyone else, but I am completely, totally lost! I’m so lost at this point that I’m not even sure what questions to ask!
I’ve done what WP says to do – and get nothing! So what’s left? I wish someone who has the e-mail post feature working – without any plug in’s, hacks, and other stuff the non-techs like me can’t figure out – could explain how to do it in simple English.
Any takers or am I doomed to wander these dark halls of ignorance alone?? 😉
I have it working.
I am running WordPress 1.5.1.1 on Windows 2000 Advanced Server with Argosoft Mail Server Pro.
I followed the directions found at http://wiki.ww.wp.xz.cn/How%20To%20Blog%20By%20Email
I made the change to the wp-include/class-pop3.php file and it works well.
One thing I noticed though is that the message posts to the blog in the order it was sent. So, the eight test postings I made a month ago posted in the blog in the spot that met their date.
In short, I sent a message on May 4th and it posted on like the third page in between posts from May 3rd and May 5th. I had to go look for it.
http://www.rons-sandbox.com/blog/?p=37
I don’t know if the mail plugin I use for SMTP notification is critical or not, I doubt it though since it just checks your pop3 account.
Questions? let me know.
Ron Hagerman
Hi Ron,
Thanks for the post, I’m trying it now, but I don’t see much different here from what I had done, but I’ll do it all and see if it works or not! I’ll post the results here when I know them!
– Logan
Okay – did what you suggested and here the response I got!
Ooops POP3 connect: Error [97] [Address family not supported by protocol]
Any ideas?