Create a Mail Importer without a validation hash

Permalink
I'd like to create a mail importer that would do the following:
* Capture the 'from' address and verify the email is associated with a user and that the user is part of a 'can use mail importer' group.
* Capture the subject and body to use as a title and content.
* Capture any attachments, add them to the file manager, and associate them with the content.
* Post the content to the site.

All of the above I'm okay with doing. It's the actual email import that I'm having trouble wrapping my head around.
* As I review the MailImporter object and 'Process Email' job functionality, it seems that the default is to check a 'validation hash' before proceeding.
* Is there any way around this without creating a replacement 'Process Email' job that doesn't check for the hash?

Any other help from people who have worked with the Mail Importer before would be greatly appreciated. Thanks in advance.

SkyBlueSofa
 
JohntheFish replied on at Permalink Reply
JohntheFish
If you don't have such validation and the spammers catch on .......
SkyBlueSofa replied on at Permalink Reply
SkyBlueSofa
It's really more of an internal thing: I get emails all the time asking 'Can you post this file or add this to the site?' While it only takes 10-15 minutes to do the task, I'd rather spend that time doing something else. :D
JohntheFish replied on at Permalink Reply
JohntheFish
Maybe create an override that replaces the validation hash check with a whitelist.
SkyBlueSofa replied on at Permalink Reply
SkyBlueSofa
JohntheFish replied on at Permalink Reply
JohntheFish
Something in this post has blanked it?
SkyBlueSofa replied on at Permalink Reply
SkyBlueSofa
As of right now there isn’t any way to override the class. It is not in the new core ‘Concrete5_Library_****’ format that is then extended at the root level. I think I’m going to test an IMAP class (https://github.com/barbushin/php-imap) to do it instead.