Modify

Opened 11 years ago

Closed 7 years ago

#10767 closed defect (wontfix)

No option to configure outbound emails as HTML

Reported by: adrya.stembridge@… Owned by:
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords: needinfo
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I've installed TracAnnouncer 1.0dev-r12503 and users are able to subsribe (watch) tickets, and are receiving notifications of tickets they submitted. That is working well.

I am not finding an option to enable HTML and the outbound notifications are still plaintext/wiki markup.

Here is my config:

[account-manager]
db_htdigest_realm = 
force_passwd_change = true
hash_method = HtDigestHashMethod
htpasswd_file = /my/path/trac.htpasswd
htpasswd_hash_type = md5
password_store = HtPasswdStore
persistent_sessions = true
refresh_passwd = False 
user_lock_max_time = 0
verify_email = true


[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = disabled
acct_mgr.register.* = enabled
acct_mgr.svnserve.* = enabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
announcer.api.announcementsystem = enabled
announcer.distributors.mail.emaildistributor = enabled
announcer.distributors.mail.sendmailemailsender = enabled
announcer.formatters.ticketformatter = enabled
announcer.formatters.wikiformatter = enabled
announcer.opt.acct_mgr.announce.accountmanagerannouncement = enabled
announcer.opt.subscribers.allticketsubscriber = enabled
announcer.opt.subscribers.userchangesubscriber = enabled
announcer.opt.subscribers.watchsubscriber = enabled
announcer.pref.announcerpreferences = enabled
announcer.pref.subscriptionmanagementpanel = enabled
announcer.producers.attachmentchangeproducer = enabled
announcer.producers.ticketchangeproducer = enabled
announcer.producers.wikichangeproducer = enabled
announcer.subscribers.carboncopysubscriber = enabled
announcer.subscribers.ticketownersubscriber = enabled
announcer.subscribers.ticketreportersubscriber = enabled
announcer.subscribers.ticketupdatersubscriber = enabled
ckintegration.ckintegrationmodule = enabled
permredirect.* = enabled
trac.web.auth.loginmodule = disabled


[notification]
admit_domains =
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
default_email_format = text/html
email_sender = SendmailEmailSender
ignore_domains =
mime_encoding = none
sendmail_path = /usr/sbin/sendmail
smtp_always_bcc = my@email.add
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from = trac@localhost
smtp_from_name =
smtp_password =
smtp_port = 25
smtp_replyto = trac@localhost
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user =
ticket_email_header_fields = reporter, priority, severity
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = false
use_short_addr = false
use_tls = false

Assistance/pointers appreciated.

Attachments (0)

Change History (6)

comment:1 Changed 11 years ago by adrya.stembridge@…

Is this hack officially dead?

comment:2 Changed 11 years ago by Ryan J Ollos

Component: TracHtmlNotificationPatchAnnouncerPlugin
Owner: changed from akarzim to Steffen Hoffmann

You've filed this ticket against the TracHtmlNotificationPatch, but it seems you are using the AnnouncerPlugin.

comment:3 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)

comment:4 Changed 11 years ago by Ryan J Ollos

Keywords: needinfo added

You have set default_email_format = text/html, which is good, but this can be overridden by the user preference. You can find this described here: AnnouncerPlugin#Distributors.

So I went to look for the email preferences panel that allows setting the email format preference. I can't find it anywhere! It seems this was removed as "deprecated code" in [9227] and I don't see it called from anywhere else now. hasienda, this change precedes you, but do you have any historical knowledge of this? The template still resides in the source code, but it's not utilized.

Which version of Trac are you using? Have you used previous versions of AnnouncerPlugin, or is this a new install?

comment:5 Changed 7 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:6 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.