ProcessEmailToPage by pete, Adrian Jones

Parses emails and image attachments from multiple addresses to various parts of your site so you can update them via mobile devices.

ProcessWire2.3+ ProcessEmailToImage

This module allows you to email text and images (as attachments) to multiple sections of your site.

To use it, extract the attached zip file into your /site/modules/ directory and check for new modules in the ProcessWire Admin area, then install the module.

Once installed, go to configure the module.

You will need to set up an email account for each "category" (page parent) you want to have emails processed to. These must all be on the same server - either local or remote is fine. Once these are set up, enter your email password (same for each account) as well as type (POP3/IMAP) host and port information, then tick the box if you want new pages to be automatically published (default is unpublished).

For each category, you can now enter an email address, category (page parent) and even template for the page (the system will rely on you specifying a page parent that allows new children using the template you have selected, so take care!). To add more email address/category combinations click on the "Add another category" button to add more.

Next, you can optionally set up delimiters to split the email's content into different text fields - useful if you want part of your email to be in the body area and some in the sidebar for example. This part is fairly self-explanatory in the config screen.

The module will add attachments to an images field, and optionally embed images into the text body to match the email layout. Attachments will be separated into image and non-image types.

PW users can be identified by the email address and the created/modified values set to the user. Creation of new pages can be limited to only matched users.

Creation of a new page can trigger a notification email to chosen PW users.

You can optionally set up a host whitelist - this is the actual smtp host that the email comes from - it is not extracted from the email address.

Full details of this module are available here: http://modules.processwire.com/modules/process-email-to-page/

Notes:

Updates:

  • v1.0.0 - first release.
  • v1.0.1 - various bug fixes including php notices
  • v1.0.2 - force secure option and fix for plain text vs html emails
  • v1.0.9 - Improved image handling - inline, related, embedded. Can also optionally embed images in the body field. Also, image and body fields are now configurable.
  • v1.1.0 - Added support from date received and from details
  • v1.1.1 - Separate "From" into name, email, and user matching
  • v1.1.2 - Set created and modified user ids for the new page based on a match to a PW user.
  • v1.1.5 - Added a LOT of new config options and support for mail notification of newly added pages.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • This week we focus in on a new and unique Inputfield module added to the core that enables a lot of useful new input capabilities for tags, sortable multiple selection and custom user input— More
    30 April 2021
  • With more than 25 commits, ProcessWire 3.0.176 resolves lots of minor issues, adds support for multiple randomly selected read-only database connections, upgrades the tag features in the Template editor, adds a useful new Tags Inputfield, and more… More
    23 April 2021
  • This week ProcessWire (3.0.175) gained the ability to maintain separate read-only and read-write database connections to optimize scalability, cost and performance. The post covers why this can be so valuable and how to configure it in ProcessWire— More
    2 April 2021

Latest news

  • ProcessWire Weekly #364
    In the 364th issue of ProcessWire Weekly we'll introduce ProcessWire 3.0.177, check out a couple of new third party modules, and more. Read on!
    Weekly.pw / 1 May 2021
  • ProcessWire 3.0.177 core updates
    This week we focus in on a new and unique Inputfield module added to the core that enables a lot of useful new input capabilities for tags, sortable multiple selection and custom user input.
    Blog / 30 April 2021
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani