Anonymous SMTP Authentication

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Malfuris
Posts: 2
Joined: Fri Sep 09, 2022 3:15 pm

Anonymous SMTP Authentication

Post by Malfuris »

After upgrading Hesk to 3.3.2, which uses PHPMailer, anonymous authentication to our SMTP server no longer works. I managed to work around it by changing the following code:

Code: Select all

$mailer->SMTPAuth = true;
to "false" in inc/email_functions.inc.php.

However, I imagine future updates may revert this code, and I was thinking it would be useful if "anonymous authentication" could be a toggle in the Email settings in the UI. It would then be a variable in the email_functions.inc.php file and wouldn't get overwritten when upgrading. I'm not sure if this is the place to submit suggestions like this, but I couldn't really find anywhere else.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Anonymous SMTP Authentication

Post by Klemen »

That's a known issue, here's a fix available:

1. download this archive: https://www.hesk.com/extras/hesk3/hesk3 ... noauth.zip
2. upload the "email_functions.inc.php" file inside to your Hesk "inc" folder (overwrite the existing file)
3. test

This fix will also be included in the next update.
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
Malfuris
Posts: 2
Joined: Fri Sep 09, 2022 3:15 pm

Re: Anonymous SMTP Authentication

Post by Malfuris »

Awesome, thank you for the quick reply!
Post Reply