Gallery2 smtp auth errors [FIX]

Need help? Ask here.

Moderator: Moderators

Post Reply
Posts: 60
Joined: Wed Jul 12, 2006 9:53 am

Gallery2 smtp auth errors [FIX]

Post by sgrayban »

It looks like Gallery2,, has a slight issue with smtp EHLO so here is a little fix to help you out.

Edit lib/smtp/smtp.php and find....

fputs($socket, "EHLO " . $config[''] . "\r\n");

It's on line 82 for me. You will need to change that too...

fputs($socket, "EHLO " . 'MY-DOMAIN-NAME.TLD' . "\r\n");

Where MY-DOMAIN-NAME.TLD would be '' as an example.

And there doesn't seem to be any fix for this in all the gallery2 searching I have done. So you will need to edit this file each time you update the Gallery2 code.

Post Reply