• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail  RSS feed

 
Sivakumar Janardhanan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

This is sivakumar. Actually i am trying to send one mail using java program. If i run the program which is rendering an error like this "Could not connect to the server using SMTP Port 25". But in my outlook express have configured some properties ie for e.g POP is "example.company.come and SMTP ""example.company.com".

how can i able to connect my server using SMTP port 25?
how to use the Telnet to connect my server?


please somebody tell me about this issue.

Thanks
sivakumar
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaMail and Outlook Express are unconnected. Both are MUAs, so to speak, you don't use Outlook to connect JavaMail to your mail server. Just set the smtp properties in your JavaMail configuration to your SMTP server. I would sepak to the server administrator too.
 
Sanjay Mistry
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Please read my last response on the the thread:
http://www.coderanch.com/t/274035/Other-JSE-JEE-APIs/java/Connect-SMTP-server

Hope that helps.

I also have other example. Please shout if you need more assistance.

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