Changeset 7358 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 16 Dec 2011, 07:13:28 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 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: -
main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
r7319 r7358 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """General helper functions for the student section.18 """General helper functions and utilities for the student section. 19 19 """ 20 20 import grok
Note: See TracChangeset for help on using the changeset viewer.