Hello,
I'm testing my code for the latest version of the library. When I send emails one at a time (one per API call), it works fine. When I send multiple emails in an API call, only one of the emails is received.
Below is an excerpt of JSON sent for a batch of 10 emails (minimally edited to remove personal info). I'm sending to my personal gmail account using the + notation, e.g., recipient+0@gmail.com through recipient+9@gmail.com.
One extra weirdness is that the Sendgrid email activity log says that all 10 emails are delivered even though they are not. I find it very strange that this works sending individually (to all 10 email addresses) but not in batches of 10 at once.
I'd greatly appreciate any help you can provide.
Jeff
{'categories': ['begin'],
'custom_args': {'eid': '5715143556071424'},
'from': {'email': 'noreply@example.com'},
'personalizations': [{'custom_args': {'vkey': 'aglzfm'},
'send_at': 1486243132,
'substitutions': {'{{description}}': u'<p>xgfddfdfhdf</p>',
'{{item_title}}': u'Best Cat',
'{{manager_email}}': u'manager@example.com',
'{{manager_name}}': u"Jeff O'Neill",
'{{unsubscribe_link}}': u'https://www.example.com/remove/',
'{{vote_link}}': u'https://www.example.com/vote/'},
'to': [{'email': u'recipient+0@gmail.com'}]},
[...]
{'custom_args': {'vkey': 'aglzfm'},
'send_at': 1486243141,
'substitutions': {'{{description}}': u'<p>xgfddfdfhdf</p>',
'{{item_title}}': u'Best Cat',
'{{manager_email}}': u'manager@example.com',
'{{manager_name}}': u"Jeff O'Neill",
'{{unsubscribe_link}}': u'https://www.example.com/remove/',
'{{vote_link}}': u'https://www.example.com/vote/'},
'to': [{'email': u'recipient+9@gmail.com'}]}],
'reply_to': {'email': u'manager@example.com'},
'subject': u'Best Cat',
'template_id': '6060c6e9-0376-4b52-ac15-e6befd906072'}
Hello,
I'm testing my code for the latest version of the library. When I send emails one at a time (one per API call), it works fine. When I send multiple emails in an API call, only one of the emails is received.
Below is an excerpt of JSON sent for a batch of 10 emails (minimally edited to remove personal info). I'm sending to my personal gmail account using the + notation, e.g., recipient+0@gmail.com through recipient+9@gmail.com.
One extra weirdness is that the Sendgrid email activity log says that all 10 emails are delivered even though they are not. I find it very strange that this works sending individually (to all 10 email addresses) but not in batches of 10 at once.
I'd greatly appreciate any help you can provide.
Jeff