Roundcube Community Forum

 

Round Cube Email?

Started by Lexus501, January 13, 2024, 03:28:21 PM

Previous topic - Next topic

Lexus501

I'd like to know if anyone can solve what probably is a simple issue?
I'd like to permanently remove the section "Original Message". This appears each time I do a forward and it's a pain having to remove it manually each time.
Thanks for any help.
Dave.  :)
"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

JohnDoh

You can use the message_compose_body plugin hook to alert the message body.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Lexus501

Quote from: JohnDoh on January 14, 2024, 05:07:46 AM
You can use the message_compose_body plugin hook to alert the message body.

Can you be more specific please?
"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

JohnDoh

You could write a plugin which uses the message_compose_body hook to edit the message body which is created when the forward action is used. See https://github.com/roundcube/roundcubemail/wiki/Plugin-API for info about creating plugins
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Lexus501

I'm sure that will work, but it's way above my "paygrade".
Thanks very much for your reply.
Dave
"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

AishaMushtaq03

To permanently remove the "Original Message" section when forwarding:
1. Gmail: Click three dots, select "Forward," and delete the section.
2. Outlook: Click "Forward," remove the section, and send.
3. Apple Mail: Click "Forward," delete the section, and send.

Lexus501

Thanks but I knew that. I want to remove it permanently. Your way it will come back with each/every forward.  Thanks.  :)
"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

Dmitry42

Im not sure, but you can test filter rules with action Redirect - i tink it can forward message without "forwarded message".
But you must setup filter rules.

Lexus501

I guess I'm stuck with this. Thanks everyone for your time.
Dave
"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

showfer

Dave,
What problem are you trying to fix? It seems like you have the unusual requirement of manually forwarding emails unaltered, so you can't forward as an attachment and don't want the "Original Message" decoration as you're not adding any commentary on the message.

Lexus501

"If it ain't broke, don't fix it"
        OR Do what I do.
Keep fixing it till it is broke.

showfer

Is there a way you could forward the emails automatically, say a sieve rule on the mail server? Or do you have complex rules about which emails to forward?

JohnDoh

If you click on the drop down arrow on the right of the forward icon on the toolbar you should also see the "Resend (bounce)" option, may be this is what you want? It sends the original message to a new address unchanged.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...