From 645757f32c9f3c9e76f7df9aef7d20359a10681e Mon Sep 17 00:00:00 2001 From: Manas Date: Jun 28 2019 09:28:37 +0000 Subject: remove email redundancy --- diff --git a/config.ini b/config.ini index 4528088..c34551f 100644 --- a/config.ini +++ b/config.ini @@ -62,7 +62,7 @@ BUGZILLA_URL = https://bugzilla.redhat.com/xmlrpc.cgi [EMAIL] SERVICE_ID = email -SENDER_EMAIL_ID = manasmangaonkar@gmail.com +#SENDER_EMAIL_ID = manasmangaonkar@gmail.com LIST: ["bcotton@funnelfiasco.com","bcotton@redhat.com"] ; LIST: [devel@lists.fedoraproject.org,devel-announce@lists.fedoraproject.org] PORT = 465 diff --git a/mail/maillist.py b/mail/maillist.py index 5936012..4e245e9 100644 --- a/mail/maillist.py +++ b/mail/maillist.py @@ -70,7 +70,7 @@ def email_send(subject, replyto, config): try: msg = MIMEMultipart() msg['To'] = reciver_email - msg['From'] = sender + msg['From'] = username msg['Subject'] = subject print("this step") if replyto == True: