Skip to main content

Python email utils package

Project description

Emailer

This module was created to use in email address validation and sending emails with/without message content and with/without attachments.

Examples:

  • email address validation:

    from emailer import EmailAddress
    
    # instance
    email = EmailAddress(email='some@email.com')
    print(f'Email address "{email.email}" is valid: {email.is_valid}')
    
    # static
    for email_address in ('first@email.com', 'second@email.com', 'third@email.com'):
        is_valid, details = EmailAddress.validate(email=email_address)
        print(f'Email address "{email_address}" is valid: {is_valid}')
    
  • email sending:

    from emailer import Email
    
    email = Email(
        server='email@server.com', username='usr', password='pwd',
        from_='from@email.com',
        to=['to-1@email.com', 'to-2@email.com'],
        cc=['cc-1@email.com', 'cc-2@email.com'],
        bcc=['bcc-1@email.com', 'bcc-2@email.com'],
        subject='subject',
        message='message',
        attachments=[
            ('att-1.txt', b'1st file content'),
            ('att-2.txt', b'2nd file content')
        ]
    )
    
    email.send()
    

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ruth_emailer-2022.0.0-cp313-cp313-win_amd64.whl (72.2 kB view details)

Uploaded CPython 3.13Windows x86-64

ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl (460.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl (437.0 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

ruth_emailer-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (444.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

ruth_emailer-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl (76.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ruth_emailer-2022.0.0-cp312-cp312-win_amd64.whl (73.2 kB view details)

Uploaded CPython 3.12Windows x86-64

ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl (459.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl (438.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

ruth_emailer-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (438.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

ruth_emailer-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl (76.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ruth_emailer-2022.0.0-cp311-cp311-win_amd64.whl (73.7 kB view details)

Uploaded CPython 3.11Windows x86-64

ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl (449.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl (433.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

ruth_emailer-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

ruth_emailer-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl (78.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file ruth_emailer-2022.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 13a69a3f45f5784b36f893d4e24c35c2639b8d8fd0f0c8708e42cbad12fb65d2
MD5 73111a1860288fab668cfd0a65aa1d34
BLAKE2b-256 916dc804be4e7a6470bdab4e8b8770b95dcff6c5655b8f24194963a50b59d9b8

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2fda626d2a4f3241f5747baa70aa295b66b5d4621b15d67aa90e60df1aa01493
MD5 0e59386b1dc2ccaa20054ed5688bd79e
BLAKE2b-256 18de5be612d43d713f3d83d0cdd0880eddcab7e309058f83e99f77e95181add4

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 99ac4c59c34c3e276326f7117cf80ab9dcf6dcae7abe04f0d1f7c1436c85c2a5
MD5 f29024b0a643d30186c25bd0be99ed7d
BLAKE2b-256 959c148bea3779f6f3b98092091430d9ae8b47a1299bf41d146a5718d02c7286

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 04c1771eac102dabd25c8d205730149858a6aff03bae9bb42406898fcdf918af
MD5 8b64b5ef5c9cd38787e46fc2ddf1d761
BLAKE2b-256 08ff773bc629fdff063e843c377e215caa090d07752116b7a3aa23be03d3277c

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21220d5b12fbecc4aa9fbddd7dd53cfe592f205f781d7899e44c836cc5016f5e
MD5 667745e9555370672a5e0c845920a55d
BLAKE2b-256 bbdba44bdf1e6f37a10d1a699f503b29f654388d622f0cc1f3f7a35f1055d270

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5cd1ff0ba7677de08f64941c4bc2d50e8821aae630d2db86e3cbc9395773f762
MD5 bf2c0cff3f484112103d074118ea6be3
BLAKE2b-256 20bd5ccb04733a767d6e28dcb405eb1daa7e327b14b7ab7557b8808cd27c028e

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e5016b6dd400c4fabda002ec9bde47834b6239cd4c72d422d5375e685753d7cf
MD5 9830762da28fa94c52c199656988c002
BLAKE2b-256 556f4a5ad7da5d7a5cfe8d08637ebf23a6f87c40b382c1bacb1a528a73709fd8

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a2170b2c8a73b4df6e775352d5aab10a26e0ef5441c76b9a2df828208e608210
MD5 e94f3daa7ff2fb921e40599edc9c7e18
BLAKE2b-256 027a30db224ed65faf0443ea3f7ed23c8c93d9a813d3f83637211b20f353d136

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e3e707e1b1ec6e24458a8b557c74c9248fccd931ac31ec7ee5f2b4bff9e5b04
MD5 55c24437a17210f155268f14b6e103d5
BLAKE2b-256 2d4aaab56749c8bf7c5bbbbe32d4366ed604fae78298b13ccf2c04a2d3c9424e

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2193726d66a925de9a9196fce098f98fbed246cc14c42db4addeaf11ab1f157
MD5 c3dee1bf2d4663233dc7940dab612f42
BLAKE2b-256 280467351b809981218f0af7e9e98df17305e85158dbd88441bf8cda9702dc26

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b981596654f51ad77f9688468ee4470328f7d0cb79b927e51c483eec2f9e4cfc
MD5 aaa1a44ce297284b27beebfc83ce972d
BLAKE2b-256 fa571d6eec6732aacfae0eadd8f4ed565e58ca758c89ef1d3b8c0ed182b897ca

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8c34f60be798498686753db3c296dc0a3809608033b4ab044844d7a73230c685
MD5 ea66512554fc0bc198eb41e3067bcf1f
BLAKE2b-256 2214a96540026043abf2ff836f110b04f2b55cb94dc053544c11b037bd988ff5

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0a6281d75838e5f6ef37bcfffa3e425cbf4be302a3f236f8cefc45591ebb8c6e
MD5 1d1fcdd8504f02cf15aae2dba797b142
BLAKE2b-256 c05ef834f5e9f18db9dc4866a662f90f631973fb34313c2aa596617921a4436c

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3254855034bd576c801a3a35dc88bcc7d95f2fe5a1b63e2829325751e2689e5e
MD5 b3647e3c8d2ae4f382e0c1d0f0cf9b89
BLAKE2b-256 f95d80a332cbf32a0f75ca380a3a5ea102b91ba1ad9ab1835debe0f1a68c8643

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e9c358c831a5785323f687f215bc4b3d24a6f10495fcbefef00a4c908d4a74b
MD5 df1bb96d8ad9696d39aeea68995fd043
BLAKE2b-256 5aa6de3aec179291d85dbe3a3c67e9855336ab80f489b568404f5f1a664eb8a1

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