Skip to content

Commit

Permalink
Update webapp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kshashikumar authored Sep 15, 2023
1 parent 8842edb commit 3143bd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions MajorProject/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
import imaplib
import email
import datetime
import nltk

nltk.download('punkt')

server = smtplib.SMTP_SSL("smtp.gmail.com", 465)

username=""
pwd=""
username="" #your gmail id
pwd="" #get password from app passwords in gmail settings

sc = SpamClassifier(trainData)

Expand Down

0 comments on commit 3143bd7

Please sign in to comment.