SMTP not working

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

SMTP not working

Post by kilimats »

I am currently testing a few different helpdesk website solution, so far the only solution having issue emailing through SMTP is Hesk.

I have configured the SMTP config like so

host: shawmail.vc.shawcable.net
port: 25

I can save the config without issues but no email are sent after that, I made sure the ticket was assigned to me and that my profile has notification enabled. but even all that didnt help

My spam folder is empty on my mail client, and I also tried a different one

any idea ? all other solution i tried worked fine out of box so im pretty sure its a problem with Hesk and not my network
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP not working

Post by Klemen »

It works on hundreds on servers so I'm pretty sure it's a problem with your configuration :wink:

Is shawmail.vc.shawcable.net an open relay or not? Are you sure you don't need username/password to relay mail through it?

Can you ping/telnet to shawmail.vc.shawcable.net (port 25) from the server you have HESK installed on?

Have you tried using PHP mail() instead?
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
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: SMTP not working

Post by kabuc »

Me don't work too.
http://www.hesk.com/knowledgebase/?article=58
1,2 - I set up
3 - I understand that email must be support email. I write in my email.
4 - I set up
5 - I set up in hesk settings system path, but where write the path in hesk_pipe.php file I don't find.
6 - I send email in my email box but nothing happens.
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

Klemen wrote:It works on hundreds on servers so I'm pretty sure it's a problem with your configuration :wink:

Is shawmail.vc.shawcable.net an open relay or not? Are you sure you don't need username/password to relay mail through it?

Can you ping/telnet to shawmail.vc.shawcable.net (port 25) from the server you have HESK installed on?

Have you tried using PHP mail() instead?
I tried PHP mail but same issue. The SMTP host i use is the same i have setup on my other helpdesk solution at home, they work fine so it must be something with Husk me think :shock:
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP not working

Post by Klemen »

@kabuc: you are talking about email piping, nto smtp. If nothing at all happens, not even a returned mail, then email piping is not correctly setup on your server (step 5). Email piping to hesk_pipe.php is probably something your host will need to support and setup.

@kilimats: are you sure the port is 25? I can't connect to your SMTP server using port 25.

If shawcable.net is your ISP then it's more than likely that they allow connecting to shawmail.vc.shawcable.net only from IP addresses of their network and not any other IP address outside shawcable.net.
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
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

Thx for the quick replies

My isp is with shaw yes, like i said my other smtp helpdesk solution are setup the same way and work fine, they all reside on the same web server, so i doubt anything is wrong with the smtp setting

I can give you access to my server if you want?
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: SMTP not working

Post by kabuc »

I don't understand how work smpt. I setup everything and save, but nothing happens.
And email pipping not working too.
How email pipping working I don't understand.
If I send email to support@support.com to email pipping I will get "Undelivered Mail Returned to Sender" to my mail box. If I setup email to hesk, this email is real?
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

kilimats wrote:Thx for the quick replies

My isp is with shaw yes, like i said my other smtp helpdesk solution are setup the same way and work fine, they all reside on the same web server, so i doubt anything is wrong with the smtp setting

I can give you access to my server if you want?
Any idea about my problem Klemen ?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP not working

Post by Klemen »

@kabuc: your host will most likely need to setup email piping for you, contact your host.

@kilimats: hard to make wild guesses without more info, please post the information asked for when creating a new topic:

URL of your help desk:
URL of phpinfo.php (it's here):

Also:

Can you ping the mail server from the server where HESK is hosted?
Do you get any other errors when creating tickets if you enable Debug mode in HESK settings?
Have you tried testing it with different email addresses (from different providers)?
Is your "Noreply email" in HESK settings valid?
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
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

sorry for the late reply, i am not sure why but things started again when i did some test, I'll follow up with answers to your questions if it fails again, thanks
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

O wait, nevermind, i did the test differently thats why. Let me explain

When i create a ticket from the dashboard, the email is sent fine to the customer email address.

But the staff email address is never notified even though it's entered properly in the settings
Last edited by kilimats on Tue Nov 15, 2011 12:11 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP not working

Post by Klemen »

If you submit a ticket from the admin panel and it's assigned to you then no emails are sent to the staff (because you already know a new ticket has been submitted as you submitted it), but if you assign it to another staff member he/she should receive an email if he/she has notifications of new tickets assigned to them enabled.

Since clients do receive notifications email sending obviously works. If the staff isn't receiving any I would check SPAM filter settings, perhaps add your "Noreply email" to the SPAM filter whitelist.
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
kilimats
Posts: 18
Joined: Wed Nov 02, 2011 1:53 am

Re: SMTP not working

Post by kilimats »

alright, finally found out what was going on, the NOREPLY@mydomain.com was filtered by my registrar, I changed the support email to something else and everything worked out, thanks again for your time Klemen, my bad afterall :mrgreen:
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP not working

Post by Klemen »

What did I tell you in the first line of my first reply 8) :lol:
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