Modify

Opened 4 years ago

Last modified 4 weeks ago

#7277 new defect

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

Reported by: hju Owned by: coling
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 4 years ago.
PATCH solving authentication problem with SMTP-Server

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by hju

PATCH solving authentication problem with SMTP-Server

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.