Open flexseth opened 1 year ago
This would be a nice integration for the Social Notes feature that is in Jetpack Social.
I was hoping to use the post by email by email feature to circumvent the Jetpack mobile app's lack of custom post-type support.
Impacted plugin
Jetpack
What
Allow to post to a custom post type, or to create your own shortcodes to map information from a post sent from email to a custom post type
How
Creating two new shortcodes: One for a custom post type, and one for custom post meta. This will allow those using Jetpack's Post by Email module to add extra information and better structure their website when sending over an email. Final use case at the end of this request.
Background
The Post by Email plugin being linked from WordPress.org has not been updated in 10 years. Jetpack offers this feature but has limitations.
Use Cases
Post to a Custom Post Type
Current Jetpack Shortcodes include quite a few options, but not one to set the post type when sending an email to create a post in WordPress.
Use Case 2: Custom Post Meta
Add custom post meta fields when submitting a post via email, adding the meta values to the post on creation. This can be a piece of meta for a post that you have registered, or one registered by a plugin on your site. In the combined use case below, you will see this example used in tandem with Jetpack CRM.
Combined Use Case: Forward an email to Jetpack CRM to attach to a user's estimate as a note.
Post to Jetpack CRM when emailing a client
Shortcodes needed
[custom post type zbsc] zbsc - custom post type name
[custom post meta zbsc_lastupdated EMAIL_DATE] EMAIL_DATE - determined on the fly on the email client or WP side
[custom post meta wp_zbs_quotes::zbsq_notes EMAIL_BODY] Whereas the syntax DBNAME::DBTABLE updates the post meta EMAIL_BODY - Text of the email body.
Believe there is already a way attachments can be added.
Links
WordPress Codex for Post by Email