email templates

Discussion in 'General' started by Utixo, Feb 20, 2017.

  1. Utixo

    Utixo New Member

    even in the official manuale I didnt find a more detailed information about email templates (default welcome or other) in the clients menu
    how to use those? Can the template send passwords as well (i see password variable)

    thx
     
  2. Rafael Volpe

    Rafael Volpe New Member

    You can change the default message at:
    /usr/local/ispconfig/server/conf/mail/

    As of ISPConfig 3.0.4, the text of the welcome email message that is sent to new email accounts is stored in the folder /usr/local/ispconfig/server/conf/mail/.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Variables that are displayed below a field in ISPConfig can be used in that field.
     
  4. Utixo

    Utixo New Member

    no, it's something different... I am talking about the email-template in the client menu

    upload_2017-2-20_16-32-44.png

    I tried to set it but I still get the same standard welcome message and it's unclear how to use "other" template ... no mention on the manual
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The type "other" is a template that you can use in client circles, as explained in the manual in chapter 4.5.3.3.
     
  6. ledufakademy

    ledufakademy Member

    ... same issue , edit the "Default welcome email" name ... just type "user_creation"
    then build message ...
    then creating email account ...
    But always sending default message:
    "Welcome to your new email account."
    but not my default modified welcome mail.

    i do someting wrong ?

    i also notice that email creation is not sending to the copy email (in order to inform the client for his credentials etc)
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The default welcome email is for sending new clients a message, not for new mailboxes. You can set up a custom message in /usr/local/ispconfig/server/conf-custom/mail/welcome_email_en.txt

    (If your ISPConfig is configured in a different language, you have to change the bold language tag to the correct one.)
     
    ledufakademy likes this.
  8. ledufakademy

    ledufakademy Member

    argghh : a chance you give me the tips.
    Can i put variable of the webgui in this txt file ?

    THanks !!!
     
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No, which variables would you want to add?
     
  10. ledufakademy

    ledufakademy Member

    i dream of those ones ... oups !!! :rolleyes:


    {company_name} {company_id} {salutation} {contact_firstname} {contact_name} {customer_no} {vat_id} {street} {zip} {city} {state} {country} {telephone} {mobile} {fax} {email} {internet} {icq} {notes} {bank_account_owner} {bank_account_number} {bank_code} {bank_name} {bank_account_iban} {bank_account_swift} {paypal_email} {mail_servers} {default_xmppserver} {xmpp_servers} {web_servers} {db_servers} {dns_servers} {username} {password} {language} {validation_status} {risk_score} {activation_code}
     
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Most of these are not related for a email account, only for the client.
     
    ledufakademy likes this.
  12. ledufakademy

    ledufakademy Member

    hum ... edit : nano /usr/local/ispconfig/server/conf-custom/mail/welcome_email_fr.txt
    then symlink to nano /usr/local/ispconfig/server/conf-custom/mail/welcome_email_en.txt

    same result ...
    "Welcome to your new email account. Your webmaster."

    you put this file on mail or web server ? (i put it on web server)
     
  13. ledufakademy

    ledufakademy Member

    it will cool to have ones for client mail account ... too (but hard to dev.)
     
  14. ledufakademy

    ledufakademy Member

    i put it here on my web1 server (ispconfig panel here too)

    root@web1:~# ls -alh /usr/local/ispconfig/server/conf-custom/mail/
    total 20K
    drwxr-x--- 2 root root 4.0K Sep 6 19:51 .
    drwxr-x--- 6 root root 4.0K Sep 1 10:18 ..
    -rwxr-x--- 1 root root 45 Sep 1 10:18 empty.dir
    -rw-r--r-- 1 root root 2.3K Sep 6 19:49 welcome_email_en.txt
    lrwxrwxrwx 1 root root 65 Sep 6 19:50 welcome_email_fr.txt -> /usr/local/ispconfig/server/conf-custom/mail/welcome_email_en.txt
     
  15. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    A symlink is not needed as you just need the file for the language that your ISPConfig is configured for in config.inc.php.

    On the mail server.
     
  16. ledufakademy

    ledufakademy Member

    Do you have the txt file format , fields allowed ?
     
  17. ledufakademy

    ledufakademy Member

    put it on web server ...... grrrr !

    ;-)
     
  18. ledufakademy

    ledufakademy Member

    there is no way to retrieve mail or name during mail creation ?

    From: ISPConfig <[email protected]>
    Subject: Welcome to your new email account.

    Welcome to your new email account. Your webmaster.
     
  19. ledufakademy

    ledufakademy Member

    note : working with editing
    nano /usr/local/ispconfig/server/conf-custom/mail/welcome_email_en.txt

    done via Ansible ..on all 3 mail servers !
     
  20. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can change the data in above post.

    e.g.:
    From: CompanyName <[email protected]>
    Subject: This is your new email account.

    If you have any questions, get in touch!
    [email protected]
     
    ledufakademy likes this.

Share This Page