Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

smtp username/password for JavaMail

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This code was working well on my dedicated server but know I am working on VPS.
My server provided said the previously it was open smtp but now there is username and password for smtp server.
How can I set username/password that I have in the above mentioned code?

Any help will be highly appreciated

The OS=CentOS Enterprise Linux 5.x

Thanks & best regards
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the extensive tutorial with many code examples; it deals with authentication.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Check out the extensive tutorial with many code examples; it deals with authentication.


Thanks a lot

The problem solved

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic