Skip to main content

📧 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.

Metadata

Release files for smsmobileapi-send-email 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smsmobileapi-send-email 0.3.3
File Size Uploaded
smsmobileapi_send_email-0.3.3.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smsmobileapi-send-email 0.3.3
File Interpreter ABI Platform
smsmobileapi_send_email-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / smsmobileapi_send_email-0.3.3.tar.gz

Download URL smsmobileapi_send_email-0.3.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
843e0bfc46e4c468a88045db380b230fbbb5a792f91a1588444958bbaf52c1d4
BLAKE2b-256 checksum
How to use checksums
30a206bb80fb64b2eaebdd4885acef33a10c0a764fa6f7c66b2e2d1d7eb47079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.13

Release files / smsmobileapi_send_email-0.3.3-py3-none-any.whl

Download URL smsmobileapi_send_email-0.3.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0de2a8a91adbcacd0fd8e5189a3df2409a07b95f420e1008c1054ddeb8ebd95e
BLAKE2b-256 checksum
How to use checksums
4b1955db3daf1b60f9181ebbd788db6718a4daca9361227873378670564f1d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page