Sending emails and otp verifications is super simple with emailotp
Project description
emailotp
Email otp simplifies email integration in Python, enabling users to send emails, facilitate OTP verification, Enhance your app's email functionality effortlessly.
Example
from emailotp import emailotp
emailotp = emailotp()
responseFromEmailOtp = emailotp.send("toemail@gmail.com")
print(responseFromEmailOtp["message"])
-- methods
emailotp = emailotp()
responseFromEmailOtp = emailotp.sendOtp("toemail@gmail.com",123456)
print(responseFromEmailOtp["message"])
emailotp = emailotp()
responseFromEmailOtp = emailotp.sendMessage("toemail@gmail.com","title","subject","body")
print(responseFromEmailOtp["message"])
emailotp = emailotp()
responseFromEmailOtp = emailotp.custom("fromemail@gmail.com","passkey","toemail@gmail.com","title","subject","body")
print(responseFromEmailOtp["message"])
help
emailotp = emailotp()
emailotp.help()
Authors
Getting Started
For help getting started with Python, view our online documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emailotp-2.1.7.tar.gz
(4.0 kB
view hashes)