Changeset 2295 for WAeUP_SRP/base/skins
- Timestamp:
- 30 Sep 2007, 05:27:39 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/mail2admin.py
r2293 r2295 13 13 prop = context.portal_properties 14 14 15 # the message format, %s will be filled in from data16 17 # message = """18 # From: %s <%s>19 # To: %s20 # Cc: %s21 # Bcc: %s22 # Reply-To: %s23 # Subject: Uniben Contact24 25 # Fullname: %s26 # Member ID: %s27 # Problem Type: %s28 # Description: %s29 # """30 # msg = message % (31 # fullname,32 # email,33 # prop.email_from_address,34 # email,35 # 'henrik@waeup.org',36 # # 'js@aixtraware.de',37 # email,38 # fullname,39 # regno,40 # probtype,41 # descr,42 # )43 15 d = {} 44 16 d['fullname'] = fullname … … 48 20 d['probtype'] = probtype 49 21 d['descr'] = descr 22 23 #prop.email_from_address should be used for To: 50 24 51 25 message = """ … … 63 37 """ 64 38 65 #prop.email_from_address should be used for To:66 67 39 mhost.send(msg % d) 68 40 -
WAeUP_SRP/base/skins/waeup_student/mail2student.py
r2294 r2295 16 16 REQUEST = context.REQUEST 17 17 18 # the message format, %s will be filled in from data19 20 # message = """21 # From: %s <%s>22 # To: %s23 # Cc: %s24 # Reply-To: %s25 # Subject: %s26 # %s27 # """28 29 #prop.email_from_address should be used for To:30 31 # msg = message % (32 # co_name,33 # co_email,34 # student_email,35 # co_email,36 # co_email,37 # probtype,38 # commt,39 # )40 18 d = {} 41 19 d['co_name'] = co_name … … 44 22 d['probtype'] = probtype 45 23 d['commt'] = commt 24 25 #prop.email_from_address should be used for To: 46 26 47 27 message = """ … … 64 44 url = context.absolute_url() +'?' + urlencode(args) 65 45 return REQUEST.RESPONSE.redirect(url) 66
Note: See TracChangeset for help on using the changeset viewer.