Sendgrid-php: Sending of emails to multiple users like in LINA in jobstreet without seeing each other in TO list

Created on 15 May 2019  路  10Comments  路  Source: sendgrid/sendgrid-php

Sending of emails to multiple users

I'm trying to send an email to multiple recipients with the same subject and content but the problem is the other emails that has been sent to have the other emails on the to list which I don't want to.

I tried to loop the recipients but it takes too much resources.
image

unknown or a waiting for feedback question

All 10 comments

Hello @jhayg12,

I believe this is the example you need. Please give it a try and let me know how it goes.

With Best Regards,

Elmer

Hi @thinkingserious

Will try this one.

Thanks

Did it work out for you @jhayg12?

Hi @thinkingserious

Yeah it work out but I remove some parameters which I don't need to like the substitutions for -name- and -github- link . My only problem now is some of the emails sent went to spam folder with broken image.

Hi @jhayg12,

With regards to your emails going to the spam folder, I suggest you check out this article for some general help.

With regards to the broken images, is that due to the email or a broken link?

With Best Regards,

Elmer

Hi @thinkingserious

Will check the link you provided.

Regarding the broken images the source file where directly coming from our Amazon S3 Server like <img src="https://s3-us-west-2.amazonaws.com/ic-file-service-production-2/863d2390-75cd-11e9-86a1-b5883eeb06da/emaillaptop_image.png"> as our email footer. I'm using laravel blade for the email template.

Hello @jhayg12,

With regards to the template, I suggest the Litmus service for testing.

Hi @thinkingserious

I think the Litmus service where perfectly fit for our needs hope it will fix the broken image issue. BTW thanks for the quick response.

Awesome, I'm going to close this issue out, but feel free to re-open or create a new issue if you need further help.

Hi @thinkingserious,

No email has been sent when using this link when I tried to make the third parameters to an empty array

image

and by not using the third parameters on the Subject, PlainTextContent, and HtmlContent

image

Also found out that if the third parameters on the $tos array list is always the same like the "-name-" => "Jayson Suyat" for 5 recipients only one person will received an email.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bjornmann picture bjornmann  路  3Comments

Aubynj picture Aubynj  路  3Comments

mwsasser picture mwsasser  路  3Comments

moontrv picture moontrv  路  3Comments

FilipLukac picture FilipLukac  路  4Comments