Changeset 16299 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 4 Nov 2020, 17:52:22 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r16213 r16299 35 35 def send_mail(from_name, from_addr, 36 36 rcpt_name, rcpt_addr, 37 subject, body, config): 37 subject, body, config, 38 cc=None, bcc=None): 38 39 """Wrapper for the real SMTP functionality in :mod:`waeup.kofa.smtp`. 39 40 … … 42 43 mail_id = send_mail_internally( 43 44 from_name, from_addr, rcpt_name, rcpt_addr, 44 subject, body, config )45 subject, body, config, cc, bcc) 45 46 return True 46 47 … … 247 248 248 249 def sendContactForm(self, from_name, from_addr, rcpt_name, rcpt_addr, 249 from_username, usertype, portal, body, subject): 250 from_username, usertype, portal, body, subject, 251 bcc_to=None): 250 252 """Send an email with data provided by forms. 251 253 """ … … 269 271 return send_mail( 270 272 from_name, from_addr, rcpt_name, rcpt_addr, 271 subject, body, config )273 subject, body, config, None, bcc_to) 272 274 273 275 def getUsers(self):
Note: See TracChangeset for help on using the changeset viewer.