Script URL: ********
Version of script: 2.8.2
Hosting company: Namecheap
URL of phpinfo.php: <can mail it to you, but gives OK msg>
URL of session_test.php: <can mail it to you>
What terms did you try when SEARCHING for a solution:
- Went through HESK knowledgebase
- Checked Google
Write your message below:
Hi -- our site runs on Namecheap but mails are routed through GSuite. Weird thing is that I can send email via phpmail() using the form on our web site (I can send the headers, if you like), but cannot send mail via Hesk with neither phpmail nor smtp; phpmail just does "nothing", smtp always says network unreachable. I do get an email saying that there is a new ticket created, but that's all the email activity there is, i.e. I cannot reply to the ticket via the web form.
Thanks,
Anthony
Just cannot send mails
Moderator: mkoch227
-
- Posts: 2
- Joined: Mon Nov 26, 2018 5:04 pm
Just cannot send mails
Last edited by anthonyaykut on Thu May 23, 2019 10:26 pm, edited 1 time in total.
Re: Just cannot send mails
Hi Anthony,
You have a valid Hesk license so if you prefer to talk about this over email you are welcome to contact me.
Not sure about Namecheap, but some low-cost hosting providers (GoDaddy for example) block sending emails via external SMTP servers for security reasons, you can only use phpmail and/or their own smtp servers. If that's the case with Namecheap, connecting to Google won't work, but anyway make sure you try connecting with the correct Google settings.
I presume you get the notification email when you have PHP Mail selected in Hesk settings. If the notification arrives that means email sending is working; it doesn't make much sense that the exact same code works for one notification but not for others. Are you perhaps expecting emails that Hesk doesn't send, see here for when Hesk sends an email and to whom?
If this doesn't clear up things please let me know exactly what and when happens and I will try to help troubleshoot it.
You have a valid Hesk license so if you prefer to talk about this over email you are welcome to contact me.
Not sure about Namecheap, but some low-cost hosting providers (GoDaddy for example) block sending emails via external SMTP servers for security reasons, you can only use phpmail and/or their own smtp servers. If that's the case with Namecheap, connecting to Google won't work, but anyway make sure you try connecting with the correct Google settings.
I presume you get the notification email when you have PHP Mail selected in Hesk settings. If the notification arrives that means email sending is working; it doesn't make much sense that the exact same code works for one notification but not for others. Are you perhaps expecting emails that Hesk doesn't send, see here for when Hesk sends an email and to whom?
If this doesn't clear up things please let me know exactly what and when happens and I will try to help troubleshoot it.
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
-
- Posts: 2
- Joined: Mon Nov 26, 2018 5:04 pm
Re: Just cannot send mails
Thanks Klemen, just pinged you via your contact form, happy to continue the discussion over email.
-Anthony
-Anthony
Re: Just cannot send mails
If anyone else has the same problem with Namecheap, the solution is to contact Namecheap support and ask them to open ports 587, 995 and 993 for you. Explain you will be using your Google mail in combination with the Hesk support system:
https://www.hesk.com/knowledgebase/?article=72
You will also need to enable "less secure apps" in your Google account:
https://www.namecheap.com/support/knowl ... h-us#gmail
https://www.hesk.com/knowledgebase/?article=72
You will also need to enable "less secure apps" in your Google account:
https://www.namecheap.com/support/knowl ... h-us#gmail
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