Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Anderson on August 11, 2010, 01:36:08 PM

Title: email branding
Post by: Anderson on August 11, 2010, 01:36:08 PM
Hi,

i want to display a header image in every new email sent. Like i can do with the signatures, in identities, but before the email content.

anyone has an idea how can i do that?

thanks.
Title: email branding
Post by: Anderson on August 11, 2010, 01:59:43 PM
I changed the core code.
The function: rcmail_prepare_message_body()
i started $body with the code i desired.
like: $body = '

""


';


is possible make a plugin to make this?

thanks
Title: email branding
Post by: SKaero on August 12, 2010, 02:10:28 AM
Yes you could make a plugin to add a header, if you wanted to add it to compose body for each new email (so it could be removed) using the message_compose_body hook or right before the email is sent (so it would be automatically added every time) by using the message_outgoing_body hook.