HW Week 2: Python Parse Email

https://github.com/umisyam/IOT_Fall2015/blob/master/umi-email-hw.py

This simple script has two functions that searches your inbox:

  1. Based on the substring (it takes string input)
  2. Based on the array index (it takes integer input)

And then it sends out 2 emails with different subject and body copy containing result from raw_input 1 and 2. Change it your own email credentials to make sure it works! Everything is set to loop again after 1 minute time interval.

HW Week 2: Python Parse Email

Leave a comment