Hi,

Notification Email: Subject and Basic Formatting
1. Subject:

If email subjects are worded correctly... the recipient can read them and ~know whether they need to open the email or move on. The current Subject contents does not really provide anything useful.

Consider making the Subject something like ...see attachment

2. Body:
Consider different formatting in ther email body. I think it will be more understandable and user friendly. In my example (attached), I used the words "Area:" and "Parent Comment:" ...... these may not be appropriate. if you think this type of formatting would be beneficial.

Any idea or suggestion for this woud be welcome.

Truyenle

Comments

matt2000’s picture

Status: Active » Closed (won't fix)

What about when a notification contains more than one node? Maybe hundreds? You can't list all the node titles in the subject.

The term 'Area' seems only meaningful to your specific use case. It's not appropriate for general usage as a default in the module.

I think a more general templating solution that allows site owners to specify their own e-mail template is a better route than just changing around some things in the current (and admittedly ugly) code.

truyenle’s picture

Status: Closed (won't fix) » Needs work

matt200,

Oh! Make sense matt2000.

I like the idea of more general templating solution that allows site owers to speficy their own e-mail template. This would make the module more flexible.

If you could shed a light how to implement this would be great.

Thanks
Truyenle

matt2000’s picture

I did a rough templating system for notify_by_views module -- see _notify_by_views_mail_send().

A much better solution would use token module and/or the theme system so that templates could be stored in the database, or in template files.

gisle’s picture

Status: Needs work » Closed (duplicate)

I second matt2000 objections to the original suggestion in comment #1.

As for evolving the module into using a template, this is a duplicate of #70959: Configurable notification emails.