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.1.2-cp313-cp313-win_amd64.whl (72.6 kB view details)

Uploaded CPython 3.13Windows x86-64

ruth_emailer-2022.1.2-cp313-cp313-musllinux_1_2_x86_64.whl (487.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.2-cp313-cp313-musllinux_1_2_i686.whl (465.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

ruth_emailer-2022.1.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.2 kB view details)

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

ruth_emailer-2022.1.2-cp313-cp313-macosx_11_0_arm64.whl (79.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

ruth_emailer-2022.1.2-cp312-cp312-musllinux_1_2_x86_64.whl (487.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.2-cp312-cp312-musllinux_1_2_i686.whl (463.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

ruth_emailer-2022.1.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (472.5 kB view details)

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

ruth_emailer-2022.1.2-cp312-cp312-macosx_11_0_arm64.whl (80.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ruth_emailer-2022.1.2-cp311-cp311-win_amd64.whl (74.7 kB view details)

Uploaded CPython 3.11Windows x86-64

ruth_emailer-2022.1.2-cp311-cp311-musllinux_1_2_x86_64.whl (481.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.2-cp311-cp311-musllinux_1_2_i686.whl (463.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

ruth_emailer-2022.1.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (454.5 kB view details)

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

ruth_emailer-2022.1.2-cp311-cp311-macosx_11_0_arm64.whl (82.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5c430d65df5867bea1326903fde6af7bcbddbb14c86a4dda198db635f26e30a9
MD5 57ab5d7670f380078373d294baf3afc9
BLAKE2b-256 36b2f24efa24fee545fd5043e998faee55867ad0fea29c8e54f5b98ef3f1e916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 feb1e7e8317eb06423ed4d2b178acaa875f1f93a602c9232c712634f2c1d5751
MD5 dc34e9d9d3b1542704dac1337ce24a72
BLAKE2b-256 6a8c34860a1b4c34fa6dd9cf553d6730a5ce5939ce37c50372539a9ba36f28d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5f21078da1869aefe253a5be38194a942e2d006001321511e23e5c7b9f9c7566
MD5 3922ad75d87bc006d3e8bbae0a94c0ce
BLAKE2b-256 ea358a455bd5217c592fc1975eb9cc990d50c82ef3b8b1cd9d5c4e56462f12dc

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.2-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.1.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c0cebecfcd62579f439f2fb8caeac9561b171517540d5ff5802b069cdba500b
MD5 01c365c5cf8e8e7a8fbb8c6f2f8c26ef
BLAKE2b-256 dde6fa6ee80ce4d642f5d3cf7c2c059138e7e8fbc8c03fb67d2bfa08ffea5257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e453c8c94ff58f0e34328a64a6971a59b4cf34abc19ca06b5e45fbad69237083
MD5 ed13511744ea8b90eb537d23c4964222
BLAKE2b-256 36ccd9d9767aa65a5ceb500780d587ea575b7237395e566baca787401a3e2bc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6fd902bacad14618b2ae0b5225d0ebfa6ef67fd4118a4596962339384d143d5b
MD5 d1d3b596c537f8fe58e3ce0af451ba8f
BLAKE2b-256 b8a5e9985386c97098afb8803329236510f0eef1034b8bfb0904018752d77abe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4a95acdac818182381ed1a45d5fea0e1c2320df0aad36a45aaccce0d3c4f51d4
MD5 24f4444215fb13c9b6b78d517e4d9839
BLAKE2b-256 68212b67ed5cac1d3b0f2af88fb7927d1549011ab9ee2ccec2c20b9d0d7066db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 eb299235b40bce43824258bccfd7c60fcf97753c41bfd92dc914c7f141815031
MD5 a356b52d8c0ec549e8c58fd793adca22
BLAKE2b-256 ba2ac84e574b380bbf7ac1c2c38fb38ba99a1cf536ace181ff76ec17f28035f8

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.2-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.1.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebb77d07de8f689f6857385b9c0bc6708341a859faa30a8b4ef25f70482b7fcf
MD5 4eb3a7e5f745c0593c39dac09c535d00
BLAKE2b-256 04b01e882c438f2d60f506cf3d179bd9df31e8cb8f0f376b4cda7527b5a66a07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11a2be94caf908513ebfb0b259b50a52c4a67773e7134f73db134fd25a3f7164
MD5 1d8e782fcf4c59a084c3d5bf312c15bc
BLAKE2b-256 29f1c31758f17cfb717e07d991a9dbb964fed81a211813767eab9c1578ce9c33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 100daf2e1802ff33a534ab763cff8b2ae5dd179c408a23c3066c6e6cf54302c5
MD5 d68cbb8e72c7e7d6ae6b219ba82f6153
BLAKE2b-256 9c9605e68bf9a78cb834428784229430702c945652d5d6a1fbb9dd4af3e41e57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f71a14a34c6a74d940895846beda5839f304a3adf028b3aade2d2f7f7e59380c
MD5 29426a1f89e9da8714d4e3c0cd7922cf
BLAKE2b-256 d1b1fbedbc131037cb39a772cda4cfb496fd9e1fb059149a33e6e30effc433a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d058037f5a8cb6f4990900c8c1044c0d51fcf59cf46b0b6b407b63f58261f377
MD5 6c4c67bb48d3b612c2a13985e91790d7
BLAKE2b-256 3a104517ff1cbea910df88391050c30e596eb7cda540ea75098292a30e3879a9

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.2-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.1.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ceb22500637b077f4670f9a48dae078bd0dfedf00869807e321377b401252a9
MD5 85ad3d9b81288f7118a3484de5509263
BLAKE2b-256 c056e3db9fbabf91abe5f271ac53a28acae3bcc4e7178475b38e959cd1d4aa76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e7c5ce546368a2451ad42d4353c94404003d711d2ce663ff38f2fb1907f1a6f
MD5 be504ae60c25c1af2334c61a2c650332
BLAKE2b-256 606145f9f38cd36e9990462d84b088df17b38a228a0207bcbaf01aea85d9ab5e

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