Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different attachments for different emails in bulk sending #994

Closed
BooleanType opened this issue Aug 6, 2020 · 1 comment
Closed

Different attachments for different emails in bulk sending #994

BooleanType opened this issue Aug 6, 2020 · 1 comment
Labels
type: non-library issue API issue not solvable via the SDK

Comments

@BooleanType
Copy link

Issue Summary

Related to issue #352, but my question concerns exactly sendgrid-php.

I have 2 options for defining multiple recipients during bulk sending:

  1. As described in example here here, ie using $tos = [new \SendGrid\Mail\To(...), new \SendGrid\Mail\To(...), ...].

  2. With Personalization object (create new personalization for every recipient)

My question is: is it possible to send different attachments to multiple recipients in one bulk request? Or should I do standalone request for every recipient? I'm asking, 'cause I haven't found any example that allows me to do that.

Technical details:

  • sendgrid-php version: 7.8.1
  • php version: 7.4.1
@eshanholtz eshanholtz added the type: non-library issue API issue not solvable via the SDK label Aug 7, 2020
@eshanholtz
Copy link
Contributor

This functionality is not currently supported by the API, and is not a change that can be made in the library. An internal ticket has been filed against the relevant product team (reference ID CL-3265).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: non-library issue API issue not solvable via the SDK
Projects
None yet
Development

No branches or pull requests

2 participants