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

Uploaded CPython 3.13Windows x86-64

ruth_emailer-1000.0.2-cp313-cp313-musllinux_1_2_x86_64.whl (464.3 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ruth_emailer-1000.0.2-cp313-cp313-musllinux_1_2_i686.whl (442.3 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

ruth_emailer-1000.0.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (452.2 kB view details)

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

ruth_emailer-1000.0.2-cp313-cp313-macosx_11_0_arm64.whl (76.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ruth_emailer-1000.0.2-cp312-cp312-win_amd64.whl (73.4 kB view details)

Uploaded CPython 3.12Windows x86-64

ruth_emailer-1000.0.2-cp312-cp312-musllinux_1_2_x86_64.whl (463.7 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ruth_emailer-1000.0.2-cp312-cp312-musllinux_1_2_i686.whl (443.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

ruth_emailer-1000.0.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (445.0 kB view details)

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

ruth_emailer-1000.0.2-cp312-cp312-macosx_11_0_arm64.whl (77.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ruth_emailer-1000.0.2-cp311-cp311-win_amd64.whl (74.2 kB view details)

Uploaded CPython 3.11Windows x86-64

ruth_emailer-1000.0.2-cp311-cp311-musllinux_1_2_x86_64.whl (454.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ruth_emailer-1000.0.2-cp311-cp311-musllinux_1_2_i686.whl (439.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

ruth_emailer-1000.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (429.8 kB view details)

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

ruth_emailer-1000.0.2-cp311-cp311-macosx_11_0_arm64.whl (79.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 50757fd45f2ad4129053fce61a2bb1ed4f122aff63b4370170025706dbdbf821
MD5 22ce33dcc87084b74d1cb0b570f1dd24
BLAKE2b-256 f079cff4ff33cf8a9ad3f9757485e78585a1d57ed1318d433825a1288f32f228

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7868cd19b1d724337481d38f7b5ca3ff660e70ac137a7dc6aaf174c35f616572
MD5 7e34b4104fc5597b1d220ddf5c71dc0b
BLAKE2b-256 0cb2e047518b5cad5977e125b28722fe5a8c9afbc451d7d553a52f2849c2ee3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d483dfdf7a597e74bc6568d049b201bf064ce015d0e1bb22b7d1603d33e012f8
MD5 ee25d0c44275cc754fa3ca8f04239a63
BLAKE2b-256 c5314cb12282548538389632855ddecf7b860cd3f17ac08d3a6ae508cec7e4b1

See more details on using hashes here.

File details

Details for the file ruth_emailer-1000.0.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-1000.0.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e66f3761f8df89c0c5e3523961ca58323046dad843dc1fd4f1d7907c60c1fb6b
MD5 9d98532d48328c331fe919852dd73a81
BLAKE2b-256 7c32fa9a9d64f03fb35aba9d50a2bd64020300b0a9394298b2f9038b92cf13e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8919fe109a8bec67731c4cabbd41f56b0b3801ec53e4faef097aad1d41804610
MD5 7b3dfcfd273d2e6eaa4d8ca9e4b6b737
BLAKE2b-256 5ae58ce4ea4780f8a04be60f8aa02385b6054a024327c832059fc46d55459bb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b1385f5acfd0408bbf8b54fa87b8a6cc8589fbdb6d873a6f1b267e0a47c9567e
MD5 f8d3143d1203c9e33507d795d656d516
BLAKE2b-256 9933409d22a489d2e6de40c3011d95887ad088c99052a72eaa84122a59bfd396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 56afea469db3134c097cdead216450e85abddd8dfcb6b71f2d32293097a34709
MD5 9bbdfd90f08bf969bcde13542723aa28
BLAKE2b-256 7e263f3a52f20b8a08c387d9b32024ed410d38f0a2cf050d0d4bda13833d0fc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 57750de0804093aac77cd98521194326f1c5ab4087f982d83e4b4596df039ce7
MD5 aeae1bb3161e12fe4b2c835d15056f7a
BLAKE2b-256 906187756022679a444e700b0be53ee3987f25d1264a9c6186db8282f7f4d868

See more details on using hashes here.

File details

Details for the file ruth_emailer-1000.0.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-1000.0.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1e809ee4845923c0aa4ab89974578976b199e7c2771d792fe0c184a1bb8224a
MD5 90017ba8ae0bf1ada54be43384c9b6bf
BLAKE2b-256 e235ab04c2ec248a446f10452337510429e421ab764c53994432ec3b72813d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0d87e1757c4c363c8904b4c89dcbd6d0b493da1f260f0315853d556141e826a
MD5 5fb7731dab8bad06ecaac87e6e863eaa
BLAKE2b-256 589d6d9ae389f1b5c31358a34d1d199002e88292db0c6e5b2cd25e02a427edd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fc893a822efce25767eb4bfe8b4f90d9162b9da320068f175fdfc91c0487c482
MD5 8f8c97327954c255f5ec71481267503b
BLAKE2b-256 fde346f7423dadec05b2e3a1cf68b878bc0b84160a7b58151d86c817040b1073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0d9a864e8b6b2e761003d5253269d39035a88d5d590def2a20e7c5c71547af37
MD5 695b288637f8549e2c99a07cb5902432
BLAKE2b-256 286af7c49060fabf360c340608b54c7319690dc9bd2ef693f730359c73544e04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8df23c818b869bfcc64950451db8bd45817b9d43ed9f966295933b79f67325e8
MD5 2e39714000d4f621247560144f786d20
BLAKE2b-256 aa8fc032574243097a8d7ac5609e37d7d1a9acceb2dd2a4f864bf2ab64b7a852

See more details on using hashes here.

File details

Details for the file ruth_emailer-1000.0.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-1000.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c0ad95e40837163fa8c03ddb4493cff0a20e21dc62896c9fc4249ae75d56aebf
MD5 95d7e988a61140807111a05a169e0203
BLAKE2b-256 9f42bf9d4d19540a84f7ea80e0616dd912cddb8793fba41c1e02c6a8eb65f70a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-1000.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ccfbeced2dca35b799bcf262941d27adf769edfc1460e2d76d9ff8527bc7f83
MD5 73d6ea1571a6d8fbe8eaaa5ddb9cf742
BLAKE2b-256 ea345db110bdbdd86032c9869ba433bc1bbb339e6e03cba21635297c87892e05

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