You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

smsmobileapi-send-email

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smsmobileapi-send-email

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

0.3.3
pipPyPI
Maintainers
1

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

  • Secure Email Sending – No need to store plaintext passwords in your Python scripts.
  • Email Tracking – All sent emails are visible in the SMSMobileAPI dashboard with detailed logs.
  • Easy Maintenance – If you change your email password, update it in the dashboard, not in your script.
  • 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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts