Recently I am looking at the “Email Spam” Compeition in Kaggle, but somehow I was curious that does Goodle’s Gamil have the capability in detecting those spam emails?
Base on this motivation, I write a small python script to send the several spam email(defined by the Kaggle dataset) and try to see how good is Gmail’s spam filter.
Coode:
username: your email address
password: your email’s password
toaddress: the target agent’s email
message: The message you want to send, you can either 1)Type in from command line, 2)Open from a .txt file.
Note: This is just a working, you are more than welcome to contribute more at https://github.com/drago1234/spam-mail-sender