Page 1 of 1

not send mail

Posted: Wed Sep 16, 2020 8:27 am
by claudito
Script URL:
Version of script: hesk 312
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

hi . i'm in localhost behind a firewall (but I don't think it's his fault)
i try in localhost 127.0.0.1 and 192.168.x.x.

my hesk not send any mail.
not send in php mail() or server stmp.

in debug mode :
in phpmai() everything seems OK but not send mail
in smtp mode

-- it was not possible to read line from the SMTP server: the server disconnected
Resolving SMTP server domain "smtp.gmail.com"...
Connecting to host address "64.233.184.109" port 587...
Connected to SMTP server "smtp.gmail.com".

can you help me ?
tnx :)

Re: not send mail

Posted: Wed Sep 16, 2020 7:26 pm
by Klemen
PHP mail() depends on the server set up; it's the SMTP server's responsibiltiy to send mail, Hesk (PHP) just queues it.

A manual SMTP server is usually best. For Gmail, did you try these exact settings?
https://www.hesk.com/knowledgebase/?article=72

Also enable "less secure apps" as mentioned in the article above.

You may also need to let Google know the new IP address is OK:
https://www.hesk.com/knowledgebase/?article=73

Re: not send mail

Posted: Thu Sep 17, 2020 7:23 am
by claudito
i've done all this before but it doesn't work



which service should I check on the firewall ?