This is NOT a problem with the script, this is a problem with your SERVER setup. Ask anyone who understands PHP to look into the code and he/she will tell you the same. Since you obviously aren't fluent in PHP please don't make such hard-headed assumptions.
You said yourself it was sending out e-mails fine at first - what happened after 2 days? Nothing changed in the script code so how can the script be blamed? Also e-mail sending works fine on over 99% of servers Hesk is installed on.
Since you didn't even take the time to post the required information I guess you didn't even search the forum properly. I've posted this before in this forum, but to sum up a few possible problems (all server-side).
It is important to check things in this exact order:
1. is your PHP mail() function configured properly? Check with your hosting company.
2. make sure your server allows sending e-mails from user "Nobody", PHP and CGI scripts usually run as "Nobody"
3. some servers don't allow sending e-mails to third party domains. Test it with LOCAL domains only (domains hosted on your server). Set $hesk_settings['noreply_mail'] to an EXISTING e-mail address under
your domain (domain where Hesk is installed). Then submit a ticket using a local domain as well and see if you get the e-mails. DO NOT USE YOUR HOTMAIL ADDRESS TO TEST THESE LOCAL SETTINGS!!! Use an e-mail address of type @yourdomain.com
4. Download e-mail test file:
http://www.phpjunkyard.com/extras/email_test.zip
Open it in Notepad, set SENDER to the same address as $hesk_settings['noreply_mail'] and RECIPIENT to the same address you used to submit the ticket. Upload to server and open in browser. Do you get any mails to the RECIPIENT address?
5. Do you have any other PHP scritps on yoru server that successfully send mail? If yes:
a) try with the same e-mail addresses
b) post a link to the scripts here
6. Check your Exim (or other mail server) logs and queue - any signs of Hesk mails?
7. Just a thought - check inside your Spam/Junk folder and make sure you don't have any Spam filters blocking Hesk mails.
Try all of the above. Come back with results. Also if you need any further help come back with
required info, starting with URL to your Hesk and URL to phpinfo.php file.
One final thought - nobody forces you to purchase a license and you surely won't get any better support if you do. The purpose of the license is not paying for support, my (limited) support is FREE. If I charged for support it would cost more than 10 EUR
