How to change FROM name in Amazon SES with boto3

amazon-ses, boto3

Solution

Its pretty straightforward :)

Source='A Custom Name <no-reply@example.com.br>'

Problem

I'm trying to change the `from` name that appears in the email client using boto3. But I'm unable to do this. This is my code: ``` client = boto3.client( 'ses', aws_access_key_id=AWS_ACCESS_KEY, aws_secret_access_key=AWS_SECRET_KEY, region_name='us-west-2' ) response = client.send_email( Destination={ 'ToAddresses': [ to_address, ], }, Message={ 'Body': { 'Html': { 'Charset': 'UTF-8', 'Data': html_content, }, 'Text': { 'Charset': 'UTF-8', 'Data': 'Email formato text.', }, }, 'Subject': { 'Charset': 'UTF-8', 'Data': subject, }, }, Source='no-reply@example.com.br', ) ``` The `from` in client always comes as no-reply, how I change this to a custom name?

Original source