Haiden Turner
asked on
Configuring SendEmail command with GoDaddy-Returned zero byte response
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:4 65
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:4 65 -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.
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:4
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:4
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.
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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.
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.
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".
Still getting the "zero byte response".
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.
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.
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
http://robertmaldon.blogspot.com/2006/10/sending-email-through-google-smtp-from.html
Many thanks.
That worked for me on Godaddy through port 465.
That worked for me on Godaddy through port 465.
You're welcome, take care.