Modify

Opened 14 years ago

Last modified 8 years ago

#7277 new defect

[PATCH] Action "Send Email" of event syste not running if SMPT-Server requires authentication

Reported by: hju Owned by:
Priority: normal Component: ClientsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

We are using an SMTP-Server which requires authentication.

Traceback (most recent call last):
  File "/root/inst/clientsplugin/0.11/cron/run-client-event", line 97, in <module>
    RunClientEvents()
  File "/root/inst/clientsplugin/0.11/cron/run-client-event", line 91, in __init__
    ClientEvent.triggerall(self.env, self.req, options.event)
  File "build/bdist.linux-i686/egg/clients/events.py", line 284, in triggerall
  File "build/bdist.linux-i686/egg/clients/events.py", line 246, in trigger
  File "build/bdist.linux-i686/egg/clients/action_email.py", line 168, in perform
  File "/usr/lib/python2.5/smtplib.py", line 310, in connect
    raise socket.error, msg
socket.error: (111, 'Verbindungsaufbau abgelehnt')

The attached patch of ´action_email.py´ solves the problem in our environment.

Attachments (1)

action_email.py.diff (608 bytes) - added by hju 14 years ago.
PATCH solving authentication problem with SMTP-Server

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by hju

Attachment: action_email.py.diff added

PATCH solving authentication problem with SMTP-Server

comment:1 Changed 8 years ago by Ryan J Ollos

Owner: Colin Guthrie deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.