Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:2.0:e-mail-templates [2019/07/24 22:50] fasseen:2.0:e-mail-templates [2021/12/13 11:04] (current) fasse
Line 8: Line 8:
 The e-mail template is defined via an HTML file. In Admidio Version 3, only one file named **template.html** can be used. //From Admidio Version 4// you can create several templates and choose the name freely. It always has to be a file with the extension **.html**. Even if you do not want to use HTML emails, you need to create an HTML file, but then just add text there. //From Admidio Version 4// you can now select in the settings of **messages** at **e-mail template** the file you just created. The e-mail template is defined via an HTML file. In Admidio Version 3, only one file named **template.html** can be used. //From Admidio Version 4// you can create several templates and choose the name freely. It always has to be a file with the extension **.html**. Even if you do not want to use HTML emails, you need to create an HTML file, but then just add text there. //From Admidio Version 4// you can now select in the settings of **messages** at **e-mail template** the file you just created.
  
-{{:de:2.0:messages:settings_email_template.png?400|Preferences > Messages}}+{{:en:2.0:messages:settings_email_template_en.png?400|Preferences > Messages}}
  
 Within the html-file you can add further content with [[de:2.0:e-mail-templates#wie_baue_ich_parameter_in_die_vorlage_ein | predefined parameters]]. Mandatory is the parameter **#message#**, which adds the actual content of the e-mail. You can then place this parameter in your template as you like. Within the html-file you can add further content with [[de:2.0:e-mail-templates#wie_baue_ich_parameter_in_die_vorlage_ein | predefined parameters]]. Mandatory is the parameter **#message#**, which adds the actual content of the e-mail. You can then place this parameter in your template as you like.
Line 39: Line 39:
  
 The following parameters are available: The following parameters are available:
-^ Parameter      ^ Mindestversion Beschreibung          ^+^ Parameter      ^ Minimum version Description          ^
 | #message#                | 3.0 | The content of the e-mail. :!: **This parameter must be used in each template**.   | | #message#                | 3.0 | The content of the e-mail. :!: **This parameter must be used in each template**.   |
 | #sender#                 | 3.0 | Please only use in version 3.x. First name and surname of the sender. | | #sender#                 | 3.0 | Please only use in version 3.x. First name and surname of the sender. |
 | #sender_name#            | 4.0 | First name and surname of the sender. | | #sender_name#            | 4.0 | First name and surname of the sender. |
 | #sender_email#           | 4.0 | E-mail address of the sender. | | #sender_email#           | 4.0 | E-mail address of the sender. |
 +| #sender_uuid#           | 4.1 | The unique UUID of the sender. |
 | #receiver#               | 3.0 | Please only use in version 3.x. Recipients of the e-mail. Roles and individual users. | | #receiver#               | 3.0 | Please only use in version 3.x. Recipients of the e-mail. Roles and individual users. |
 | #recipients#             | 4.0 | Recipients of the e-mail. Roles and individual users (for sending as BCC only the number of individual users)\\ Example: //Members, Administrators and 3 individual users//. | | #recipients#             | 4.0 | Recipients of the e-mail. Roles and individual users (for sending as BCC only the number of individual users)\\ Example: //Members, Administrators and 3 individual users//. |
  • en/2.0/e-mail-templates.1564001426.txt.gz
  • Last modified: 2019/07/24 22:50
  • by fasse