Skip to main content

A Python library for sending emails with the help of amazon service SES (simple email service).

Project description

SES Email service

A Python library for sending emails with the help of amazon service SES (simple email service).

Installation steps

You can install SES Mailer using pip:

command- pip install ses-email-x20238813

How to use ?

  1. Create a IAM user - add policy AmazonSESFullAccess

  2. Create access key and input the key and secret access key aws_access_key_id = '' aws_secret_access_key = ''

  3. Instantiate SESEmailService object mailService = SESMailer(aws_access_key_id, aws_secret_access_key)

  4. Define the following variables- sender_email = 'abc@gmail.com' recipient_email = 'abcd@gmail.com' subject = 'Email Subject' body = 'Add the message here that you want to send'

Note before sending the email user must be identified in you AWS, so to do so pass the email address that needs to be verified, a email will be sent to user from amazon, once user approves it then only they can send or recieve email.

  1. mailService.Identify_user_email(verifiy_email)

  2. Once user is verified then you can send them email using the following code- mailService.send_email(sender_email, recipient_email, subject, body)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

ses_email_service-0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

ses_email_service-0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ses_email_service-0.1.tar.gz.

File metadata

  • Download URL: ses_email_service-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for ses_email_service-0.1.tar.gz
Algorithm Hash digest
SHA256 c6eb025ed7c9bc0213143dc84bb3c6f80435672e13107ebb9821cc3fb9a23054
MD5 e9e351a8604e59d479ff044ad1f0234e
BLAKE2b-256 a738197738abd598285a498257db66eb3713755400d9253a5aa57b2076268346

See more details on using hashes here.

File details

Details for the file ses_email_service-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ses_email_service-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c86d0f1862b8ca2f2d1f57acb564881c527f8d29600c120e8ec48d5208aec9aa
MD5 6181f03a401a8531ee7ffbaf64db603a
BLAKE2b-256 26b7aaec1c6c529e3dbfd93b79eff9f83e3dd7a08a408f7b29f3d0f087987b56

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