Using selenium I have a code that determines if an item is 'in stock' or 'out of stock'. The code can detect once an 'out of stock' item becomes 'in stock'. Using smtplib, I'd like an email to be sent from the following email address:
example1@hotmail.com password: 1234
to:
example2@hotmail.com
notifying the individual once an item is 'in stock'.
What would a complete python code for this look like?.