Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Add params template to mailjet-apiv3-php-simple #130

Closed
lynxfg opened this issue Oct 19, 2016 · 1 comment
Closed

Add params template to mailjet-apiv3-php-simple #130

lynxfg opened this issue Oct 19, 2016 · 1 comment

Comments

@lynxfg
Copy link

lynxfg commented Oct 19, 2016

Hello everybody,

how can i add a template paramaters to my fonction sendEmail?

Thanks,

@Zhivko-Mailjet
Copy link

Hi @lynxfg

Template parameters can not be added in the function "sendEmail". However, you can add template parameters using the function "send". Please note that it requires JSON payload. See here:
https://github.com/mailjet/mailjet-apiv3-php-simple/blob/master/doc/_send-api.md#sending-a-basic-email

Also, please note that the wrapper you use mailjet-apiv3-php-simple is considered deprecated and is on maintenance only. We strongly advise you to consider implementing our new PHP wrapper.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants