1
Josemoya
Xoops mailer SMTPauth errors
  • 2005/9/12 15:27

  • Josemoya

  • Just popping in

  • Posts: 1

  • Since: 2005/9/12


SMTPAuth seems not to work with some servers. Using a sniffer, I've managed to find the reason: it sends "HELO" (instead of "EHLO") before "AUTH".

Some servers (as smtp.terra.es, popular in Spain) refuse esmtp commands as "AUTH" after "HELO", since "HELO" marks the beginning of a (basic) smtp session. They expect "EHLO", instead.

You can solve this bug this way:
edit /html/class/mail/phpmailer/class.smtp.php
change this line
fputs($this->smtp_conn,"HELO " . $host . $this->CRLF);
into
fputs($this->smtp_conn,"EHLO " . $host . $this->CRLF);




TopTop



Login

Who's Online

208 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits