On Thu, 19 Jan 2006 14:55:52 +0100 Jose' Cruanyes <[EMAIL PROTECTED]> wrote:

JC> I'm in this scenario
JC> I've pulled out from a "repository" (let's call it this way) a raw e- 
JC> mail message (multipart, HTML, attachments ecc) in a block of memory  
JC> in my program
JC> 
JC> I want to display it
JC> 
JC> it's possible to launch mahogany passing it as parameter (or passing  
JC> as parameter a file containing it?)

 You can put the message into a file, prepend a "From " line to make it a
valid MBOX and also create an ad-hoc config file containing the definition
of a single file-based folder with the path to the temp file and then
launch "M --config=config.tmp --folder=whatever". This still would show the
main program window and allow to do other things instead of just showing
the message.

 If you tell us why exactly do you want to do it, maybe a better solution
could be found.

 Regards,
VZ



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to