wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes smtp username/password for JavaMail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "smtp username/password for JavaMail" Watch "smtp username/password for JavaMail" New topic
Author

smtp username/password for JavaMail

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732


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
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
Check out the extensive tutorial with many code examples; it deals with authentication.


Ping & DNS - my free Android networking tools app
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Ulf Dittmer wrote:Check out the extensive tutorial with many code examples; it deals with authentication.


Thanks a lot

The problem solved

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: smtp username/password for JavaMail
 
Similar Threads
Getting exception in sending Email from Servlet
sending mail with JavaMail
Javamail: Problem sending attachments
JavaMail and Gmail
Java Mail API not connecting me from my tomcat server