I believe this is totally something my hosting company needs to fix. I just need help with the wording because they have no idea what I'm talking about.
My no reply email is set up as noreply@********.us, but it comes through as **********@*******.hostmonster.com. What needs to change with my account with hostmonster to fix this?
Thanks,
Andy
Notifications are working but wrong address
Moderator: mkoch227
Hello,
Try adding this code to the top of submit_ticket.php file (change the e-mail to your own address):
Then try submitting a ticket and see if it works. If it does do the same for the reply_ticket.php and admin/admin_reply_ticket.php files.
P.s.: I changes your e-mail addresses to be unreadable.
Try adding this code to the top of submit_ticket.php file (change the e-mail to your own address):
Code: Select all
ini_set("sendmail_from", "noreply@********.us");
P.s.: I changes your e-mail addresses to be unreadable.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
The script should be fine. It used to work until I parked hn.k12.oh.us domain on my hardinnorthern.org server. I never changed the script. It has something to do with the hn.k12.oh.us domain being parked on the hardinnorthern.org server and my email server having the address as email.hn.k12.oh.us and all of my staff's email ending in @hn.k12.oh.us
I'm just not sure what needs to be changed on the webserver.
I'm just not sure what needs to be changed on the webserver.
Have you tried what I suggested?
The default sendmail_from e-mail address can otherwise be set in the php.ini file on the server (or with .htaccess or by pasting the code I gave you to the script).
Hesk does add a "From:" header to all mail sent so it is possible your server forces a default address - if this is the case I'm not sure how to change it, you would need to check within the documentation/support forum for your server software.
The default sendmail_from e-mail address can otherwise be set in the php.ini file on the server (or with .htaccess or by pasting the code I gave you to the script).
Hesk does add a "From:" header to all mail sent so it is possible your server forces a default address - if this is the case I'm not sure how to change it, you would need to check within the documentation/support forum for your server software.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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