Lotus Domino 解析电子邮件地址(发件人、收件人)
Lotus Domino Resolve Email Address (From, To)
为了将所有邮件导出到 eml,我一直在研究 Lotus Domino 的 Java API。到目前为止一切顺利,但是有没有一种方法可以让我自动 "resolve" 电子邮件地址。 "From" 或 "To" 字段有时只会给我 CN=Max Mustermann/O=musterdomain。
我预期的结果是这样的:max.mustermann@musterdomain.de
您可以调用LookupNames method of the NotesDirectory class. You can get an instance of NotesDirectory via the GetDirectory method of the NotesSesson class. There are some examples here。您会希望 InternetAddress 成为您的调用返回的项目之一。
为了将所有邮件导出到 eml,我一直在研究 Lotus Domino 的 Java API。到目前为止一切顺利,但是有没有一种方法可以让我自动 "resolve" 电子邮件地址。 "From" 或 "To" 字段有时只会给我 CN=Max Mustermann/O=musterdomain。
我预期的结果是这样的:max.mustermann@musterdomain.de
您可以调用LookupNames method of the NotesDirectory class. You can get an instance of NotesDirectory via the GetDirectory method of the NotesSesson class. There are some examples here。您会希望 InternetAddress 成为您的调用返回的项目之一。