Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
smtp_conn,"HELO " . $host . $this->CRLF);[/font] into [font=Courier]fputs($this->smtp_conn,"EHLO " . $host . $this->CRLF);[/font][/quote]" />

Xoops mailer SMTPauth errors
by Josemoya on 2005/9/12 15:27:55

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);

Who's Online

209 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 209


more...

Donat-O-Meter

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

Latest GitHub Commits