Solved

Configuring SendEmail command with GoDaddy-Returned zero byte response

Posted on 2013-06-05
10
2,566 Views
Last Modified: 2013-06-29
I am trying to automate an email from my GoDaddy email account using the SendEmail command using the noTLS version.  I can not get around the error "returned a zero byte response to our query."

Currently I am trying the following:

sendEmail -f user1@xxx.net -t user2@xxx.com -u Test Email -m Reports to come -s smtpout.secureserver.net:465

I have tried the line with the user and password as well.  Also with -o tls = no at the end:

sendEmail -f user1@xxx.net -t user2@xxx.com -u Test Email -m Reports to come -s smtpout.secureserver.net:465 -xu user1@xxx.net  -xp xxxxx

I get the same error - "returned a zero byte response to our query." - no matter what I try.

Is it my code or is there something with GoDaddy I'm not accounting for?
Any help would be appreciated.
0
Comment
Question by:haident
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39223881
The first rule Godaddy has is that email thru their servers must have an email address registered on one of their domains that you own.  For web page forms, it can be the 'From:' or the 'To:'.  I don't recognize your 'sendEmail' command.  Where are you running that and what is it?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39223899
Is your 'sendEmail' this program: http://caspian.dotconf.net/menu/Software/SendEmail/   Did you get the version with TLS support?  You're trying to send thru a 'secure' server port.
0
 

Expert Comment

by:jinnicky
ID: 39287006
I'm using sendEmail -1.56.  

It works on two of my sites with commercial Comcast internet and fails with the "returned zero byte" error on my home Comcast internet.  

It used to work at home.

What I don't understand is that I'm using smtpout.secureserver.net port 465 with:
Authentication method:  Normal Password
      Connection Security:  SSL/TLS
at home with Thunderbird and it works.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287020
Two things.  #1. Comcast started blocking port 25 a couple of months ago on home internet connections.  #2.  There are two versions of sendEmail -1.56, one without TLS (SSL), http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v156-notls.zip and one with TLS / SSL, http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v156.zip

There is a note at the bottom of this page http://caspian.dotconf.net/menu/Software/SendEmail/ about additional requirements for sending TLS / SSL email.  
To enable TLS support simply install the Net::SSLeay and IO::Socket::SSL perl modules.
0
 

Expert Comment

by:jinnicky
ID: 39287120
I am using the TLS/SSL version.  Net::SSLeay and IO::Socket::SSL were a little back level, so I updated them from CPAN.  

Still getting the "zero byte response".
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287273
I can get email thru my Godaddy account on port 25 on this machine.  I did have to change to 'sendEmail.pl'.  Nothing I tried would work on port 465.  I had to include the username and password or it would just lock up and not return even the 0-byte error.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287295
Ok, I'm pretty sure that the TLS option of sendEmail just doesn't work.  I was unable to send to my Gmail account as well.  And using PHPMailer, I was able to send thru both my Gmail and Godaddy accounts on port 465 / SSL.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287316
The code on this page works to send to port 465 on Godaddy.
http://robertmaldon.blogspot.com/2006/10/sending-email-through-google-smtp-from.html
0
 

Expert Comment

by:jinnicky
ID: 39287612
Many thanks.  

That worked for me on Godaddy through port 465.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287615
You're welcome, take care.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
PHP contact form that lets the user to contact the company through email contact form. A button is fixed at the bottom of site, on clicking a new window will open where a user can send the email.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question