Closed (fixed)
Project:
SMTP Authentication Support
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2007 at 20:07 UTC
Updated:
11 Dec 2007 at 12:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
seanrPlease re-roll the patch per these instructions:
http://drupal.org/patch/create
That'll make it much easier to read and apply. Thanks
Comment #2
dennys commentedSorry, I'm not familiar with diff command. I use diff -up to create a new patch, thanks for your remind.
Comment #3
scott.mclewin commentedThat patch simply changes the nature of the problem and moves it around - the root problem still exists. The smtp module is assuming that content-type will be EQUAL to 'text/html' when making the MIME check, rather it should be checking to see whether 'text/html' is contained within the content-type header.
I've rolled a patch with that change here: http://drupal.org/node/195622
Comment #4
oadaeh commentedThis issue has been fixed here: http://drupal.org/cvs?commit=90617
Comment #5
dennys commentedI upgrade to the newest version 1.15.2.11 2007/12/08 04:03:59 and try to send a test mail through gmail, but I got this error. It's ok in the previous version ...
Error sending email: 'The following From address failed: username@gmail.com' From: 'username@gmail.com' To: 'username@gmail.com'
Comment #6
oadaeh commentedWhich mail module(s) are you using with SMTP?
Comment #7
oadaeh commentedTry changing line 529 of the SMTP module from
to
and see what sort of messages you are receiving from your SMTP server.
Comment #8
dennys commentedSorry, it's my fault. I disabled SSL in php.ini, I just turned on it and it's ok now.
This is the debug information.
Just a suggestion, is it possible to add a function, when Drupal cannot connect to the smtp server, could it show a error message like "connect server error" ? Because the message in watchdog is
"Error sending email: "The following From address failed: username@gmail.com" From: "username@gmail.com" To: "username@gmail.com"It's not easy to know the root cause.Thanks for your kindly support.
Comment #9
oadaeh commentedYeah, I was thinking of doing that after spending a while debugging a problem on my end that turned out to be an incorrect server name. I certainly would have solved it sooner with more or better error messages.
Edit: Oops! I forgot to say that you could certainly create a feature request with that information in there, so this idea doesn't get forgotten.
Comment #10
dennys commentedI created 2 feature requests
http://drupal.org/node/199841: I put a patch for it, please help to check it, thanks.
http://drupal.org/node/199843: I have no idea how to implement it now ... sorry
btw, do you consider to release a version of this module ? "smtp 5.x-1.x-dev" is not easy to manage. Maybe from 1.0 or 1.0-beta1, etc...