Skip to content

New feature implemented: Autoresponder in HTML #130

@rileonar

Description

@rileonar

Hello,
I've developed a small update to allow user to choose autoresponder mail format between text-only (current) and htm, using same tinymce editor already used in mail compose.
I think this feature could be useful to some people (I saw some threads talking about it, some suggestions but no complete solution).
The update add a new selector called "HTML into Settings->Account->Autoreply page:

immagine

When the HTML selector is enabled, into textarea containing body of autoresponder is shown the tinymce html editor (the same used in compose mail process), and once the "Save" button is pressed the html is written to .ispconfig.sieve with proper mime header to format in html the mail sent by autoresponder.
When the HTML selector is disabled, the behavior is the "old one": the content of text area is handled as text only and the mail is sent by autoresponder without any mime header.
The HTML selector state is saved into database (user's mail properties).

I alredy submitted changes to ISPConfig3 project (3.2.11 version) in order to implement this feature:

  • /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php
    
  • /usr/local/ispconfig/interface/web/mailuser/templates/mail_user_autoresponder_edit.htm
    
  • /usr/local/ispconfig/interface/web/mail/form/mail_user.tform.php
    
  • /usr/local/ispconfig/server/conf/sieve_filter.master_save /usr/local/ispconfig/server/conf/sieve_filter.master
    
  • database dbispconfig, table mail_user, add field autoresponder_html
    

Now the only remaining file to change to implement the feature is:

  • /usr/share/roundcube/plugins/ispconfig3_autoreply/ispconfig3_autoreply.php
    

If the update will be accepted there will be no more need for me to re-apply it at every ispconfig3_roundcube version upgrade and in fresh installations of ISPConfig.
Could you please provide me directions to submit this update in order to include it into next versions of ispconfig3_roundcube?

Thank you
Riccardo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions