Modify

Opened 5 years ago

Closed 5 years ago

#4107 closed defect (worksforme)

No email send

Reported by: hulm19 Owned by: doki_pen
Priority: highest Component: AnnouncerPlugin
Severity: trivial Keywords: unreachable objects found
Cc: hulm19 Trac Release: 0.11

Description

I installed this plugin and changed [notification] to [annoucer],but no email be sended.

help me please.Because I need to use this plugin urgently.Thank you!

my setting as follows.

[announcer]
admit_domains =
always_notify_component_owner = false
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
default_email_format = text/html
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver
ignore_cc_changes = true
ignore_domains =
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from = lingminhu@…
smtp_from_name = Me
smtp_password =
smtp_port = 25
smtp_replyto = lingminhu@…
smtp_server = ms1.nettech-global.com
smtp_subject_prefix = project
smtp_user = lingminhu
ticket_email_header_fields = owner, reporter, milestone, priority, severity
ticket_email_subject = #${ticket.id}: ${ticketsummary?}
ticket_subject_template = $prefix: $summary ($ticket.status)
use_public_cc = True
use_short_addr = ture
use_tls = false
[components]
announcerplugin.* = enabled
announcerplugin.subscribers.ticket_groups.* = disabled

And the log file is:

2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'ticket, changed': LegacyTicketSubscriber, CarbonCopySubscriber, WatchSubscriber
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_owner
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_reporter
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_updater
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: CarbonCopySubscriber added 'hulingmin <None>' because of rule: carbon copied
2008-11-17 16:50:10,453 Trac[watchers] DEBUG: WatchSubscriber added 'hulingmin (authenticated)' because of rule: watched
2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [hulingmin(authenticated) via email]
2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem sent event in 0.02 seconds.
2008-11-17 16:50:10,515 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow
2008-11-17 16:50:10,530 Trac[main] DEBUG: 897 unreachable objects found.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by hulm19

additional information:

my trac version is 0.11.1

comment:2 Changed 5 years ago by anonymous


make it more readable

[announcer][[BR]]
admit_domains = [[BR]]
always_notify_component_owner = false [[BR]]
always_notify_owner = true [[BR]]
always_notify_reporter = true [[BR]]
always_notify_updater = true [[BR]]
default_email_format = text/html [[BR]]
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver[[BR]]
ignore_cc_changes = true [[BR]]
ignore_domains = [[BR]]
mime_encoding = base64 [[BR]]
smtp_always_bcc = [[BR]]
smtp_always_cc = [[BR]]
smtp_default_domain = [[BR]]
smtp_enabled = true [[BR]]
smtp_from = lingminhu@nettech-global.com [[BR]]
smtp_from_name = Me [[BR]]
smtp_password = ****** [[BR]]
smtp_port = 25 [[BR]]
smtp_replyto = lingminhu@nettech-global.com [[BR]]
smtp_server = ms1.nettech-global.com [[BR]]
smtp_subject_prefix = project [[BR]]
smtp_user = lingminhu [[BR]]
ticket_email_header_fields = owner, reporter, milestone, priority, severity ticket_email_subject = #${ticket.id}: ${ticket['summary']} [[BR]]
ticket_subject_template = $prefix: $summary ($ticket.status) [[BR]]
use_public_cc = True [[BR]]
use_short_addr = ture [[BR]]
use_tls = false [[BR]]
[components] [[BR]]
announcerplugin.* = enabled [[BR]]
announcerplugin.subscribers.ticket_groups.* = disabled 

{{{.....
2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem found the following
subscribers capable of handling 'ticket, changed': LegacyTicketSubscriber,
CarbonCopySubscriber, WatchSubscriber
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber
added 'hulingmin (authenticated)' because of rule: always_notify_owner
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber
added 'hulingmin (authenticated)' because of rule: always_notify_reporter
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber
added 'hulingmin (authenticated)' because of rule: always_notify_updater
2008-11-17 16:50:10,453 Trac[ticket_compat] DEBUG: CarbonCopySubscriber
added 'hulingmin <None>' because of rule: carbon copied
2008-11-17 16:50:10,453 Trac[watchers] DEBUG: WatchSubscriber added 'hulingmin
(authenticated)' because of rule: watched
2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem has found the
following subscriptions: [hulingmin(authenticated) via email]
2008-11-17 16:50:10,453 Trac[api] DEBUG: AnnouncementSystem sent event in 0.02
seconds.
2008-11-17 16:50:10,515 Trac[web_ui] DEBUG: Side effect for
ConfigurableTicketWorkflow
2008-11-17 16:50:10,530 Trac[main] DEBUG: 897 unreachable objects found.

2008-11-17 16:50:10,546 Trac[main] DEBUG: Dispatching <Request "GET u'/ticket/58'">
2008-11-17 16:50:10,546 Trac[session] DEBUG: Retrieving session for ID u'hulingmin'
2008-11-17 16:50:10,546 Trac[chrome] DEBUG: Prepare chrome data for request
....
}}}

comment:3 Changed 5 years ago by doki_pen

Can you please see if the smtp server is receiving the emails? Maybe they are rejected for some reason. If so, tell me why so I can fix it. I see no error message, so the plugin thinks that it has sent the email successfully.

comment:4 Changed 5 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from doki_pen. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.