Skip to main content

A Python module for sending emails using SMSMobileAPI directly from mailbox account

Project description

📧 SMSMobileAPI Send Email

A Python module to send emails using SMSMobileAPI after linking your email account to the API.

🌐 Service Overview

🔑 Getting Started

1️⃣ Create an Account & Configure Your Email

Once logged into the SMSMobileAPI Dashboard, navigate to: MailBox -> MailConfig

Here, you can manage your connected email accounts and configure your email API settings.

2️⃣ Generate Your API Keys

  • Primary API Key → Linked to your SMSMobileAPI account
  • Email API Key → Linked to your connected email account

Once your SMTP credentials are saved, an Email API Key will be generated for your email. Use both API keys to authenticate and send emails via Python.

📦 Installation

pip install smsmobileapi-send-email

📧 SMSMobileAPI Send Email - Example

from smsmobileapi_send_email import SMSMobileAPIEmailSender

apikey = "your_account_api_key"
apikeybox = "your_email_api_key"

sender = SMSMobileAPIEmailSender(apikey, apikeybox)

response = sender.send_email(
    sender_name="John Doe",
    sender_email="john.doe@example.com",
    recipient_email="recipient@example.com",
    mail_subject="Test Email",
    mail_body="Hello, this is a test email!",
    allow_self_signed="yes"
)

print(response)

🔒 Why Use SMSMobileAPI for Sending Emails?

  1. Secure Email Sending – No need to store plaintext passwords in your Python scripts.
  2. Email Tracking – All sent emails are visible in the SMSMobileAPI dashboard with detailed logs.
  3. Easy Maintenance – If you change your email password, update it in the dashboard, not in your script.
  4. Response Handling – The API returns a response indicating whether the email was successfully sent.

📌 Changelog

v0.1.0 - Initial Release (2025-02-28)

  • First stable release of smsmobileapi-send-email
  • Added support for sending emails via SMSMobileAPI
  • Implemented authentication using API keys
  • Support for:
    • HTML and plain text emails
    • CC recipients (up to 3)
    • Attachments (Base64)
    • Embedded images
    • Unsubscribe links

v0.2.0 - (2025-02-28)

  • Improved error handling
  • Added logging for debugging
  • Response formatting improvements
  • More customization options for email settings

📝 License

This module is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smsmobileapi_send_email-0.3.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smsmobileapi_send_email-0.3.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file smsmobileapi_send_email-0.3.3.tar.gz.

File metadata

  • Download URL: smsmobileapi_send_email-0.3.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for smsmobileapi_send_email-0.3.3.tar.gz
Algorithm Hash digest
SHA256 843e0bfc46e4c468a88045db380b230fbbb5a792f91a1588444958bbaf52c1d4
MD5 cd2250ffdeb4c4967c1ad42cfc7cddf2
BLAKE2b-256 30a206bb80fb64b2eaebdd4885acef33a10c0a764fa6f7c66b2e2d1d7eb47079

See more details on using hashes here.

File details

Details for the file smsmobileapi_send_email-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for smsmobileapi_send_email-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0de2a8a91adbcacd0fd8e5189a3df2409a07b95f420e1008c1054ddeb8ebd95e
MD5 7ffb026c78562a52cc07b18a8b21b8e6
BLAKE2b-256 4b1955db3daf1b60f9181ebbd788db6718a4daca9361227873378670564f1d17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page