Ezsend can be installed using pip To install open your terminal/command prompt and enter:
$ pip install ezsend
Before you can use ezsend you must import ezsend To do that open your python shell and enter the following command:
import ezsend
Before you can text or email with ezsend you must add your email account To add your account enter the following command:
ezsend.add(youremail, youremailaccountpassword, thenameyouwouldliketonameyouraccount)
To send an email enter the following command:
ezsend.send(thenameyounamedyouraccount, thereceiversemail, thesubjectofyourmessage, thebodyofyourmessage)
To send a text enter the following command:
ezsend.text(thenameyounamedyouraccount, thereceiversemail, the receiverscarrier, thesubjectofyourmessage, thebodyofyourmessage)
Lets say I wanted to add a account named "gmail"
import ezsend
ezsend.add('gmail', 'myemail@provider.com', 'myemailaccountpassword')
Lets say I wanted to send an email to "example@provider.com" with a subject of "Hi" and a body of "Hello"
import ezsend
ezsend.send('gmail', 'example@provider.com', 'Hi', 'Hello')
Lets say I wanted to send a text to "2345678901" with a subject of "Hi" and a body of "Hello"
import ezsend
ezsend.text('gmail', '2345678901', 'verizon', 'Hi', 'Hello')