SMTP Error

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
zeppelin
Posts: 4
Joined: Mon Oct 06, 2014 7:28 pm

SMTP Error

Post by zeppelin »

Version of script: 2.5.5

After putting in the SMTP host information and testing the SMTP connection I get the following message:

Resolving SMTP server domain "mail.domain.com"... Connecting to host address "xx.xxx.xx.xx" port 25... Connected to SMTP server "mail.mail.com".

Everything looks correct but when I hit save changes it just gives me a web page with the same message and the mail settings go back to PHP mail()
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP Error

Post by Klemen »

This means the connection is not successful (if it was you would get "Connection successful" message when testing).

Why the connection is failing I don't know, you will need to provide more details about the settings you use.
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
zeppelin
Posts: 4
Joined: Mon Oct 06, 2014 7:28 pm

Re: SMTP Error

Post by zeppelin »

In order for SMTP to work are there any settings in the php.ini or the sendmail.ini files that need to be changed?

I really appreciate your help with this.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP Error

Post by Klemen »

Default PHP installation should work for most SMTP servers.

Try changing your SSL/TLS settings (on-on, on-off, off-on, off-off) and see if that makes a difference.
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
zeppelin
Posts: 4
Joined: Mon Oct 06, 2014 7:28 pm

Re: SMTP Error

Post by zeppelin »

I loaded the default php.ini and sendmail.ini files to make sure I hadn't messed up any settings there.

I tried all combo's with SSL and TLS off and on and with an SMTP username / pw. It still just says Connecting to host address "...." port 25... Connected to SMTP server "....."

The network admins opened up the ip of the station the helpdesk is on to allow mail traffic. Do you know of any settings on the Exchange server that need to be enabled in order for this to properly connect?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: SMTP Error

Post by Klemen »

Are you able to send mail from an email client (like Outlook, Thunderbird, ...) using your Exchange server in *SMTP* protocol (not Exchange)?
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
zeppelin
Posts: 4
Joined: Mon Oct 06, 2014 7:28 pm

Re: SMTP Error

Post by zeppelin »

Hi Klemen.

We reinstalled Hesk using IIS instead of XAMPP.

Not sure why, but SMTP is now working correctly.

Thanks for all your help and a great help desk system!
Post Reply