Skip to content

Added Support for Multi-Email list - #1

Merged
odinmay merged 4 commits into
odinmay:masterfrom
bmart18:master
Apr 22, 2021
Merged

Added Support for Multi-Email list#1
odinmay merged 4 commits into
odinmay:masterfrom
bmart18:master

Conversation

@bmart18

@bmart18 bmart18 commented Apr 21, 2021

Copy link
Copy Markdown
Contributor

Moved main methods inside a start() method

Added get_info() to get input from command line to handle:
default
specific one email
email list (txt file separated by commas)

Increased efficiency in send email to reduce time when sending to a long list

Added .gitignore to ignore log file and text files such as an email list when updating branch.

bmart18 and others added 3 commits April 21, 2021 14:19
Added input from command line to handle:
     default
     specific one email
     email list (txt file separated by commas)

Increased efficiency in send email to reduce time when sending to a long list

Added .gitignore to ignore log file and text files such as an email list.
Fixed WhiteSpace to make pycharm not angry
Added the ability to use command line for arguments

Usages:
python rss_pull.py [email]
python rss_pull.py [txt file location]
python rss_pull.py

Co-Authored-By: odinmay <55605576+odinmay@users.noreply.github.com>
Comment thread rss_pull.py Outdated
yag=yagmail.SMTP('odinmerlinmay@gmail.com')
yag.send(to=receiver,subject="Odins Python Newsletter",contents=body,attachments=filename)
logging.info("Email Sent")
yag=yagmail.SMTP('mbrad664@gmail.com')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this one as well

Comment thread rss_pull.py Outdated
argument = sys.argv[1]
get_info(argument)
except:
send_email("mbrad664@gmail.com")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to your email or dummy email

@odinmay odinmay left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great functionality! Thank You

@odinmay
odinmay merged commit 75de7ee into odinmay:master Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants