rainloop-webmail icon indicating copy to clipboard operation
rainloop-webmail copied to clipboard

Automatically forward mails with .eml attachements by clicking a button

Open bilel opened this issue 3 years ago • 0 comments

Hi :) I'd like to visualize .eml files received as attachments. A fast and convenient trick I'm using is to forward those mails to a gmail box where I can clearly have a nice preview.

So I added this code to MailMessageView.html to display a custom button when needed

<ul class="attachmentList" data-bind="foreach: message() ? message().attachments() : []">
...
<li class="e-item clearfix" data-bind="visible: fileName.includes('.eml')">
<a class="e-link menuitem command no-disabled" href="#" tabindex="-1" data-bind="command: $root.forwardCommand">Forward to GMAIL</a></li>

Clicking on this link shows well the modal where I could compose my message.

Is there any way we could add any extra argument to the forwardCommand or the sendCommand? So I could directly transfer it to a specific mailbox.. (without showing the modal)

Like setting a custom value to sTo

Thank you :)

bilel avatar Jan 16 '23 16:01 bilel