Commit Graph

56 Commits

Author SHA1 Message Date
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi
84867318d6 Improve wp-mail utf8 support. Fixes #6788 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 18:40:16 +00:00
ryan
0f33f00e43 Localization for wp-mail. Props filosofo. fixes #8051
git-svn-id: http://svn.automattic.com/wordpress/trunk@9504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 23:35:34 +00:00
ryan
23feb0523b Revert POP3 changes. Localization for wp-mail. Props filosofo. see #8051
git-svn-id: http://svn.automattic.com/wordpress/trunk@9503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 23:25:11 +00:00
westi
00583d64eb Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 20:47:01 +00:00
westi
ec5a60f0cf Remove setting of error_reporting and just use the default WordPress error_reporting settings. Fixes #7035 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:56:38 +00:00
ryan
a6a1522a8d File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan
5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan
eabc128c41 Don't echo content. Props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 19:38:33 +00:00
ryan
baf6e7b6ae Don't echo posted content. Specialchars all other displayed info.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 19:20:15 +00:00
ryan
6d6280b7a2 Add some sanitization
git-svn-id: http://svn.automattic.com/wordpress/trunk@6500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-27 08:08:11 +00:00
ryan
b7f907b875 Escape pop3 error messages. Props xknown. fixes #5484
git-svn-id: http://svn.automattic.com/wordpress/trunk@6404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 20:06:37 +00:00
westi
80f85b53e3 Ensure wp-mail doesn't issue a 500 error if no messages are available to post. Fixed #5420 props Bobcat
git-svn-id: http://svn.automattic.com/wordpress/trunk@6357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 07:39:07 +00:00
ryan
a7c0525870 When posting by email, publish only if user has publish caps, otherwise set status to pending. Props Bobcat. fixes #4642
git-svn-id: http://svn.automattic.com/wordpress/trunk@6349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-29 05:51:09 +00:00
ryan
a92c487cc0 Fix email address parsing in wp-mail.php. Props Bobcat. fixes #5169
git-svn-id: http://svn.automattic.com/wordpress/trunk@6281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-21 06:18:59 +00:00
markjaquith
88735ac45a Strip From/Reply-To from e-mail before sanitizing in wp-mail.php. Props Bobcat. fixes #5169
git-svn-id: http://svn.automattic.com/wordpress/trunk@6217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-10 16:46:20 +00:00
markjaquith
1b7798d214 Properly sanitize e-mail addresses in wp-mail.php. Props giannis1. fixes #5169 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:15:37 +00:00
ryan
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
markjaquith
6ecaec3d1f Skip deprecated option replacement in wp-mail.php. props Nazgul. fixes #4924
git-svn-id: http://svn.automattic.com/wordpress/trunk@6056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:07:13 +00:00
ryan
645bbfa324 Formatting cleanups from johnjosephbachir. fixes #4775
git-svn-id: http://svn.automattic.com/wordpress/trunk@5901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-19 22:25:44 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n
b6fc2cacce Add in missing delimiter. fixes #4226 for 2.0, 2.2 and 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-05 02:51:20 +00:00
rob1n
7068240303 Add support to wp-mail.php for quoted-printable Content-Transfer-Encoding. Props Nazgul. fixes #2460
git-svn-id: http://svn.automattic.com/wordpress/trunk@5188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:57:46 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
4e5380a24a wp_die() improvements from Sewar. fixes #2902
git-svn-id: http://svn.automattic.com/wordpress/trunk@4006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-10 05:29:10 +00:00
ryan
42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
7310346328 wp-mail quote escaping fix from majelbstoat. fixes #2209
git-svn-id: http://svn.automattic.com/wordpress/trunk@3475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:49:22 +00:00
matt
1bf946e618 Fixes #1515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 11:38:15 +00:00
ryan
df89b36156 Give wp-mail a little love.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 21:20:52 +00:00
michelvaldrighi
e75e000346 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: http://svn.automattic.com/wordpress/trunk@2196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 13:21:12 +00:00
michelvaldrighi
65950b5a8d 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: http://svn.automattic.com/wordpress/trunk@2176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 19:00:25 +00:00
michelvaldrighi
b9ea830dd6 no wonder posting by e-mail was broken
git-svn-id: http://svn.automattic.com/wordpress/trunk@2174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 17:19:56 +00:00
saxmatt
cb96cccdb6 Have WP mailed post come from author if email matches author in DB. Hat tip: Jerome Cornet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:57:52 +00:00
saxmatt
ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt
c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
rboren
3e1304d68b More wp-mail timezone and delimiter fixes from Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 15:04:37 +00:00
rboren
87812da903 Queue, SMS, timezone, and permalink fixes for wp-mail from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-26 15:57:32 +00:00
rboren
bc0c6ed878 Use default_email_category. Credit: Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 15:44:32 +00:00
saxmatt
25ae03ee65 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: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
saxmatt
5b0fcdb500 Timezone fix from Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 05:43:32 +00:00
saxmatt
2f4218a08b Added filter and action hooks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 00:28:18 +00:00
saxmatt
a0ad8e4dc0 New mail functionality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:43:47 +00:00
saxmatt
9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
saxmatt
10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
saxmatt
ce32eb01ba Remove some calls to the old ping functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-18 19:10:16 +00:00
michelvaldrighi
6b1830d0af Tom Jones tunes remain the best weapons against Martians to this day -- big fixes here
git-svn-id: http://svn.automattic.com/wordpress/trunk@1030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-30 01:16:40 +00:00
michelvaldrighi
b8df8fb93d now storing emailed posts as localtime+gmt
git-svn-id: http://svn.automattic.com/wordpress/trunk@1004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:45:32 +00:00