Email Templates

Discussion in 'General' started by zapyahoo, May 1, 2014.

  1. zapyahoo

    zapyahoo Member

    listed in /usr/local/ispconfig/server/conf/mail/

    Aren't they supposed to be listed in frontend under client->email templates->other

    Also Welcome email can not be edited in frontend?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, these are 2 completey different functions. the email templates that you find in the filesysetm are the default email for newly created email accounts. the email templates in the client module are the client welcome messages.
     
  3. zapyahoo

    zapyahoo Member

    I see.

    Would be nice to list everything in frontend under templates!

    Regarding new email accounts. They get scrapped upon upgrades...
    /usr/local/ispconfig/server/conf/mail/

    HTML:
    From: ISPConfig <[email protected]>
    Subject: Welcome to your new email account.
    
    Welcome to your new email account. Your webmaster.
    Would be nice to list everything in frontend under templates (edit option) and protect them from changes upon upgrade.

    but yeah ok.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you missed to store your modified templates in conf-custom/mail/ folder.

    It is planned to make this templates available in frontend as well.
     
  5. zapyahoo

    zapyahoo Member

    These ones seem to be well formated:
    HTML:
    MIME-Version: 1.0
    Content-type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit
    From: {admin_mail}
    Reply-To: {admin_mail}
    Subject: Website quota notification
    
    The website {domain} is near or over quota.
    
    Domain:                 {domain}
    Used space:             {used}
    Soft limit:             {soft}
    Hard limit:             {hard}
    Usage ratio:            {ratio}

    HTML:
    MIME-Version: 1.0
    Content-type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit
    From: {admin_mail}
    Reply-To: {admin_mail}
    Subject: Mailbox quota notification
    
    The mailbox {email} is near or over quota.
    
    Mailbox:                        {email}
    Name:                           {name}
    Used space:                     {used}
    Quota:                          {quota}
    Usage ratio:                    {ratio}

    Just the new account welcome message seems badly formated.

    So I can actually scrap the ones I created in frontend under others for these actions.

    Weird...somehow the template system and frontend interaction does not make sense to me.
     
  6. zapyahoo

    zapyahoo Member

    that's the problem then... didn't even knew that folder existed :D hehehe... never had many custom templates... guess I just edited the welcome email. don't remember was a year ago.

    In any case, "thumbs up" for you and the ispconfig3 development... it's getting there.
     

Share This Page