Ticket Notification Format

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
FormidableMulk
Posts: 13
Joined: Thu Oct 08, 2015 3:12 pm

Ticket Notification Format

Post by FormidableMulk »

I upgraded from v2.42 to v2.5 this morning...

HTML E-mails are enabled. Tickets submitted via customer form kick off HTML notification e-mails; tickets POP-scraped generate plain text notification e-mails.

I haven't had time to dig into what's causing this one yet...
FormidableMulk
Posts: 13
Joined: Thu Oct 08, 2015 3:12 pm

Re: Ticket Notification Format

Post by FormidableMulk »

I've started digging into inc/email_functions.inc.php. It looks like the hesk_mail() has very different behavior for mail(), SMTP, and Mailgun delivery.

This is probably worth mentioning: I've only tested SMTP delivery.

That said, from what I can tell, no value is being passed to hesk_mail() in the $modsForHesk_settings['html_emails'] parameter when triggered via POP3 mail ticket scrape.
FormidableMulk
Posts: 13
Joined: Thu Oct 08, 2015 3:12 pm

Re: Ticket Notification Format

Post by FormidableMulk »

$modsForHesk_settings['html_emails'] had no value because it didn't exist. I added the following snippet to hesk_email2ticket() in inc/pipe_functions.inc.php, just after the global declaration.

Code: Select all

$modsForHesk_settings = mfh_getSettings();
Now when the notification functions are called, the modsForHesk_settings array gets passed along and, if set, HTML notifications are delivered.
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Ticket Notification Format

Post by mkoch227 »

This should be fixed in 2.5.1. Let me know if you still have issues.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply