Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Notes usernames instead of email addresses #10

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

Notes usernames instead of email addresses #10

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Exported mbox file contains Lotus Notes user names for to/from/cc etc instead 
of valid email addresses.

So I am getting:
  cn=John Doe/ou=company/o=parentcompany
Instead of:
  john.doe@company.com


Example header
==============

From MAILER-DAEMON Thu Oct 21 23:16:04 2010
Content-Type: text/plain; charset="iso-8859-15"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: Track reports show clientCode when used
From: cn=John Doe/ou=company/o=parentcompany
To: cn=Robert Plant/ou=company/o=parentcompany@parentcompany
Cc: 
Date: 10/21/10 09:53:22
User-Agent: Lotus Notes Release 8.5 December 05, 2008
Message-ID: 
<OF1B7D1675.2B17897E-ON882577C3.005C949E-882577C3.005CC6DB@LocalDomain>

Original issue reported on code.google.com by bryanv...@gmail.com on 22 Oct 2010 at 3:58

@GoogleCodeExporter
Copy link
Author

yeah, when I implemented nlconverter, I didn't find an internet adress in the 
nsf.
However, in my company, all email adresses are well-formed.
So I went with a regexp to decode lotus notes adress and encode it in email 
adress format.

Regexp are located lines 27/28 in the nlconverterLib.py file. They only catch 
my company OU, but should be easy to change to make it work as you wish.

Original comment by hugues.b...@gmail.com on 22 Oct 2010 at 4:35

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant