Opened 19 years ago
Closed 17 years ago
#2275 closed enhancement (wontfix)
Check "From:" on post-by-email
Reported by: | skeltoac | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | 2.0 |
Component: | General | Keywords: | needs-patch |
Focuses: | Cc: |
Description (last modified by )
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)
Change History (10)
#3
@
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
@
18 years ago
-1 as exists. Should be a filter for increased flexibility, and should happen before everything is quoted for DB insertion.
Note: See
TracTickets for help on using
tickets.
Following patch adds 'mail_post_pre' as an action before calling wp_insert_post(). It passes $post_data as an argument.