Jump to:
| Project: | SMTP Authentication Support |
| Version: | 6.x-1.0-beta3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
I installed the SMTP module (with the phpmailer). I can get it to work on Gmail and it sends mail fine. But when I try to set it up on my hosting company's server I get this error.
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 " SMTP -> get_lines(): $data is "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 " SMTP -> get_lines(): $data was "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 " SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data is "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $data was "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 220-We do not authorize the use of this system to transport unsolicited, " SMTP -> get_lines(): $str is "220 and/or bulk e-mail. " SMTP -> get_lines(): $data is "220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. " SMTP -> FROM SERVER: 220-sb99.inmotionhosting.com ESMTP Exim 4.69 #1 Thu, 30 Oct 2008 19:13:40 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. SMTP -> get_lines(): $data was ""
Now I've talked to them and they've been totally worthless. So I thought I'd attempt here.
I really think this is an error with the hosting companies server. BUT just in case its not I thought I'd post here and see if anyone has any other ideas if its something I may be doing. I'm waiting for the higher levels of tech support to get back to me (we'll see if they do). I'd like to go to them with some better ideas of what to do though because I have very limited experience (basically none) in SMTP related issues.
Thanks all. I'd appreciate any comments/help/suggestions/complaints etc.
Cheers
Comments
#1
So I figured it out and thought I would post the answer just in case other people run into the same problem.
The answer was surprisingly simple and completely user error.
The email in the SMTP site configuration form MUST match the email in the site Information form--IF you are using your web hosting companies email. Problem solved.
For example: The "SMTP authentication support" name@yourdomain.com must equal the "Site Information" name@yourdomain.com
BUT: The "SMTP authentication support" name@gmail.com (or other) does not necessarily have to match "Site Information" name@yourdomain.com
Thats how it was in my experience at least. Hope this helps someone at some point in time. Thanks all.
#2
Hi,
We are trying to use SMTP module (with PHP mailer) to send mails through the application that we have developed using Drupal. However we are getting these errors and are unable to send the mail.
Please help!
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:
SMTP Error: Could not authenticate
Also, we have the same mail ids in Site Information & that used for SMTP site configuration.
Can someone please throw some light on this?
PS: We are using Drupal 6.10 & SMTP -6.x-1.x-dev module.
Many thanks in advance!
#3
#4
Hi,
I have changed these settings in php.ini also as
mail function]
; For Win32 only.
SMTP = 192.169.172.26
smtp_port = 25
; For Win32 only.
sendmail_from = swati_krishna@domain.com
But still i am getting these errors
SMTP -> FROM SERVER:
SMTP -> ERROR: EHLO not accepted from server:
SMTP -> ERROR: AUTH not accepted from server:
SMTP -> FROM SERVER:
SMTP -> ERROR: RSET failed:
SMTP Error: Could not authenticate.
Site info has the same from address as the 'SMTP Authentication'
#5
I'm not with the SMTP Authentication Support dev team, but I can help move this ticket along to conclusion.
I understand SMTP very well and both of these issues are not valid bug reports (although mitoman graciously updates this with what could be a common error cause. thanks).
If Swati's report were recent, I would change this to "support request" but it is so old that it just needs closing.
I'll close this out with troubleshooting suggestions:
- Narrow your problem to the simplest test case: just forget about Drupal and SMTP Authentication module...
- Instead, just configure your desktop email client to connect to your ISP using SMTP Auth protocol. Get that working FIRST. If you can not even connect to your email server using SMTP Auth using Outlook or Mozilla Thunderbird, you can not expect any other program to succeed. Makes sense? :-)
- As noted in documentation for SMTP Authentication, PHPMailer is what is actually used to send the mail. Knowing this, if you want to narrow this down you should bypass Drupal, and just write a standalone PHP script you can run on the command line, and the script should just try to send an email. If this fails, it is either a problem with your installation of PHPMailer, or (more likely) it is a problem with your authentication credentials or something in your email login that your ISP/mailserver does not like.
- Know that many ISPs (like Verizon) will validate both the SMTP 'MAIL FROM' and the actual "'From:' header" and they only allow you to use the email address they give you (and not anything custom like your own domain).
If/When you try to ask your ISP why your SMTP logins are failing, they will probably tell you they do not support Drupal, webservers, etc. This is another reason you will want to reproduce your problem using software the ISP does support (your email client).