• Resolved jcowdrey

    (@jcowdrey)


    I need to add a random string to the end of an incoming “post-by-email” so that when it’s posted in my blog that random string is at the bottom of each post. Each post will have a different random string.

    I think I can make the change to wp-mail.php, and add this php code which will be a random string: <?php print date(“U”); ?>

    Any idea where in wp-mail.php I would add this? I’m looking now as well.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter jcowdrey

    (@jcowdrey)

    In case anyone wants to know, I tried my hack with wp-mail.php, but there still appears to be some sort of issue with only posting the subject from the incoming emails.

    So I modified the Postie plugin to add the date(“U”) code to the end of the content string. also added an “ID:” to make it more legit.

    Works fabulously!

Viewing 1 replies (of 1 total)
  • The topic ‘wp-mail hack – add random string to each incoming email’ is closed to new replies.