How to add multiple email id's in the "mail_to " section of mailer-ses

I need to configure multiple email id in the mailer-ses handler,

“mailer-ses”: {

“mail_from”: "xxxxx@xxxx.com",

“mail_to”: "hai1@gmail.com,hai2@gmail.com",

“aws_access_key”: “xxxxxxxxxx”,

“aws_secret_key”: “xxxxxxxxxxx”,

“aws_ses_endpoint”: “xxxxxxxx.amazonaws.com

}

the emails are not getting triggered for hai1@gmail.com,hai2@gmail.com

please suggest me how to configure multiple email ids.

Have you tried separating the multiple email addresses with ; (semicolon) instead of , (comma)?

···

On Wednesday, 24 August 2016 04:41:14 UTC+1, IMRAN SHAIK wrote:

I need to configure multiple email id in the mailer-ses handler,

“mailer-ses”: {

“mail_from”: "xx...@xxxx.com",

“mail_to”: "ha...@gmail.com,ha...@gmail.com",

“aws_access_key”: “xxxxxxxxxx”,

“aws_secret_key”: “xxxxxxxxxxx”,

“aws_ses_endpoint”: “xxxxxxxx.amazonaws.com

}

the emails are not getting triggered for ha...@gmail.com,ha...@gmail.com

please suggest me how to configure multiple email ids.

Actually, scrub that. It turns out that SES requires multiple addresses to be delivered as an array, so you will need to define your recipients as an array, rather than a string.

Details can be seen here: http://serverfault.com/questions/767363/amazon-ses-not-sending-to-multiple-recipients-aws-sdk-for-php

···

On Wednesday, 24 August 2016 04:41:14 UTC+1, IMRAN SHAIK wrote:

I need to configure multiple email id in the mailer-ses handler,

“mailer-ses”: {

“mail_from”: "xx...@xxxx.com",

“mail_to”: "ha...@gmail.com,ha...@gmail.com",

“aws_access_key”: “xxxxxxxxxx”,

“aws_secret_key”: “xxxxxxxxxxx”,

“aws_ses_endpoint”: “xxxxxxxx.amazonaws.com

}

the emails are not getting triggered for ha...@gmail.com,ha...@gmail.com

please suggest me how to configure multiple email ids.

Thanks joel, adding an array of email id’s it worked