Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Lexus501 on January 13, 2024, 03:28:21 PM

Title: Round Cube Email?
Post by: Lexus501 on January 13, 2024, 03:28:21 PM
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.  :)
Title: Re: Round Cube Email?
Post by: JohnDoh on January 14, 2024, 05:07:46 AM
You can use the message_compose_body plugin hook to alert the message body.
Title: Re: Round Cube Email?
Post by: Lexus501 on January 14, 2024, 11:19:56 AM
You can use the message_compose_body plugin hook to alert the message body.

Can you be more specific please?
Title: Re: Round Cube Email?
Post by: JohnDoh on January 15, 2024, 11:41:18 AM
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
Title: Re: Round Cube Email?
Post by: Lexus501 on January 15, 2024, 11:53:02 AM
I'm sure that will work, but it's way above my "paygrade".
Thanks very much for your reply.
Dave
Title: Re: Round Cube Email?
Post by: AishaMushtaq03 on January 16, 2024, 04:01:11 AM
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.
Title: Re: Round Cube Email?
Post by: Lexus501 on January 16, 2024, 12:40:36 PM
Thanks but I knew that. I want to remove it permanently. Your way it will come back with each/every forward.  Thanks.  :)
Title: Re: Round Cube Email?
Post by: Dmitry42 on January 17, 2024, 07:26:10 AM
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.
Title: Re: Round Cube Email?
Post by: Lexus501 on January 17, 2024, 11:05:05 AM
I guess I'm stuck with this. Thanks everyone for your time.
Dave
Title: Re: Round Cube Email?
Post by: showfer on January 17, 2024, 12:11:02 PM
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.
Title: Re: Round Cube Email?
Post by: Lexus501 on January 17, 2024, 01:52:10 PM
Yes, that's right.
Title: Re: Round Cube Email?
Post by: showfer on January 17, 2024, 02:39:29 PM
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?
Title: Re: Round Cube Email?
Post by: JohnDoh on January 17, 2024, 02:54:26 PM
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.