Module fails in 6.10

Dinis - April 2, 2009 - 17:07
Project:SMTP Authentication Support
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi,

The latest releases of this module are all failing in Drupal 6.10.

I've tried a fresh install onto 6.9 and all is well, as soon as I upgrade to 6.10 or make a fresh build the module fails with "Unable to send e-mail. Please contact the site admin, if the problem persists." errors and no email being sent.

Platform:
Apache/2.2.6 (Win32)
PHP/5.2.3
MySQL 5.0.67
Windows Server 2003

Kind regards,
Danielle

#1

judef - April 8, 2009 - 09:59

Hello Everyone. the same issue. the module fails in 6.10. Any suggestions would be greatly appreciated,
Regards,
judef

#2

judef - April 9, 2009 - 06:39

Hello everyone,
I finally fixed it. I increased the max_execution_time = 160 in my php.ini, thus installing the module successfully. Also used gmail smtp server with port 465 and it worked. Initially i had tried it with
587 and 25, resulting in the above errors...

#3

shmatty29 - April 9, 2009 - 09:21

I have changed my php.ini file accordingly but still get the following error message in debug mode.

SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP -> ERROR: EHLO not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server: SMTP -> ERROR: AUTH not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: RSET failed:

Unable to send e-mail. Please contact the site admin, if the problem persists.

I have tried several SMTP providers including gmail.

MY Server:

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5 with Suhosin-Patch

Drupal: version 6.10

Any one got any ideas???

#4

talatnat - April 23, 2009 - 09:11

Just to confirm that changing max_execution_time did not work. The problem is on my dev machine (Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5) and a production server (Red Hat, Apache 2.2x, PHP 5.x).

#5

talatnat - April 23, 2009 - 23:31

I got it working in 6.10 -- the Site Information email (specified during the original setup) was not the same as the From: email address in SMTP. I was only getting authentication failures before.

So, I can confirm that 6.10 and SMTP are not the problem, at least with my ISP. You may want to check that phpMailer is OK, and also try smtp.gmail.com, port 465, SSL.

#6

oadaeh - April 24, 2009 - 00:50

@shmatty29: those errors are telling you that the server doesn't do what you think it does.

This part says that the server does not accept SMTP's EHLO command:
FROM SERVER: SMTP -> ERROR: EHLO not accepted from server

This part says that the server does not accept SMTP's HELO command:
FROM SERVER: SMTP -> ERROR: HELO not accepted from server

This part says that the server does not accept SMTP's AUTH command:
SMTP -> ERROR: AUTH not accepted from server

That makes me think that server does not handle SMTP at all. You might verify you have the correct settings.

#7

stockliasteroid - June 22, 2009 - 20:22

talatnat's solution worked for me... The site email was info@, but the SMTP account I created for it was website@. Changed the site email to website@, and all was well...

#8

frank0987 - June 27, 2009 - 12:31

Does it shows an error like what this bug describes?

#9

frank0987 - June 27, 2009 - 12:35
Title:Module fails in 6.10» Module fails in 6.x

#10

frank0987 - June 27, 2009 - 12:37
Assigned to:Anonymous» frank0987

I'm fixing this bug! No worries now!

#11

frank0987 - June 27, 2009 - 12:43

I found these files in the 6.x-1.0-beta3 version. Do they work?

AttachmentSize
class.phpmailer.php_.2.0.2.patch 1011 bytes
class.phpmailer.php_.2.2.1.patch 1018 bytes

#12

oadaeh - June 27, 2009 - 14:12
Title:Module fails in 6.x» Module fails in 6.10
Assigned to:frank0987» Anonymous

@frank0987: Your issue is not related to this one.

 
 

Drupal is a registered trademark of Dries Buytaert.