Use the actual author email address rather than the method to recover email addresses when sending email.
- Legacy-Id: 3170
This commit is contained in:
parent
4b06d7ec5e
commit
010e924e74
|
@ -179,9 +179,9 @@ def update_authors(draft, submission):
|
|||
name_suffix=author.name_suffix or '',
|
||||
)
|
||||
person.save()
|
||||
if author.email:
|
||||
if author.email_address:
|
||||
EmailAddress.objects.create(
|
||||
address=author.email,
|
||||
address=author.email_address,
|
||||
priority=1,
|
||||
type='INET',
|
||||
person_or_org=person,
|
||||
|
|
Loading…
Reference in a new issue