• Post Reply Bookmark Topic Watch Topic
  • New Topic

javamail, entering extra param (domain)

 
Ruud Steeghs
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When logging on to my mailserver (using Outlook) a username, password and domain are asked for.
(The domain is a local domainname, not the one in my mail address)
JavaMail only provides
Store.connect(String host, String username, String password),
there's no possibility to enter an extra parameter like domain name.
Like this I cannot connect to my mailserver
Anyone have any idea how to solve this problem?
Regards,
Ruud.
 
Ruud Steeghs
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition: if I do use the methods mentioned above, the following error occurs:
java.net.ConnectException: Connection refused: connect
presumably caused by not having provided the domain name.
-r.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!