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

Uploaded CPython 3.13Windows x86-64

ruth_emailer-2022.1.1-cp313-cp313-musllinux_1_2_x86_64.whl (462.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.1-cp313-cp313-musllinux_1_2_i686.whl (441.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

ruth_emailer-2022.1.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (453.4 kB view details)

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

ruth_emailer-2022.1.1-cp313-cp313-macosx_11_0_arm64.whl (76.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ruth_emailer-2022.1.1-cp312-cp312-win_amd64.whl (73.6 kB view details)

Uploaded CPython 3.12Windows x86-64

ruth_emailer-2022.1.1-cp312-cp312-musllinux_1_2_x86_64.whl (461.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.1-cp312-cp312-musllinux_1_2_i686.whl (440.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

ruth_emailer-2022.1.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446.1 kB view details)

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

ruth_emailer-2022.1.1-cp312-cp312-macosx_11_0_arm64.whl (77.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ruth_emailer-2022.1.1-cp311-cp311-win_amd64.whl (74.3 kB view details)

Uploaded CPython 3.11Windows x86-64

ruth_emailer-2022.1.1-cp311-cp311-musllinux_1_2_x86_64.whl (455.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ruth_emailer-2022.1.1-cp311-cp311-musllinux_1_2_i686.whl (439.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

ruth_emailer-2022.1.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (430.8 kB view details)

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

ruth_emailer-2022.1.1-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-2022.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e239ae761324169620bd58669a8b674ea893804cd998592a9533152c1d3eedce
MD5 1576b3cf66ce97693efbec9e50f9d82a
BLAKE2b-256 28b100973f5f5c1392bb9149d8766e248ec8e329187e15eab5d6edefc3fd52fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8bc0d63ea4fe05b3a34b42b168f33344d8eebd7c27af8c35436fd891fcb23864
MD5 dfa2a1de99925bedb5d8cec958f3c7c7
BLAKE2b-256 7217aee96c49a06e650a056c259c47d61380d21e9c2158b97e4eb7de331b1809

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0bba958e43f946cf0a63b4385e42065d07cb161da68d98bca2ad690dfa602b82
MD5 fd3a650e1fb2f02ecea75a7751c29fcc
BLAKE2b-256 91c938bd58fe00d0cdfd2fc5e74ef86d456b81483bbe467ffd95479a26d3c2c1

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.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.1.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c020c84a5bfc2a8b2a75dbb7b5bcbf72c19fe6be849de55025fa3193c85c64e9
MD5 50019d6d7bdc8a766479c4c35dc82150
BLAKE2b-256 cc506f1c9eb18f14ce6575d4c45873ea8bd24ad34b8b20cac09badb916302aab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e7adee482db2482a05aea04b135b51fed9d6fcd8b25d5930b7684b76cec4ea10
MD5 f58b6543a055905df58f9c413cc68d9b
BLAKE2b-256 c32380aa76dd20f6ecefc367d6c63515e79621e34bbef4c9d32b810253384782

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9fc11df95cba586bea490f7884c06807a6cb3661717dc726ee2a462a940ae5d5
MD5 67505e996426ab916111b7f63e50e229
BLAKE2b-256 213ab8ebbc665cefcec264b65a551ce9ad9c60ed59ae79bd6400bc244e88c148

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fee9ef621a4049e4882bca29950bc888677fe241224583ccb30b14add1cebe5c
MD5 26b7735ef8e20af046f7818351c8bf30
BLAKE2b-256 4d550031c031fc69141bd93a085dc990c5b8999250003a25ecb656fef106a8da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b69f2bda9248edcf7c257e09d852be0c8eaa7d86034dac648a120742bdfbf2c5
MD5 fb68dc5d9cf32ade80d4792b5db95055
BLAKE2b-256 803ecb0f2165384ac34dbba93032788c7c1ccc9e388839354a2a4f1f100c7808

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.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.1.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b5627bfee23aebe56d374ad5350e6a5333390306c3226ca5d595e08e9e5e965
MD5 b07585bb9324f0c931f866b30e9fdc37
BLAKE2b-256 fb7f387df9302ccb5d2dcbc88cd2304a4117466cdd5bdb40d4d5e23f6d6f60ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f09f763e04742044d7f962af246f08a68eec8178a3cc37fd77003ccb4be90db4
MD5 84c95034816fac55e18805e5981d6d7c
BLAKE2b-256 7dde6a256ad9665da7c6822b2a4224b2ddefd859df203197aecc7f01805a81df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e28ca27f6c6929eef660dbc6a373858261989188f8e795c28201698bacc85641
MD5 30d88cb94bea9d56d2dcc5e7433e14b2
BLAKE2b-256 ea9695b7e59e354cdc219e8f71bbbc4d5136e2a0de8012cd847c55e1adf05819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 03e8b6616722f856c20d434b7882caea037873e32f62f72b03a28d1e05a2faf2
MD5 22a0764c390a3f93e21c5513b643b1f9
BLAKE2b-256 771d9e9fc3c64c184c10b7974f0da565da53ead033dec0532d3634f4e30cab8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a36e824bab8bd97b50e85147e91c56098533d0bea11d51342c0e7b37ff0826ae
MD5 fc7ba70fc757084b3fe5696ffd515198
BLAKE2b-256 c04d07d38e664d4b5164edb80a1824a6bcd2a8e6e3a60dd085813cd39c12f9ec

See more details on using hashes here.

File details

Details for the file ruth_emailer-2022.1.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.1.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd8fd1c465fe518bf1e0c25a113274e8dc63ae053fac02b88a72314e4ca74425
MD5 6084b2f9b2871f0bf645dc3f1fe94160
BLAKE2b-256 11178bfd1cd509816666b75746634a6311b61b989d7c1a2aded3976432c1f624

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ruth_emailer-2022.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c1dc97108ba61c22570249cebddc8aec9a288e4e3ff587eff6b724020184a894
MD5 a22a75f3943623027a6d88d7194606d6
BLAKE2b-256 0dd0e733ec87c4b491c3f1f08b85ca3da21f2b8e8a18ec6e02d68de64f04e50d

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