SMTP Server Error
| Project: | SMTP Authentication Support |
| Version: | 6.x-1.0-beta3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
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

#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'