Page 1 of 1

Tickets not pulling from email-SMTP failure

Posted: Tue Jun 11, 2019 6:52 pm
by A.J.
Script URL: https://help.colonialhealthcare.com/
Version of script: 2.8.2
Hosting company: localhost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: SMTP Error, POP error, Tickets not pulling from email

Write your message below:

Emails just randomly stopped moving over to ticketing queue. SMTP/POP connection tests fail after making adjustments. Verified our SMTP is working as I've set up Scan to Email functions on multiple printers. Restarted VMware host Hesk is ran on. SQL test passes fine. See below settings for POP and SMTP:

HESK version: 2.8.2 - Check for updates
PHP version: 7.0.32-0ubuntu0.16.04.1 (MySQLi)
MySQL version: 10.0.36-MariaDB-0ubuntu0.16.04.1
/hesk_settings.inc.php Exists, Writable
/attachments Exists, Writable
/cache Exists, Writable

SMTP Host: smtp.office365.com
SMTP Port: 587
SMTP Timeout: 20
SSL Protocol: OFF
TLS Protocol: ON

Timeout: 15 min
Host: outlook.office365.com
Port: 995
TLS: on

Re: Tickets not pulling from email-SMTP failure

Posted: Wed Jun 12, 2019 6:59 pm
by Klemen
What error message are you getting when testing the connection?

Re: Tickets not pulling from email-SMTP failure

Posted: Wed Jun 12, 2019 7:12 pm
by A.J.
Error: Could not resolve the host domain "smtp.office365.com"

Error: 0 could not connect to the host "outlook.office365.com": php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

Re: Tickets not pulling from email-SMTP failure

Posted: Thu Jun 13, 2019 6:14 am
by Klemen
Looks like a DNS resolver issue on your server. This is something your host will need to look into.

Re: Tickets not pulling from email-SMTP failure

Posted: Thu Jun 13, 2019 3:22 pm
by A.J.
I kinda got thrown into this with little to no documentation on this network layout. I know we run Hesk off a VM we keep on site, and I've been trying to pull all the info from it so I can make the adjustments, but I'm not having any luck.

Re: Tickets not pulling from email-SMTP failure

Posted: Thu Jun 13, 2019 5:38 pm
by Klemen
The error you are getting is a general PHP error, not a Hesk-related one. No script that is trying to connect to a hostname will work on your server as is.

Here are some suggestions on how to tackle it; I would start with updating/changing resolver IPs (try Google's 8.8.8.8 and 8.8.4.4):
https://www.google.com/search?q=php_net ... resolution

For more info about how to do that please try searching for your specific software instructions (for example "ubuntu 16 change DNS resolver" or similar).