Changeset 7240 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 30 Nov 2011, 23:13:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/helpers.py
r7234 r7240 481 481 return account 482 482 483 def send_mail(fullname,username, portal,body,email_from,email_to,subject):483 def send_mail(fullname,username,usertype,portal,body,email_from,email_to,subject): 484 484 """Send an email with data provided by forms. 485 485 """ … … 487 487 text = """Fullname: %s 488 488 User Id: %s 489 User Type: %s 489 490 Portal: %s 490 491 491 492 %s 492 493 """ 493 msg = MIMEText(text % (fullname,username, portal,body))494 msg = MIMEText(text % (fullname,username,usertype,portal,body)) 494 495 msg['From'] = '%s <%s>' % (fullname,email_from) 495 496 msg['To'] = email_to
Note: See TracChangeset for help on using the changeset viewer.