MentionEmail

Email

@mention bildirimi. Bahseden kişi, bağlam ve alıntı excerpt gösterimi.

Mention Notification

Preview

Acme Corp

A
Alex Rivera mentioned you in a comment

Excerpt

…I think @johndoe had a great solution to this problem…

See the Mention

© 2026 Acme Corp

Live preview
Code
// GET /theme/common/email/notification/mention
res.render('theme/common/email/notification/mention', {
  layout:    'layouts/blank',
  subject:   mention.authorName + ' mentioned you in a comment',
  fromName:  'Acme Corp',
  fromEmail: 'noreply@acme.example.com',
  toName:    mentionedUser.name,
  toEmail:   mentionedUser.email,
  company:   { name: 'Acme Corp', address: '...' },
  notification: {
    mentionerName: mention.authorName,
    context:       'mentioned you in a comment on "' + post.title + '"',
    excerpt:       buildExcerptAround(mention, comment.body),
    viewUrl:       '/posts/' + post.slug + '#comment-' + comment.id,
  },
});
Source views/theme/common/email/notification/mention.ejs