이메일 템플릿
Entry, Professional, Enterprise, Enterprise Advanced 플랜에서 사용할 수 있습니다.
Mattermost에는 특정 이벤트가 발생할 때 발송되는 이메일 템플릿이 몇 가지 있습니다. 대부분의 경우 이 템플릿을 수정할 필요는 없습니다. 추가 수정이 필요한 경우를 위해, 각 이메일에서 사용할 수 있는 모든 prop을 아래에 정리했습니다. 'Content' 필드는 prop을 간단히 설명하기 위한 것입니다. 정확한 문구는 i18n 문자열을 확인하세요.
이메일 템플릿은 Mattermost 서버 디렉터리의 templates 폴더에 있습니다. 각 prop에 대응하는 문자열은 i18n 폴더에서 찾을 수 있습니다.
- 서로 다른 이메일 템플릿의 prop은 추가 서버 코드 변경 없이는 서로 바꿔 쓸 수 없습니다.
- 맞춤 설정을 잃지 않도록 서버를 업그레이드하기 전에
templates와i18n폴더의 변경 사항을 항상 백업하세요. - Mattermost v11.3부터는 HTML 템플릿을 변경한 뒤 서버를 재시작해야 적용됩니다.
사용 가능한 템플릿
Email footer
용도: 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) 방식이 변경되었을 때 사용자에게 발송됩니다.
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 |