Commit Graph

57 Commits

Author SHA1 Message Date
Peter Westwood 66ce91f31f Add a filter to allow post-by-email plugins better control over the content.
git-svn-id: https://develop.svn.wordpress.org/trunk@10412 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 22:31:27 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Peter Westwood 93269fad46 Improve wp-mail utf8 support. Fixes #6788 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10011 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 18:40:16 +00:00
Ryan Boren 6f0b606518 Localization for wp-mail. Props filosofo. fixes #8051
git-svn-id: https://develop.svn.wordpress.org/trunk@9504 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 23:35:34 +00:00
Ryan Boren c2d2f01baa Revert POP3 changes. Localization for wp-mail. Props filosofo. see #8051
git-svn-id: https://develop.svn.wordpress.org/trunk@9503 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 23:25:11 +00:00
Peter Westwood e7559c8134 Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@8754 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 20:47:01 +00:00
Peter Westwood 9099a0e896 Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8488 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:56:38 +00:00
Ryan Boren e25996c368 File file level phpdoc from jacobsantos. see #7037
git-svn-id: https://develop.svn.wordpress.org/trunk@7991 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:50:15 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Ryan Boren bee51869ea Don't echo content. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@6526 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-29 19:38:33 +00:00
Ryan Boren cd740755cc Don't echo posted content. Specialchars all other displayed info.
git-svn-id: https://develop.svn.wordpress.org/trunk@6524 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-29 19:20:15 +00:00
Ryan Boren a01ab04c3b Add some sanitization
git-svn-id: https://develop.svn.wordpress.org/trunk@6500 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-27 08:08:11 +00:00
Ryan Boren 7ca479d4c1 Escape pop3 error messages. Props xknown. fixes #5484
git-svn-id: https://develop.svn.wordpress.org/trunk@6404 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-18 20:06:37 +00:00
Peter Westwood d3be09a763 Ensure wp-mail doesn't issue a 500 error if no messages are available to post. Fixed #5420 props Bobcat
git-svn-id: https://develop.svn.wordpress.org/trunk@6357 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 07:39:07 +00:00
Ryan Boren 1715c0f74e When posting by email, publish only if user has publish caps, otherwise set status to pending. Props Bobcat. fixes #4642
git-svn-id: https://develop.svn.wordpress.org/trunk@6349 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-29 05:51:09 +00:00
Ryan Boren 8878de4cf3 Fix email address parsing in wp-mail.php. Props Bobcat. fixes #5169
git-svn-id: https://develop.svn.wordpress.org/trunk@6281 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-21 06:18:59 +00:00
Mark Jaquith 93014f5c00 Strip From/Reply-To from e-mail before sanitizing in wp-mail.php. Props Bobcat. fixes #5169
git-svn-id: https://develop.svn.wordpress.org/trunk@6217 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-10 16:46:20 +00:00
Mark Jaquith 1e41dc0c9e Properly sanitize e-mail addresses in wp-mail.php. Props giannis1. fixes #5169 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6212 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:15:37 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Mark Jaquith 1b56625a0d Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924
git-svn-id: https://develop.svn.wordpress.org/trunk@6056 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:07:13 +00:00
Ryan Boren 52eceb61d0 Formatting cleanups from johnjosephbachir. fixes #4775
git-svn-id: https://develop.svn.wordpress.org/trunk@5901 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-19 22:25:44 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n b972383f1c Add in missing delimiter. fixes #4226 for 2.0, 2.2 and 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5396 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-05 02:51:20 +00:00
rob1n 429613b2cc Add support to wp-mail.php for quoted-printable Content-Transfer-Encoding. Props Nazgul. fixes #2460
git-svn-id: https://develop.svn.wordpress.org/trunk@5188 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:57:46 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 4591c517ce wp_die() improvements from Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@4006 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 05:29:10 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren 852e4073b7 wp-mail quote escaping fix from majelbstoat. fixes #2209
git-svn-id: https://develop.svn.wordpress.org/trunk@3475 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:49:22 +00:00
Matt Mullenweg 749abafaae Fixes #1515
git-svn-id: https://develop.svn.wordpress.org/trunk@3085 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 11:38:15 +00:00
Ryan Boren a2a0f6031e Give wp-mail a little love.
git-svn-id: https://develop.svn.wordpress.org/trunk@2960 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 21:20:52 +00:00
michelvaldrighi 2f84e4d158 set emailed posts to be published. won't do no good moblogging if in the end one has to publish everything later
git-svn-id: https://develop.svn.wordpress.org/trunk@2196 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 13:21:12 +00:00
michelvaldrighi 3213112f89 moving the pop3->delete call to the end of the loop so that emails are deleted if and only if a post is made successfully
git-svn-id: https://develop.svn.wordpress.org/trunk@2176 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 19:00:25 +00:00
michelvaldrighi bbf8db321d no wonder posting by e-mail was broken
git-svn-id: https://develop.svn.wordpress.org/trunk@2174 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 17:19:56 +00:00
Matt Mullenweg 3c0cfd3fc8 Have WP mailed post come from author if email matches author in DB. Hat tip: Jerome Cornet.
git-svn-id: https://develop.svn.wordpress.org/trunk@1624 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:57:52 +00:00
Matt Mullenweg bf70fc82bd Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:03:51 +00:00
Matt Mullenweg 6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Ryan Boren 3a5935b85a More wp-mail timezone and delimiter fixes from Kitten.
git-svn-id: https://develop.svn.wordpress.org/trunk@1487 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 15:04:37 +00:00
Ryan Boren 24ef08514c Queue, SMS, timezone, and permalink fixes for wp-mail from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1484 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-26 15:57:32 +00:00
Ryan Boren f4f0868e97 Use default_email_category. Credit: Kitten.
git-svn-id: https://develop.svn.wordpress.org/trunk@1371 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 15:44:32 +00:00
Matt Mullenweg 717855f007 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Matt Mullenweg d93185b464 Timezone fix from Kimmo Suominen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1313 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 05:43:32 +00:00
Matt Mullenweg eb31112a61 Added filter and action hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1158 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 00:28:18 +00:00
Matt Mullenweg fb9ec6bad8 New mail functionality.
git-svn-id: https://develop.svn.wordpress.org/trunk@1153 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 22:43:47 +00:00
Matt Mullenweg 4b6149eecf Timezone fixes, I hope.
git-svn-id: https://develop.svn.wordpress.org/trunk@1150 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:52:24 +00:00
Matt Mullenweg 94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Matt Mullenweg 27341ba5ed Remove some calls to the old ping functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1094 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-18 19:10:16 +00:00
michelvaldrighi a251e1e4ea Tom Jones tunes remain the best weapons against Martians to this day -- big fixes here
git-svn-id: https://develop.svn.wordpress.org/trunk@1030 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-30 01:16:40 +00:00