Mattermost, Inc.

Issue with AWS SES to send email

Hi there,

I’ve setup an instance, but I’m wondering about how I can use AWS SES to send email invites to new members.

I’ve tested AWS SES through the mgmt console and I can send mail without any issue. If I try to send an invite from the mattermost server I never receive anything.

Here’s my current config.json:

"EmailSettings": {
        "ByPassEmail" : false,
        "SMTPUsername": "**Key**",
        "SMTPPassword": "**Secret Key**,
        "SMTPServer": "email-smtp.us-east-1.amazonaws.com:465",
        "UseTLS": true,
        "FeedbackEmail": "mattermost@mydomain.com",
        "FeedbackName": "MatterMost",
        "ApplePushServer": "",
        "ApplePushCertPublic": "",
        "ApplePushCertPrivate": ""
    },

Here’s a snippet from the log:

[2015/08/21 01:24:28 UTC] [INFO] sending invitation to id@domain.com http://domain.com:8065/signup_user_complete/?d=%7B%22display_name%22%3A%22Another+Test+Team%22%2C%22email%22%3A%22id%40domain.com%22%2C%22id%22%3A%22fbjg39ftgjyt9qoz9kyai7gg3c%22%2C%22name%22%3A%22shtest%22%2C%22time%22%3A%221440120267974%22%7D&h=%242a%2410%24H0Ss2iBvs..qvNIonEodqu9AoCfdZuEqA5N2Za6cEo5FjJHTon462

Any suggestions?

Is there an error around the message “sending invitation to …” in the log file ? Or you might see an error message about email isn’t configured. I’m assuming you’ve replaced id@domain.com and it was a valid email address.

Otherwise It looks correct.

Do you see any bounce reports in AWS SES?

We use Amazon SES internally and set it up similar to the steps listed at https://github.com/mattermost/platform#email-setup-optional