이메일 템플릿
Mattermost에는 특정 이벤트가 발생할 때 전송되는 몇 가지 이메일 템플릿이 있습니다. 대부분의 경우 이러한 템플릿을 수정할 필요가 없습니다. 추가 수정이 필요한 경우 각 이메일에서 사용 가능한 모든 props가 아래에 나열되어 있습니다.
Mattermost에는 특정 이벤트가 발생할 때 전송되는 몇 가지 이메일 템플릿이 있습니다.
대부분의 경우 이러한 템플릿을 수정할 필요가 없습니다.
추가 수정이 필요한 경우 각 이메일에서 사용 가능한 모든 props가 아래에 나열되어 있습니다.
'Content' 필드는 prop에 대한 간략한 설명을 제공하기 위한 것입니다. 정확한 문구는 i18n 문자열을 확인하세요.
이메일 템플릿은 Mattermost 서버 디렉토리의 templates 폴더에 있습니다.
각 prop에 해당하는 문자열은 i18n 폴더에서 찾을 수 있습니다.
- 다른 이메일 템플릿 간의 props는 추가 서버 코드 변경 없이 서로 교환할 수 없습니다.
- 커스터마이징을 잃지 않도록 서버를 업그레이드하기 전에 항상
templates및i18n폴더에 대한 변경 사항을 백업하세요. - Mattermost v11.3부터 HTML 템플릿 변경은 서버 재시작이 필요합니다.
사용 가능한 템플릿#
이메일 푸터#
용도:
Mattermost에서 전송되는 모든 발신 이메일에 추가됩니다.
Props:
| Prop | Content | i18n String |
|---|---|---|
| Footer | 메시지 소개 | api.templates.email_footer |
| Organization | 조직 이름 | api.templates.email_organization |
| EmailInfo1 | 푸터 첫 번째 줄 | api.templates.email_info1 |
| EmailInfo2 | 푸터 두 번째 줄 | api.templates.email_info2 |
| EmailInfo3 | 푸터 세 번째 줄 | api.templates.email_info3 |
| SupportEmail | Mattermost 지원 이메일 | -- |
SendChangeUsernameEmail#
용도:
사용자 이름이 변경되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.username_change_body.title |
| Info | 메시지 본문 | api.templates.username_change_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendEmailChangeVerifyEmail#
용도:
이메일 변경이 요청되었을 때 사용자에게 전송됩니다. 인증 링크 및 버튼이 포함됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.email_change_verify_body.title |
| Info | 메시지 본문 | api.templates.email_change_verify_body.info |
| VerifyUrl | 이메일 인증 URL | -- |
| VerifyButton | 이메일 인증 버튼 | api.templates.email_change_verify_body.button |
SendEmailChangeEmail#
용도:
이메일이 성공적으로 변경되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.email_change_body.title |
| Info | 메시지 본문 | api.templates.email_change_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendVerifyEmail#
용도:
계정 생성 시 이메일 주소를 인증하기 위해 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.verify_body.title |
| Info | 메시지 본문 | api.templates.verify_body.info |
| VerifyUrl | 이메일 인증 URL | -- |
| Button | 이메일 인증 버튼 | api.templates.verify_body.button |
SendSignInChangeEmail#
용도:
로그인 방법이 변경되었을 때 사용자에게 전송됩니다 (예: 이메일에서 LDAP으로 등).
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.signin_change_email.body.title |
| Info | 메시지 본문 | api.templates.signin_change_email.body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendWelcomeEmail#
용도:
계정이 생성되었을 때 사용자에게 전송됩니다. 앱 다운로드 링크 및 이메일 인증 링크가 포함될 수 있습니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.welcome_body.title |
| Info | 메시지 본문 | api.templates.welcome_body.info |
| Button | 확인 버튼 | api.templates.welcome_body.button |
| Info2 | 메시지 본문 계속 | api.templates.welcome_body.info2 |
| Info3 | 메시지 본문 계속 | api.templates.welcome_body.info3 |
Optional Props:
| Prop | Content | i18n String |
|---|---|---|
| AppDownloadInfo | 앱 다운로드 정보 | api.templates.welcome_body.app_download_info |
| AppDownloadLink | 앱 다운로드 링크 | -- |
| VerifyUrl | 인증 링크 | -- |
SendPasswordChangeEmail#
용도:
비밀번호가 변경되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.password_change_body.title |
| Info | 메시지 본문 | api.templates.password_change_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendAccessTokenEmail#
용도:
계정에 액세스 토큰이 추가되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.user_access_token_body.title |
| Info | 메시지 본문 | api.templates.user_access_token_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendPasswordResetEmail#
용도:
비밀번호 재설정이 요청되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.reset_body.title |
| Info1 | 메시지 본문 | api.templates.reset_body.info1 |
| Info2 | 메시지 본문 계속 | api.templates.reset_body.info2 |
| ResetUrl | 비밀번호 재설정 URL | -- |
| Button | 확인 버튼 | api.templates.reset_body.button |
SendMfaChangeEmail#
용도:
다중 인증 방법이 변경되었을 때 사용자에게 전송됩니다.
MFA가 활성화될 때의 Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.mfa_activated_body.title |
| Info | 메시지 본문 | api.templates.mfa_activated_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
MFA가 비활성화될 때의 Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.mfa_deactivated_body.title |
| Info | 메시지 본문 | api.templates.mfa_deactivated_body.info |
| Warning | 경고 텍스트 | api.templates.email_warning |
SendDeactivateAccountEmail#
용도:
계정이 비활성화되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.deactivate_body.title |
| Info | 메시지 본문 | api.templates.deactivate_body.info |
| Warning | 경고 텍스트 | api.templates.deactivate_body.warning |
SendInviteEmails#
용도:
이메일을 통한 팀 초대가 사용되었을 때 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Title | 메시지 제목 | api.templates.invite_body.title |
| Info1 | 메시지 본문 | api.templates.invite_body.info |
| Button | 확인 버튼 | api.templates.invite_body.button |
| ExtraInfo | Mattermost에 대한 추가 정보 | api.templates.invite_body.extra_info |
| TeamURL | 초대된 팀의 URL | -- |
| Link | 팀 초대 확인 URL (TeamURL과 혼동하지 마세요) | -- |
NotificationEmailBody#
용도:
새 메시지 또는 멘션에 대한 알림으로 사용자에게 전송됩니다.
Body Props:
| Prop | Content | i18n String |
|---|---|---|
| SiteURL | Mattermost 서버 URL | -- |
| Button | 게시물 버튼 | api.templates.post_body.button |
| TeamLink | 팀 URL | -- |
이 이메일은 알림이 전송되는 채널의 설정 및 유형에 따라 변경될 수 있습니다.
그룹 채널의 경우:
전체 알림 내용 활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | 메시지 소개 | app.notification.body.intro.group_message.full |
| Info1 | 채널 이름 | app.notification.body.text.group_message.full |
| Info2 | 메시지 내용 | app.notification.body.text.group_message.full2 |
| SenderName | 발신자 이름 | -- |
비활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | 메시지 소개 | app.notification.body.intro.group_message.generic |
| Info | 타임스탬프 | app.notification.body.text.group_message.generic |
다이렉트 메시지의 경우:
전체 알림 내용 활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | 메시지 소개 | app.notification.body.intro.direct.full |
| Info1 | 다이렉트 메시지는 빈 값 | -- |
| Info2 | 메시지 내용 | app.notification.body.text.direct.full |
| SenderName | 발신자 이름 | -- |
비활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | 메시지 소개 | app.notification.body.intro.direct.generic |
| Info | 타임스탬프 | app.notification.body.text.direct.generic |
알림:
전체 알림 내용 활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | 메시지 소개 | app.notification.body.intro.notification.full |
| Info1 | 채널 이름 | app.notification.body.text.notification.full |
| Info2 | 메시지 내용 | app.notification.body.text.notification.full2 |
| SenderName | 발신자 이름 | -- |
비활성화 시:
| Prop | Content | i18n String |
|---|---|---|
| BodyText | Mattermost 서버 URL | app.notification.body.intro.notification.generic |
| Info | 메시지 제목 | app.notification.body.text.notification.generic |
