1)How do I compose a message in C++
We don't have API to compose message in C++ as the UI has been written 
in XUL/JS. However, you can send message using the API you can found in 
mailnews/compose/public, especially nsIMsgSend, nsIMsgCompFields.

But why rewrite an import tools! why not just fix the current import 
tool, that would be more helpful for the community!

2)How do I store that message in mozilla

Mozilla, like Netscape 4.x use Berkley file format for email. I don't 
have the specs of it but if you take a look at any mailbox file in your 
profile (like inbox), it should be very easy to figure it out. You don't 
need to generate yourself a summary file (.msf) as it will be 
automatically created when you access your mailbox.

Jean-Francois

Justin Kirby wrote:

> I want to get out of Outlook. To do this I need to get my email exported out
> of it. The mozilla importer won't import about 30% of 500MB of email... bit
> annoying. Something about invalid character set.
> 
> Since mailbox format is the most popular storage mechanism for email, I
> figured I could hack up a quick app to automate it for me. Already have one
> doing iCAL and vCard...
> 
> I clicked around lxr for about an hour and can't figure out where to
> start...
> 
> 1. How do I compose a message in C++
> 2. How do I store that message in mozilla
> 
> mozilla does use mbox right?
> 
> 
> Any idea/pointers would be greatly appreciated.
> 
> Thnx,
> Justin
> 
> 
> 


Reply via email to