Email Admin?
Moderator: mkoch227
Conditional email notices to admins
Hello,
Something I've thought of is the ability to setup a conditions (i.e., if the ticket priority is 'High') then to send an email to an alternate address for the admin or superivisor (i.e., send a text message, via email, to the admin).
Just a thought.
BTW, this script works great. I'm loving it and I'm actually ready to implement it with all my clients. I'm a one man support company and it's helping me keep track of client problems and issues.
regards,
hf2
Something I've thought of is the ability to setup a conditions (i.e., if the ticket priority is 'High') then to send an email to an alternate address for the admin or superivisor (i.e., send a text message, via email, to the admin).
Just a thought.
BTW, this script works great. I'm loving it and I'm actually ready to implement it with all my clients. I'm a one man support company and it's helping me keep track of client problems and issues.
regards,
hf2
Email Not Working?
Hey guys I just set up Hesk today in about 2 hours. I must say this was an easy set up and ive been using it as testing before i use it for my company and its great. Only i am having one small problem that im sure there is an easy fix for. My emails are not being sent to teh recipients. Such as when i create a ticket. I am not getting an email confirming my ticket was submited (to the customer posting a ticket), Im not getting a ticket notiification to my employees, and im not getting a reply ticket messesage. So basically its not working at all lol. I entered in my email address during the set up. so i was wondering if i had to add my email server info somewere for it to actualy send and recieve the emails. Can someone tell me how to get this function working please. Thank you in advance.
~Jed
~Jed
Hello,
Go to search.php , enter search terms "emails not sent" (without quotes), select forum "Hesk - helpdesk software" and what do you know, the answer to your question magically appears
Go to search.php , enter search terms "emails not sent" (without quotes), select forum "Hesk - helpdesk software" and what do you know, the answer to your question magically appears

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
Thanks but that didnt help me. I searched around the forum and i still cannot figure this out. Like I said before none of my emails are being sent. The only place in the code for this script that deals with my email address is in the hesk_settings.inc.php file which looks like this: (somthing@somthing.com isnt whats inputed on my end
)
/* CONTACTS */
$hesk_settings['support_mail']="somthing@something.com";
$hesk_settings['webmaster_mail']="somthing@somthing.com";
$hesk_settings['noreply_mail']="somthing@somthings.com";
other then that i dont know what else to configure to get hesk to send the emails. I dont think I need Authentication and if i do I have no idea were to find the PHP mail() file. can someone tell me exactly how to set this email setting up? thanks
you can contact me at scars4u@gmail.com
Thanks again

/* CONTACTS */
$hesk_settings['support_mail']="somthing@something.com";
$hesk_settings['webmaster_mail']="somthing@somthing.com";
$hesk_settings['noreply_mail']="somthing@somthings.com";
other then that i dont know what else to configure to get hesk to send the emails. I dont think I need Authentication and if i do I have no idea were to find the PHP mail() file. can someone tell me exactly how to set this email setting up? thanks
you can contact me at scars4u@gmail.com
Thanks again
ok well i found my php.ini file on my Ubuntu LAMP server 6.06 which is running the hesk script and under there i found the lines of code containing:
_____________________________________________________________
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters to the sendmail binary. These parameters will always replace the value of the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
___________________________________________________________
What exactly do i change in this file to make the hesk email function to work. I am in charge of the email server and i know that authentication is off and that it should allow php. The email server is not on the LAMP server so would i need to change its php.ini file? I have no clue what im doing. im a newbie and im just peicing this together as i go.
_____________________________________________________________
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters to the sendmail binary. These parameters will always replace the value of the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
___________________________________________________________
What exactly do i change in this file to make the hesk email function to work. I am in charge of the email server and i know that authentication is off and that it should allow php. The email server is not on the LAMP server so would i need to change its php.ini file? I have no clue what im doing. im a newbie and im just peicing this together as i go.
Hi,
Well I'm gonna repeat what I said few times here on this board (that's why I sent you to read old posts). Hesk uses the standard PHP mail() function so if sending out e-mails doesn't work then something must be wrong with the mail() function in general.
Unfortunately I am not a "server guy" so I don't really know how to help here as I have no experience troubleshooting the mail() command and especially I don't have any experience with Windows servers (and according to your php.ini you are on a Windows server). I suggest you check around other forums to see if you can find someone to help you get your mail() working properly.
One thing that comes to the mind is - you said your mail server is not on the LAMP server? Maybe "SMTP = localhost" needs to be changed to something else then as your mail server is not on "localhost".
Sorry I can't be of more help here, but I really don't have experience in this.
Regards,
Well I'm gonna repeat what I said few times here on this board (that's why I sent you to read old posts). Hesk uses the standard PHP mail() function so if sending out e-mails doesn't work then something must be wrong with the mail() function in general.
Unfortunately I am not a "server guy" so I don't really know how to help here as I have no experience troubleshooting the mail() command and especially I don't have any experience with Windows servers (and according to your php.ini you are on a Windows server). I suggest you check around other forums to see if you can find someone to help you get your mail() working properly.
One thing that comes to the mind is - you said your mail server is not on the LAMP server? Maybe "SMTP = localhost" needs to be changed to something else then as your mail server is not on "localhost".
Sorry I can't be of more help here, but I really don't have experience in this.
Regards,
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
Hello Jed,
Where SMTP now is localhost it should point to the computer that is the mailserver.
At my home for example it is 192.168.2.10 (even though it is on the same computer as my webserver localhost did not work).
At work we have an exchange server and there if have it set to srv02.domain.nl (which is the server that runs Windows Small Business Server 2003).
Maybe this is of some help to you.
EDIT 2006-09-20: I had faulty mentioned \\srv02, this should be srv02.domain.nl
Greetings,
Henrie
Code: Select all
mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
At my home for example it is 192.168.2.10 (even though it is on the same computer as my webserver localhost did not work).
At work we have an exchange server and there if have it set to srv02.domain.nl (which is the server that runs Windows Small Business Server 2003).
Maybe this is of some help to you.
EDIT 2006-09-20: I had faulty mentioned \\srv02, this should be srv02.domain.nl
Greetings,
Henrie
Last edited by Henrie on Wed Sep 20, 2006 10:38 am, edited 1 time in total.
Nope, my server has Sendmail. But shouldn't matter what mail software oyu use as long as you configure PHP properly so that mail() function works.
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