Actually, I don,t mean configuring my GMail non Yahoo account.
This is my situation,
I have Apache James Mail Server installed on my Local Machine. I also have internet connection which I use to try my code for communication between my local mail server and remote servers like GMail and Yahoo.
So far, things works fine on my local server but I issues arises when I tried access to a remote server like GMail/Yahoo with the code in my previous post and got
Now, I observed that I don't need uncomment either lines 5 or 6 in order to send mail to remote server.
Sending mail with either line 13 or 14, the message sends successfully with out any error.
BUT, unfortunately the message never get delivered to the Yahoo/Gmail Account.
Please Your Help will be high apreciated. I have researched alot for a solution without success.