Tickets not pulling from email-SMTP failure

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
A.J.
Posts: 3
Joined: Tue Jun 11, 2019 4:47 pm

Tickets not pulling from email-SMTP failure

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Tickets not pulling from email-SMTP failure

Post by Klemen »

What error message are you getting when testing the connection?
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
A.J.
Posts: 3
Joined: Tue Jun 11, 2019 4:47 pm

Re: Tickets not pulling from email-SMTP failure

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Tickets not pulling from email-SMTP failure

Post by Klemen »

Looks like a DNS resolver issue on your server. This is something your host will need to look into.
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
A.J.
Posts: 3
Joined: Tue Jun 11, 2019 4:47 pm

Re: Tickets not pulling from email-SMTP failure

Post 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.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Tickets not pulling from email-SMTP failure

Post 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).
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