Skip to content

Commit 1a8e8cd

Browse files
committed
Revert "Use distribution@thoth.pub both for sender and cc"
This reverts commit 37d01cf.
1 parent 37d01cf commit 1a8e8cd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

crossref_error_report.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# General constants
1313
DEFAULT_THOTH_API_URL = 'https://api.thoth.pub/graphql'
1414
DEFAULT_SMTP_PORT = 587
15-
EMAIL_SENDER = "Thoth Open Metadata <distribution@thoth.pub>"
15+
EMAIL_SENDER = "Thoth Open Metadata <info@thoth.pub>"
16+
EMAIL_CC = "distribution@thoth.pub"
1617

1718
# Crossref-specific constants
1819
# TODO: replace with specific attachment filename, email subject and body based on Crossref feedback
@@ -235,7 +236,7 @@ def _send_report(self):
235236
subject=CROSSREF_EMAIL_SUBJECT,
236237
body=CROSSREF_EMAIL_BODY,
237238
sender=EMAIL_SENDER,
238-
cc=EMAIL_SENDER,
239+
cc=EMAIL_CC,
239240
attachment_path=self.csv_writer.csv_path
240241
)
241242

0 commit comments

Comments
 (0)