Support mail not send

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tdemeyer
Posts: 12
Joined: Wed Jan 24, 2007 12:34 pm

Support mail not send

Post by tdemeyer »

Hi,

HESK is installed on our intranet site.

When a ticket is enterd, the user receives a mail, but the support receives nothing.

Relevant entries in setting file are:

$hesk_settings['support_mail']="info@az.be";
$hesk_settings['webmaster_mail']="tim@az.be";
$hesk_settings['noreply_mail']="NOREPLY@az.be";


If I create a small test.php file:

<?php
$recipient='info@az.be';
mail($recipient,'Testing mail1','This is just a test, mail working!');
$recipient='tim@az.be';
mail($recipient,'Testing mail2','This is just a test, mail working!');
echo "Mails sent!";
?>

both recipients receive a mail.

Where to look for any possible error??
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The mails are NOT sent to e-mails set in the settings file. It is sent to the e-mail address that is registered for the user (e-mail set in the "Manage users" or "Your profile"). Also when you login to admin.php, go to "Your Profile" and make sure the "Notify me of new tickets and posts within my categories." is selected.
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
ckarnuth
Posts: 9
Joined: Sat Aug 26, 2006 3:18 pm

I am having the same issue

Post by ckarnuth »

I too am using this help desk on an intranet, however, we are also running an astaro firewall, that is also sending email. However, I can not get the help desk to send email to anyone, either the customer or the support personal.

$helpdesk_settings['support_mail']="admin@nitalliedhealth.edu";
$helpdesk_settings['webmaster_mail']="ckarnuth@nitalliedhealth.edu";
$helpdesk_settings['noreply_mail']="noreply@nitalliedhealth.edu";


Everything else works like a charm, I am able to go into outlook express and send an email through the firewall that we are using, however for some reason, I can not get this to work around the firewall. There is no need for the help desk to send email outside of the intranet, I am not very versed in PHP so don't really know where to begin. Please let me know if there is something that i can do to get this to work. I tried to create the test.php file that is listed by tdemeyer in his post and had no luck with that sending email also. Please help, I would really like to get this up and running to full capabilities. Thank you.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I think I answered to similar questions too many times, for example check
viewtopic.php?t=1293&highlight=mail+function
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
ckarnuth
Posts: 9
Joined: Sat Aug 26, 2006 3:18 pm

Post by ckarnuth »

i have tried all that is listed in the post that you linked to. None of that worked. That is why I reposted the question. sorry for any inconviences.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Ok, so:

1. did you contact your host? What did they say about mail being enabled and not restricted to local domains only? Did they say user "Nobody" is allowed to send mail or not?

2. did the e-mail test file posted in the above mentioned post work? Did you try sending to a LOCAL domain?
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
ckarnuth
Posts: 9
Joined: Sat Aug 26, 2006 3:18 pm

Post by ckarnuth »

I was able to speak with the host, the network admin, said that there is nothing stopping "nobody" from emailing and yes, i am able to send emails to a local and non-local account through the firewall. the email test was not successful however. Please let me know if you have any suggestions
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If the email test wasn't successful then something is wrong with your server setup... .it doesn't get more simple than that...
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
Post Reply