• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Sending Email - failed  RSS feed

 
marlajee Borstone
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to send mail from my Java program.
I have disabled the firewall for this even though I get the Authentication failed error.
Can some one please look into the code and suggest what is the thing missing here or doing what mistake in this code...



any pointer to the solution if anyone have already used this code, would be highly apprecitated.


Dhannsumaal
 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


If it help. It works as of this morning when sending email using google SMTP provider. So check your code with it. Good luck.
 
marlajee Borstone
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,
It worked perfectly. Thanks a million sir.
I am attaching the complete code here which I have executed for reference :

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!