2. awssestools

My AWS Tools

class awssestools.AwsSESTools(aws_access_key_id, aws_secret_access_key)[source]

Bases: boto.ses.connection.SESConnection

AWS SES tools

Parameters:
  • aws_access_key_id (str) – aws_access_key_id
  • aws_secret_access_key (str) – aws_secret_access_key

Todo

  • Add integrated with jinja2 template.
static mail_header(name, mail)[source]

Encode header to base64

Parameters:
  • name (str) – user name
  • mail (str) – user mail
Return type:

string

Returns:

a string of “name <mail>” in base64.

send_email(*args, **kwargs)[source]

Send email

seealso send_email in boto.ses.connection.SESConnection

Previous topic

1. awsec2tools

Next topic

3. awss3tools

This Page