*Newbie warning*

I did post this to an existing thread, but did not get any feedback. I am wondering because it was a 'closed' topic whether people would see it.

I have a specific need that I have listed below. Note that I am also willing to pay someone who has experience getting this working.

So here is the deal:

I am using Godaddy and Drupal (7) and am attempting to send email through the SMTP module. I must have gotten lucky because the GoDaddy tech I got knew right out of the gate that the settings needed to be localhost, port 25, no encryption and no authentication.

I have included the settings in the SMTP module below.

The Godaddy tech also installed the php script on my site and was able to demonstrate that the site is sending email. I received the email just fine.

When I run the test from the SMTP module I get the following logged. Kinda appears as if it is working, but the GoDaddy tech said he was 'not seeing it come through the queues'. I did try with the Queue checkbox on and off. I am also including what the logs in Drupal say after attempting to send.

Finally, I did run a test off the site where we have a registration page (as opposed to simply running a test). I have included the logs for that as well.

**********SMTP Module Settings*************

SMTP Module settings:
INSTALL OPTIONS
Turn this module on or off: ON

Turn on delivery of emails: ON

Send mail by queue: Have tried both, but currently NOT CHECKED
Retry sending mail on error.: Currently NOT CHECKED

SMTP SERVER SETTINGS
SMTP server: localhost
SMTP backup server:
SMTP port: 25
Use encrypted protocol: No

SMTP AUTHENTICATION
Username:
Password:

E-MAIL OPTIONS
E-mail from address: xxx@yyy.com
E-mail from name: yyy Web Site

Allow to send e-mails formatted as Html: NOT CHECKED

SMTP CLIENT SETTINGS
Hostname:
HELO:

SEND TEST E-MAIL
E-mail address to send a test e-mail to: have definitely tried this with a few different email addresses :-)

DEBUGGING AND LOGGING
Logging: Log everything

**********Log from Test*************

• SMTP.module is active.
• The configuration options have been saved.
• SMTP.module is active.
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -0700 "
• SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -0700 "
• SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -0700 "
• SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
• SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -0700 220-We do not authorize the use of this system to transport unsolicited, "
• SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -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 was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. "
• SMTP -> FROM SERVER: 220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 07:39:52 -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 ""
• SMTP -> get_lines(): $str is "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
• SMTP -> get_lines(): $str is "250-SIZE 52428800 "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 "
• SMTP -> get_lines(): $str is "250-8BITMIME "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME "
• SMTP -> get_lines(): $str is "250-PIPELINING "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING "
• SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN "
• SMTP -> get_lines(): $str is "250-STARTTLS "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
• SMTP -> get_lines(): $str is "250 HELP "
• SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP "
• SMTP -> FROM SERVER: 250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "250 OK "
• SMTP -> get_lines(): $data was "250 OK "
• SMTP -> FROM SERVER: 250 OK
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "250 Accepted "
• SMTP -> get_lines(): $data was "250 Accepted "
• SMTP -> FROM SERVER: 250 Accepted
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself "
• SMTP -> get_lines(): $data was "354 Enter message, ending with "." on a line by itself "
• SMTP -> FROM SERVER: 354 Enter message, ending with "." on a line by itself
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "250 OK id=1cPs9w-000dkZ-N2 "
• SMTP -> get_lines(): $data was "250 OK id=1cPs9w-000dkZ-N2 "
• SMTP -> FROM SERVER: 250 OK id=1cPs9w-000dkZ-N2
• SMTP -> get_lines(): $data was ""
• SMTP -> get_lines(): $str is "221 a2plcpnl0744.prod.iad2.secureserver.net closing connection "
• SMTP -> get_lines(): $data was "221 a2plcpnl0744.prod.iad2.secureserver.net closing connection "
• SMTP -> FROM SERVER: @byemsg
• A test e-mail has been sent to john@vcio.biz. You may want to check the logs for any error messages.

**********Information in Drupal Logs*************
TYPE smtp
DATE Saturday, January 7, 2017 - 08:39
USER johnp@yyy.com

LOCATION http://host.yyy.com/admin/config/system/smtp?render=overlay

REFERRER http://host.yyy.com/admin/config/system/smtp?render=overlay

MESSAGE Sent mail to: john@vcio.biz
SEVERITY notice
HOSTNAME 66.172.214.105
OPERATIONS

**********Log from Registration form *************

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -0700 "
SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -0700 "
SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -0700 "
SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -0700 220-We do not authorize the use of this system to transport unsolicited, "
SMTP -> get_lines(): $data was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -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 was "220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. "
SMTP -> FROM SERVER: 220-a2plcpnl0744.prod.iad2.secureserver.net ESMTP Exim 4.87 #1 Sat, 07 Jan 2017 08:28:26 -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 ""
SMTP -> get_lines(): $str is "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] "
SMTP -> get_lines(): $str is "250-SIZE 52428800 "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 "
SMTP -> get_lines(): $str is "250-8BITMIME "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME "
SMTP -> get_lines(): $str is "250-PIPELINING "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING "
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $str is "250-STARTTLS "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
SMTP -> get_lines(): $str is "250 HELP "
SMTP -> get_lines(): $data was "250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP "
SMTP -> FROM SERVER: 250-a2plcpnl0744.prod.iad2.secureserver.net Hello host.yyy.com [127.0.0.1] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 OK "
SMTP -> get_lines(): $data was "250 OK "
SMTP -> FROM SERVER: 250 OK
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Accepted "
SMTP -> get_lines(): $data was "250 Accepted "
SMTP -> FROM SERVER: 250 Accepted
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself "
SMTP -> get_lines(): $data was "354 Enter message, ending with "." on a line by itself "
SMTP -> FROM SERVER: 354 Enter message, ending with "." on a line by itself
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 OK id=1cPsuw-001uuW-Fc "
SMTP -> get_lines(): $data was "250 OK id=1cPsuw-001uuW-Fc "
SMTP -> FROM SERVER: 250 OK id=1cPsuw-001uuW-Fc
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "221 a2plcpnl0744.prod.iad2.secureserver.net closing connection "
SMTP -> get_lines(): $data was "221 a2plcpnl0744.prod.iad2.secureserver.net closing connection "
SMTP -> FROM SERVER: @byemsg

Comments

Jaypan’s picture

Those logs look like the mail was properly sent. Are you sure the problem isn't on the receiving end? Maybe try a different email address.

johnwpritchard’s picture

I agree... looks like it sent to me also... but email does not go through. Tried sending email to gmail, yahoo and a couple accounts I have in Office 365. I also tried a 'forgot my password' link. Tried with queuing on and off. Turning on the 'test' mode and turning it off. The appropriate settings appear to show the correct processing, but no mail comes :-(

Jaypan’s picture

Here are the lines that are relevant:
• SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself "
354 = Start mail input;
SMTP -> FROM SERVER: 250 OK id=1cPsuw-001uuW-Fc
250 = Requested mail action okay, completed
SMTP -> get_lines(): $data was "221 a2plcpnl0744.prod.iad2.secureserver.net closing connection "
221 = Service closing transmission channel

This is why I think that the server is properly sending the message. So it seems like the blockage is somewhere further along the line.

As a test, create Gmail account if you don't already have one, and try sending through their servers with the same settings.