Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: avatejo on November 27, 2014, 10:57:39 AM

Title: Open eml from disk on the compose window or import the eml to RC and then open
Post by: avatejo on November 27, 2014, 10:57:39 AM
anyone know how can I open an EML file from disk.

My approach is to import the file in RC and then open it, but still cant find a way to do it...
Title: Re: Open eml from disk on the compose window or import the eml to RC and then open
Post by: ABerglund on November 27, 2014, 12:51:07 PM
What version RC are you running?
Title: Re: Open eml from disk on the compose window or import the eml to RC and then open
Post by: alec on November 27, 2014, 12:56:23 PM
There's no previewer for EML files in Roundcube yet. Sometimes you can see some content of attached eml files, but it's not a real previewer like for text or html.
Title: Re: Open eml from disk on the compose window or import the eml to RC and then open
Post by: alec on November 27, 2014, 12:58:46 PM
I was too fast. Of course you can import the message and view it as any other message. The "Import message" option is hidden in folders list menu. This is available since Roundcube 1.0. For older version there was a plugin, but not best quality.
Title: Re: Open eml from disk on the compose window or import the eml to RC and then open
Post by: avatejo on December 02, 2014, 06:04:25 PM
I have RC 1.0.3

I need to import the message by code, recover the ID and then call the compose window

But still didn't found any sample code about how to import message by code, without using the import form