Skip to main content

A simple package to simplify the process to send text messages using the SMTP mail protocol.

Reason this release was yanked:

README Doesn't properly reflect package name for the title.

Project description

SendText

A simple package to simplify the process to send text messages using the SMTP mail protocol.

SETUP

You will need a app password if you are utilizing Gmail as your source email. Reference this help article: https://support.google.com/accounts/answer/185833?hl=en

USAGE

Import the module

import SendTextSMTP

Setting up the source email

messenger = SendTextSMTP.SMTP("YOUR_SOURCE_EMAIL", "YOUR_APP_PASSWORD", "YOUR_SMTP_SERVER", SMTP_PORT) Using YOUR_SMTP_SERVER should look like "smtp.gmail.com" and SMTP_PORT 587 for gmail as an example.

Sending a text message

messenger.send_message("PHONE_NUMBER@CARRIER.COM", "MESSAGE") Note that for texts with multiple lines, you can use \r to indicate a newline.

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

sendtextsmtp-0.4.10.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

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

sendtextsmtp-0.4.10-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file sendtextsmtp-0.4.10.tar.gz.

File metadata

  • Download URL: sendtextsmtp-0.4.10.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sendtextsmtp-0.4.10.tar.gz
Algorithm Hash digest
SHA256 f2157c980967a8dfa1f8dc8f8c587ca11db4570da0cbc22a5222cfdb87df9c23
MD5 97d1799b75c2d51a9bd96aee44f4469f
BLAKE2b-256 4c3e42e5383a00c49331184b2e8c108516ee4c05b2f03b078c1b9e94a37c9591

See more details on using hashes here.

File details

Details for the file sendtextsmtp-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: sendtextsmtp-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sendtextsmtp-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 41392ed15d70039d8741d59236aa987e173d412e26356e45946d68d3e90c857b
MD5 a0d72f4c67edbb71be92e0ba3dac0e98
BLAKE2b-256 012325f9049da5fadfef5468e8b105f7ef89d19c24ffc674c31a984383c49412

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