Advertisement:

Author Topic: Email notification customization  (Read 304 times)

Offline Jim ONeill 360

  • Newbie
  • *
  • Posts: 2
Email notification customization
« on: May 05, 2019, 10:25:31 PM »
I'm looking to migrate away from another BB, and need to know: What are the notification emails like when a user posts a new topic, or somebody replies to a message? Does it include the title of the topic, the body of the message (or a portion thereof), or any custom fields? Can the design of the notification emails be modified?

Thanks!

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,062
  • Gender: Male
    • Kindred-999 on GitHub
Re: Email notification customization
« Reply #1 on: May 07, 2019, 12:07:57 AM »
There are no custom fields... the messages can be modified in the emails.english.php template files
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Jim ONeill 360

  • Newbie
  • *
  • Posts: 2
Re: Email notification customization
« Reply #2 on: May 07, 2019, 05:59:23 AM »
Sorry, to be more clear, I'm trying to find out if the notification email can include the title of the post, and at least a snippet of the post text. Also, can it use HTML or is it limited to plain text email?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,062
  • Gender: Male
    • Kindred-999 on GitHub
Re: Email notification customization
« Reply #3 on: May 07, 2019, 06:20:05 AM »
why don't you take a look? :)


for example
Code: [Select]
'notify_boards' => array(
/*
@additional_params: notify_boards
TOPICSUBJECT: The subject of the topic causing the notification
TOPICLINK: A link to the topic.
UNSUBSCRIBELINK: Link to unsubscribe from notifications.
@description:
*/
'subject' => 'New Topic: {TOPICSUBJECT}',
'body' => 'A new topic, \'{TOPICSUBJECT}\', has been made on a board you are watching.

You can see it at
{TOPICLINK}

Unsubscribe to new topics from this board by using this link:
{UNSUBSCRIBELINK}

{REGARDS}',
),

so, yes to title...
and yes, to html (but characters have to be escaped)



also,
https://custom.simplemachines.org/mods/index.php?mod=2926
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,570
Re: Email notification customization
« Reply #4 on: May 07, 2019, 07:24:23 AM »
admin -> features and options Don't allow post text in notifications

if this option is checked the text of the post will not be in the email notification.