SmarterMail API Python Wrapper
Announcement by Zach Sylvester - 7/26/2021 at 10:39 AM
Employee Post
Hello Everyone, 
I just wanted to share a Python wrapper I have been making for SmarterMail. This wrapper makes it really easy to use SmarterMail's API functions. It is still a work in progress; I plan to add more functionality to it as time goes on. It is also an open-source project, so if anyone wants to improve it or add more functionality feel free. Here is the GitHub link:
My hope with this project is that it will allow more people to use the API with less obstruction in the code.  
Here's what I mean by that. 
Say you want to send a message...
import smapi

me = smapi.SMAPI("account@example.com","password","http://smartermailurl.com";)


me.SendMessage("account@example.com","toemail@example.com","this is the subject","this is the body")
Since the wrapper handles the authentication and the post request, you can do this with just a simple function.  

Please let me know what you all think. 
Best Regards,
Zach Sylvester
Technical Support Specialist
SmarterTools Inc.
(877) 357-6278

Reply to Thread