Error on amazon SES: SendEmail operation: Illegal addres : <p>I'm trying to send email through <a href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide/setting-up-email.html" rel="noreferrer">AWS SES</a>, but I'm receiving this error:</p>

<pre><code>botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the SendEmail operation: Illegal address
</code></pre>

<p>I already verified the email I'm sending to and from.
This is my code:</p>

<pre><code>import boto3

client = boto3.client(
    'ses',
    aws_access_key_id=AWS_ACCESS_KEY,
    aws_secret_access_key=AWS_SECRET_KEY
)


response = client.send_email(
    Destination={
        'ToAddresses': [
            'xxx@xxx.com',
        ],
    },
    Message={
        'Body': {
            'Html': {
                'Charset': 'UTF-8',
                'Data': 'This message body contains HTML formatting. It can, for example, contain links like this one: &lt;a class="ulink" href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide" target="_blank"&gt;Amazon SES Developer Guide&lt;/a&gt;.',
            },
            'Text': {
                'Charset': 'UTF-8',
                'Data': 'This is the message body in text format.',
            },
        },
        'Subject': {
            'Charset': 'UTF-8',
            'Data': 'Test email',
        },
    },
    ReplyToAddresses=[
    ],
    ReturnPath='',
    ReturnPathArn='',
    Source='xxx@xxx.com',
    SourceArn='',
)
</code></pre>

<p>How can I fix this?</p>
