Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#2275 closed enhancement (wontfix)

Check "From:" on post-by-email

Reported by: skeltoac's profile skeltoac Owned by:
Milestone: Priority: low
Severity: normal Version: 2.0
Component: General Keywords: needs-patch
Focuses: Cc:

Description (last modified by foolswisdom)

peet[dot]dk: hi, I whant to send mail2blog and it work fine with wp2 and cron. The problem is there isn't any "filter" on the function. What can I do so its only mail FROM a decided pop3 account that will be posted, and not any mail that comes to the selected mail account.

I don't want to put this in the core, but maybe a filter hook would make this possible via plugin.

Attachments (1)

2275.diff (430 bytes) - added by davidhouse 18 years ago.

Download all attachments as: .zip

Change History (10)

#1 @davidhouse
18 years ago

  • Keywords bg|has-patch email added

Following patch adds 'mail_post_pre' as an action before calling wp_insert_post(). It passes $post_data as an argument.

18 years ago

#2 @davidhouse
18 years ago

  • Keywords bg|commit added

#3 @Nazgul
18 years ago

  • Keywords has-patch commit added; bg|has-patch bg|commit removed
  • Milestone changed from 2.1 to 2.0.5

Candidate for 2.0.5.

#4 @markjaquith
18 years ago

-1 as exists. Should be a filter for increased flexibility, and should happen before everything is quoted for DB insertion.

#5 @markjaquith
18 years ago

  • Keywords needs-patch added; has-patch email commit removed
  • Milestone changed from 2.0.5 to 2.1

Also the hook would have to filter the e-mail message, not the post data. Pushing back to 2.1

#6 @matt
17 years ago

  • Milestone changed from 2.1 to 2.2

#7 @foolswisdom
17 years ago

  • Milestone changed from 2.2 to 2.4

#8 @foolswisdom
17 years ago

  • Description modified (diff)

#9 @Nazgul
17 years ago

  • Milestone 2.4 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

No real traction for over a year, so closing as wontfix.

Feel free to reopen if you have patches/suggestions/...

Note: See TracTickets for help on using tickets.