Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Plugin #62

Merged
merged 6 commits into from Apr 1, 2019

Conversation

Projects
None yet
2 participants
@TannerFry
Copy link
Contributor

commented Apr 1, 2019

brief description of changes

  1. Added in mail.py and email_config.conf for the email plugin. Both are documented on use.
  2. Updated README to add in my part
  3. Made a few changed to the passgen plugin file because it wouldn't work in the state I pull from the master
  4. Added in a couple comments to the Wikipedia and dictionary plugin because those need libraries installed to run properly, and I simplified the PyDictionary import statement.

TannerFry added some commits Apr 1, 2019

Updatied Email plugin to allow multiple word for body and subject, an…
…d changed the body type to HTML so you can use things such as <br> for new lines and other formatting in email.

@Abdur-rahmaanJ Abdur-rahmaanJ merged commit 0df5140 into Abdur-rahmaanJ:master Apr 1, 2019

1 check passed

Hound No violations found. Woof!

#open config file for user credentials to email
f = open("email_config.conf")
str = f.read()

This comment has been minimized.

Copy link
@Abdur-rahmaanJ

Abdur-rahmaanJ Apr 3, 2019

Owner
with open():
    ...

recommended here

#variables
test = str.rsplit()
USER = test[test.index("Email:")+1]
PASS = test[test.index("Password:")+1]

This comment has been minimized.

Copy link
@Abdur-rahmaanJ

Abdur-rahmaanJ Apr 3, 2019

Owner

using config parser better here

#and grab everything that was said after .body and before
#.subject.
def body(BODY_INDEX,SUBJECT_INDEX, msgs):
i = BODY_INDEX+1

This comment has been minimized.

Copy link
@Abdur-rahmaanJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.