Skip to main content

A small example package

Project description

Inconnect 📩

Inconnect is a lightweight and easy-to-use Python library for sending and receiving emails using SMTP and IMAP protocols.

🚀 Installation

You can install Inconnect via pip:

pip install inconnect

To upgrade to the latest version:

pip install --upgrade inconnect

🎯 Usage Guide

✉️ Sending an Email using SMTP

You can use SMTPClient to send emails securely.

from Inconnect.core import PyInconnect

API_KEY = "your_api_key_here"
mail_client = PyInconnect(api_key=API_KEY)

# Send an email
mail_client.send_email(
    name="John Doe",
    from_email="john@example.com",
    to_email="recipient@example.com",
    subject="PyInconnect Email Test",
    message="This is a simple email sent using PyInconnect."
)

print("✅ Email sent successfully!")

⚙️ Configuration Parameters

SMTPClient Parameters

Parameter Description Required Default
smtp_server The SMTP server address (e.g., smtp.gmail.com) ✅ Yes -
port The SMTP port (465 for SSL, 587 for TLS) ❌ No 587
username The email address used for authentication ✅ Yes -
password The email account password ✅ Yes -
use_tls Enables TLS encryption (True for security) ❌ No True

IMAPClient Parameters

Parameter Description Required Default
imap_server The IMAP server address (e.g., imap.gmail.com) ✅ Yes -
port The IMAP port (993 for SSL) ❌ No 993
username The email address used for authentication ✅ Yes -
password The email account password ✅ Yes -

🔍 Error Handling

If you encounter issues while sending emails, check the following:

  • Ensure the SMTP/IMAP server address is correct.
  • Verify that your email and password are entered correctly.
  • Confirm that the server supports TLS/SSL encryption if enabled.
  • Some email providers (e.g., Gmail, Outlook) require "Less Secure Apps" to be enabled or an App Password to be used.

For further troubleshooting, please open an issue on GitHub Issues.


🔗 Additional Features

  • Supports multiple recipients and attachments (coming soon!)
  • Secure authentication with OAuth support (planned)
  • Custom email filtering for IMAP (upcoming feature)

Stay tuned for updates! 🚀


📝 License

This project is licensed under the MIT License. See the LICENSE file for details.


🔥 Start sending and receiving emails easily with Inconnect!
💡 Project Repository: GitHub

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

inconnect-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

inconnect-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file inconnect-0.1.1.tar.gz.

File metadata

  • Download URL: inconnect-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for inconnect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ac9bebf95a8ad1dd0f93b97341491d999a3eed1df34e27ebe89abbf9181a328
MD5 94dba219af5b8ea0d154d50bcbc1e5db
BLAKE2b-256 6ec6cdea42909e2914d66ecb2d23bb83da904e544c6c5f00402f2b0d9911cf3c

See more details on using hashes here.

File details

Details for the file inconnect-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: inconnect-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for inconnect-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffcb72e714ed2743245bd6b78a02be53077bb9711ce15a9fa193342259d1f52d
MD5 d16499d6a3ca513520d7b310dd43c319
BLAKE2b-256 b284934761f6d6028e3c7ebc578dd709a9d83a5cd44f23e4d4d0d4c19fa0fe45

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