-
Notifications
You must be signed in to change notification settings - Fork 94
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
Documentation is very poor, bis! #70
Comments
As reference for further investigation, here is something useful: https://github.com/sendgrid/sendgrid-php |
Sendgrid PHP API quality was also low some times ago, it's better now. But +1 for the doc. For example for the
It's not real code as SendSmtpEmail is created without argument. Such a code leads to an error 400 :
I had to figure out how to pass the to parameter as the documentation is no correct. In fact "Models" sometimes seem not to have to be used ! 🤔 |
Hi @COil, How did you pass the parameters (i'm fighting with json types that are refused by Sendinblue). My current code : It doesn't work. Sendinblue log write : I'm stuck with it and i would love a little help. Btw I agree with the fact that documentation is very poor... Thank you :-) |
Don't json encode the values.
|
Thank you very much ! Unfortunately I dont succeed in using my params in my template even without json_encoding. I'm trying to reach the tech support |
AMEN.
DO NOT use % % in templates for parameters. Note to sendinblue : I had to pass through hell just for that, finally finding the solution thanks to retrieving html templates with conditions on parameters and reading this : https://help.sendinblue.com/hc/fr/articles/360000591660 |
Hi @vcopleutre! Your comment is a life-saver! Did you maybe find out how to use |
Hi, You're welcome ! For your second question, If I understand well, you want to use "contact" datas without creating a contact. I don't think it's possible unless passing the parameters like you said before params.FIRSTNAME. This is the way you're looking for since you want to get the firstname directly from your database. Also for your information, I think that a contact may be automatically created by Sendinblue when you send an email but I don't know how does Sendinblue get the firstname and lastname in the automatic process. |
I went with the solution with Another important thing: you cannot use hyphens '-' in the variable names. So For those working in Laravel with Sendinblue, I have extended the https://github.com/agence-webup/laravel-sendinblue library for using the Sendinblue templates and transactional parameters (agence-webup/laravel-sendinblue#43). |
Hi, |
Dear maintainers,
What the hell? The PHP library is both poorly designed and poorly documented.
PS: this is a product we are paying for. As of 2019 a SDK is the bare minimum you could provide. FYI here is the pricing page of SendinBlue : https://account.sendinblue.com/pricing/
The text was updated successfully, but these errors were encountered: