no tickets from empty mails

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

no tickets from empty mails

Post by mdiehl »

Script URL: http://www.esd1.de/hesk
Version of script: 2.5.2
Hosting company: own server
URL of phpinfo.php: http://www.esd1.de/test.php
URL of session_test.php: http://www.esd1.de/session_test.php
What terms did you try when SEARCHING for a solution: empty mail body;mail body;empty

Write your message below:
Hello Klemen,
I hope oyu had a merry xmas and wish you the best for 2014.
Can you please tell me if this is an error or a feature?
When I send an email with an empty body,l HESK will not create a ticket.

Some of my customers are just filling out the subject of an email and send the mail with no further text.
I found out, that under these conditions, HESK will not create a ticket. Can that be changed?

Regards
Matthias
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: no tickets from empty mails

Post by Klemen »

Thank you for the wishes!

Yes, that is by design. You can accept emails with no message by changing this code in "inc/pipe_functions.inc.php" from

Code: Select all

	// Message missing? We require it!
	if ( ! $tmpvar['message'])
	{
		return hesk_cleanExit();
	}
to

Code: Select all

	// Message missing? We require it!
	if ( ! $tmpvar['message'])
	{
		$tmpvar['message'] = '(no message)';
	}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Re: no tickets from empty mails

Post by mdiehl »

Works perfect!
Thank you very much
Post Reply