I have gone through this question, it works well with its own case using SSL
and I have also tried this one, which somehow suits to my need but it won't worked in my case.
I have also read this topic but still not able to send a email without using SSL in my code.
Everytime I send a mail it says "Exception 554, Mail Refused"
what i really need is to use::
mailhost: "smtpout.secureserver.net"
port-no: 25
Thanks,
Haps.
Firstly use Mail.jar, activation.jar, Additional.jar file Upload in Your project
Use this Mail Class
Mail class has send() Method use in Your Main class
This is what I get for your error which means sending mail from your ip is blocked. below answer is from this link http://postmaster.bluetie.com/subcontent/smtpCodes.php
554 - BL0002: Mail Refused - IP Address xxx.xxx.xxx.xxx Blacklisted - Please see http://www.spamcop.net/w3m?action=checkblock&ip=xxx.xxx.xxx.xxx This error message indicates the sending IP address was found on the SpamCop Blacklist. A removal/reset request must be issued by the sending party. BlueTie cannot remove the sending IP address from the Blacklist. You may wish to contact your ISP for further assistance with errors of this nature.