-
-
djblets/mail/utils.py (Diff revision 1) This method seems useless. Why not just use
formataddr
directly?
Add utility functions for building e-mail addresses.
Review Request #8398 — Created Sept. 14, 2016 and submitted
This adds a couple of small utility functions that take a user (or a user's information) and constructs an e-mail address intended for use in a To/CC/BCC field. These are ports from the existing e-mail code that lives in Review Board, and will be used and improved upon in some upcoming e-mail work in Djblets.
Unit tests pass.
Description | From | Last Updated |
---|---|---|
This method seems useless. Why not just use formataddr directly? |
david |
Change Summary:
Switched the order of attributes for
build_email_address
, and made the full name optional, to help with upcoming work.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+65) |