helpdesk-z / helpdeskz-dev

HelpDeskZ is a free PHP based software which allows you to manage your site's support with a web-based support ticket system.
http://www.helpdeskz.com/
GNU General Public License v2.0
83 stars 64 forks source link

Create a way to specify which imap folder to pull email from #52

Open mfrederico opened 2 years ago

mfrederico commented 2 years ago

CASE: Currently I can only pull messages into helpdeskz that land in INBOX .. as it is hard-coded in hdz/app/Libraries/MailFetcher.php:33 However, If I use this gmail as a standard account. I have filters / rules set up that have an alias to support@mydomain.com to go to a specific folder e.g.: /support

SOLUTION: If I adjust hdz/app/Libraries/MailFetcher.php on line 33 to read "support" instead of "INBOX" it works perfectly .. It would be a nice feature for others to be able to specify a folder to check for messages from.