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

Uploaded CPython 3.13Windows x86-64

ruth_emailer-2022.0.1-cp313-cp313-musllinux_1_2_x86_64.whl (509.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.1-cp313-cp313-musllinux_1_2_i686.whl (487.4 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

ruth_emailer-2022.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (498.7 kB view details)

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

ruth_emailer-2022.0.1-cp313-cp313-macosx_11_0_arm64.whl (86.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ruth_emailer-2022.0.1-cp312-cp312-win_amd64.whl (86.3 kB view details)

Uploaded CPython 3.12Windows x86-64

ruth_emailer-2022.0.1-cp312-cp312-musllinux_1_2_x86_64.whl (511.6 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.1-cp312-cp312-musllinux_1_2_i686.whl (490.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

ruth_emailer-2022.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (495.0 kB view details)

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

ruth_emailer-2022.0.1-cp312-cp312-macosx_11_0_arm64.whl (88.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ruth_emailer-2022.0.1-cp311-cp311-win_amd64.whl (87.6 kB view details)

Uploaded CPython 3.11Windows x86-64

ruth_emailer-2022.0.1-cp311-cp311-musllinux_1_2_x86_64.whl (505.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ruth_emailer-2022.0.1-cp311-cp311-musllinux_1_2_i686.whl (490.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

ruth_emailer-2022.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (480.9 kB view details)

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

ruth_emailer-2022.0.1-cp311-cp311-macosx_11_0_arm64.whl (91.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 038f241e9f572f0faa23c082639f529a2f45b2a33e70e99e9363fa5357c0de89
MD5 4b15e8c8013a1fe498ca280636db18fb
BLAKE2b-256 c60cfcba066c30e31e58e89708a479e435600abb0a6e98b366b6560ce5fd98a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d71cc6331549166062fc5363e008c840783f5bd93311c747e6957c4caf6d3b01
MD5 586bde31c11338e18e82468dcca8a2b0
BLAKE2b-256 95761ada86e9c4a7927c91e95526aee735e7e04041d203884b4798d06f0f5d4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5563d55725548f12314a063442cca803e35a16a50979c7b1446238af2cee4b12
MD5 f77b044a8b6441c05a4a42bcdaca3181
BLAKE2b-256 51994abb0554bcc889b410bb7c281c7c630eb31845930814753065a631e058d0

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.1-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.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 399ad67de4641965d996b8f9d123e7cd573b76d01402fecdf25ae4f12af55b49
MD5 1bfd6931f201b6b87266d2219fe4bd88
BLAKE2b-256 b4251e035039b53b42c8342e11a5bb9a8b43ee2028151bb3d6888abeaf21a0ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ebcda2b5e26dc34cc7474ca5407f79f3bc0b6445fa230e47720544cb4b95035
MD5 0fc05f710d5a1d94603e957f562d3d5b
BLAKE2b-256 f31134ce7a497427f1871407b17481019a4e234b394242db42433fb10f79b539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a98bfd5993fdf773e56b2e2588eafa943d7b4f8a11fe966e71a54809504f171f
MD5 a6ecd698bb1d9e7b80a9087c1ea42216
BLAKE2b-256 fdc0b73b0cdcbde19bef8cfd7973e7c8a09a7ce1237bf0c7a82596209aee45ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9cd036114eaa5a95fad27c3ef18e9b2c915f09674fcb6e36febd3c5fde01fb52
MD5 3b8b555797f6e9f3af1aeca95b6455cc
BLAKE2b-256 cdf3f1d3ee32f7485cd9f02c51383a97439eae4b54181c59d7485b999741707a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 68bb3e486d05288c907b948d27611b3ae17988d76b60d1cb38706574935b3201
MD5 f5425c5b9a70e8a915919392db1cba2f
BLAKE2b-256 bc1ab959eebe815ec65c7c2a1d0a57facd7e4f5bc5af4069cf64d64ca92a60d4

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.1-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.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f26728bece1e7737df862062580241090f0b0072d3e7d8473fc51c435289e5f
MD5 cba706f3ec031c93f63241a039d4383d
BLAKE2b-256 fa0035656522f9aa6b287e0a5e6d648549a06e12fc79e3afc79974cfbb7df06e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f1006f01968ffb45e2bdd70a25a60d5f6af65ced287e756317a12a48e9b77f58
MD5 9feb8eabcd5429c753bdd5053bac27d8
BLAKE2b-256 b76c0cce43871a1d0a11172b14c146d0d763cccac8ab9a864657ca04cf123a6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e4ebf11bd1426c457f67c5ebf359eac43258a337d86b4b8fec1639a2ef0e8e37
MD5 5f1171b18f503c29799e6a26e9f97bd1
BLAKE2b-256 1ba34baa426cab1413eaa77515df8f47aa315468efe23951cd9220af0e059b93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 28fc91ba286434d7aadc51cac52ece92a4fefcfd01e3b0ea3cdcdb710c07db34
MD5 64bf8521eb3a9989b92b817eaae381c0
BLAKE2b-256 54829e49c358907ab19d5e2519959cdac299671edebc07131e0088bb9d8e5af2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0c6632674eee11a23109afbd475663b7891397187a0b9d885d8bd59687f5603e
MD5 8ea9e97e4f1e93de0b785916feb7d122
BLAKE2b-256 822f4091e84ddaee074966fe382a03d9c4ca913349da165f7842242380ffebfb

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.0.1-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.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f29e00ea828252c916a6bf21e52bf06ba437a7bd200582589f11e07d781de00
MD5 1d906be7d3a2127789d69f1cbbee161f
BLAKE2b-256 e51eed52bc472604f40579c3bc0509dc4da7a66063180e88fd9e6762ca0e7915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91d4d50772d8e167e8d24b5e18fb7e9a403e7f0e9206a097a08a7ec75ed69201
MD5 e964b0cbcc539e1922a70e5090417a8f
BLAKE2b-256 c6610d48b620c7da3a805b266c50d73cc1523fe9c02e68c9028914c1111f31d7

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