| Author |
Second Outlook postbox
|
Oliver Baum
Greenhorn
Joined: Jan 12, 2005
Posts: 16
|
|
Hi,
is it possible to open a mail store in outlook that is not my default store (which is in my outlook profile)?
I can open my default store an work with the mails. But now I need to open another outlook postbox. I see it in outlook and I can read the mails.
Thanks
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
|
Are you asking how to do this from a Java program, or does your question not have anything to do with Java at all?
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Oliver Baum
Greenhorn
Joined: Jan 12, 2005
Posts: 16
|
|
Sorry.
Yes I ask how can I do this from a Java Programm.
To open my default store, I do it like this:
Session session = Session.getDefaultInstance(props, null);
store = session.getStore("IMAP");
store.connect(...)
Folder folder = store.getFolder("INBOX");
folder.open(Folder.READ_WRITE);
|
 |
 |
|
|
subject: Second Outlook postbox
|
|
|