python send email outlook mailer code example
Example 1: send outlook email python
from mailer import Mailer
mail = Mailer(email='[email protected]', password='your_password')
mail.settings(provider=mail.MICROSOFT)
mail.send(receiver='[email protected]', subject='TEST', message='From Python!')
Example 2: send email hotmail using python
from mailer import Mailer
mail = Mailer(email='[email protected]', password='your_password')
mail.settings(provider=mail.MICROSOFT)
mail.send(receiver='[email protected]', subject='TEST', message='From Python!')