Edgewall Software
Modify

Opened 9 years ago

Closed 4 years ago

#10542 closed defect (worksforme)

Email notification is sending only to CC

Reported by: adam.interact@… Owned by:
Priority: normal Milestone:
Component: notification Version: 0.12-stable
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Any email notification is sending only to CC set in the trac.ini notification part. Also I have set use_public_cc to true.

Attachments (0)

Change History (6)

comment:1 by Remy Blank, 9 years ago

Keywords: needinfo added
Milestone: 0.12.3

Could you please explain in some more detail how you configured notifications (e.g. by pasting the [notifications] section of your trac.ini), what you do (which fields contain which values) and what you observe?

With the information at hand, this looks suspiciously like an InstallationIssue, as it's working fine for everybody else.

comment:2 by adam.interact@…, 9 years ago

Here is my [notifications] part

[notification]
admit_domains = 
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = true
ignore_domains = 
mime_encoding = base64
sendmail_path = 
smtp_always_bcc = 
smtp_always_cc = adam.interact@gmail.com
smtp_default_domain = 
smtp_enabled = true
smtp_from = trac.null@gmail.com
smtp_from_name = Trac Null
smtp_password = **************
smtp_port = 587
smtp_replyto = trac.nullt@gmail.com
smtp_server = smtp.gmail.com
smtp_subject_prefix = __default__
smtp_user = trac.null@gmail.com
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = true
use_short_addr = false
use_tls = true

Notification email is sending only to CC, TO field is empty and I suspect to have there an email of a person for which a new ticket is assigned (as an example).

Last edited 8 years ago by Christian Boos (previous) (diff)

comment:3 by Christian Boos, 8 years ago

Keywords: verify added; needinfo removed
Milestone: next-stable-1.0.x

in reply to:  2 comment:4 by Peter Suter, 8 years ago

Replying to adam.interact@…:

Here is my [notifications] part

[notification]
...
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = true
...

… TO field is empty and I suspect to have there an email of a person for which a new ticket is assigned (as an example).

The only people appearing in the TO field of ticket notifications, if use_public_cc is true, are:

  • The reporter (if notify_reporter is true, but you disabled that)
  • The new ticket owner (if notify_owner is true, but you disabled that)
  • All ticket updaters (if always_notify_updater is true)

if an email address can be found for them.

So the only thing you could expected would be email addresses of ticket updaters. Maybe there were none with email addresses configured?

When I test this with these configuration settings the updaters do appear in the TO field.

comment:5 by Ryan J Ollos, 4 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:6 by Peter Suter, 4 years ago

Keywords: verify removed
Milestone: next-stable-1.2.x
Resolution: worksforme
Status: newclosed

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'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.