Changeset 7358 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 16 Dec 2011, 07:13:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7357 r7358 40 40 from waeup.sirp.browser.layout import jsaction, JSAction 41 41 from waeup.sirp.interfaces import ( 42 ISIRPObject, IUserAccount, IExtFileStore, IPasswordValidator, IContactForm) 42 ISIRPObject, IUserAccount, IExtFileStore, IPasswordValidator, IContactForm, 43 ISIRPUtils) 43 44 from waeup.sirp.widgets.datewidget import ( 44 45 FriendlyDateWidget, FriendlyDateDisplayWidget, … … 60 61 from waeup.sirp.applicants.interfaces import IApplicantBaseData 61 62 from waeup.sirp.hostels.hostel import NOT_OCCUPIED 62 from waeup.sirp.utils.helpers import send_mail63 63 64 64 def write_log_message(view, message): … … 393 393 subject = data['subject'] 394 394 email_to = self.context.email 395 success = send_mail(fullname,username,usertype,self.config.name, 395 sirp_utils = getUtility(ISIRPUtils) 396 success = sirp_utils.sendMail(fullname,username,usertype,self.config.name, 396 397 body,email_from,email_to,subject) 397 398 if success:
Note: See TracChangeset for help on using the changeset viewer.