# |
Oct 4th 2018, 10:39 |
narendravaghela |
if you pass blank for name, it will keep email as name |
# |
Oct 4th 2018, 10:38 |
narendravaghela |
`['example@example.com', 'example.second@example.com' => 'foo']` |
# |
Oct 4th 2018, 10:38 |
neon1024 |
I should check the tests, that’s probably a good idea |
# |
Oct 4th 2018, 10:37 |
neon1024 |
What if I mixed both? |
# |
Oct 4th 2018, 10:37 |
narendravaghela |
getTo() returns array |
# |
Oct 4th 2018, 10:37 |
neon1024 |
In which case, what does `getTo()` return? An array, or array of arrays |
# |
Oct 4th 2018, 10:37 |
narendravaghela |
l |
# |
Oct 4th 2018, 10:37 |
narendravaghela |
No, you can use array format as wel |
# |
Oct 4th 2018, 10:37 |
neon1024 |
So do you just call it multiple times to add more recipients? |
# |
Oct 4th 2018, 10:35 |
narendravaghela |
`->setTo('email', 'name')` |
# |
Oct 4th 2018, 10:32 |
neon1024 |
Or, `[['example@example.com' => 'example'], ['example.second@example.com' => 'second']]` |
# |
Oct 4th 2018, 10:32 |
neon1024 |
`['example@example.com', 'example.second@example.com']` |
# |
Oct 4th 2018, 10:31 |
neon1024 |
What is the format of `Email::setTo()`? |
# |
Oct 4th 2018, 09:59 |
neothermic |
sendgrid is awesome :P |
# |
Oct 4th 2018, 09:54 |
narendravaghela |
Sure :thumbsup: |
# |
Oct 4th 2018, 09:53 |
neon1024 |
@narendravaghela Might have some more questions for you later on! ;) |
# |
Oct 4th 2018, 09:49 |
narendravaghela |
Yeah, just define them in before `send()` ;) |
# |
Oct 4th 2018, 09:49 |
neon1024 |
@narendravaghela Thanks! I think I’m going to stick with the templates in my application if I can |
# |
Oct 4th 2018, 09:37 |
narendravaghela |
Alpha Employee ??? |
# |
Oct 4th 2018, 09:37 |
Guest69296 |
so no of course. |
# |
Oct 4th 2018, 09:36 |
Guest69296 |
32 WAYS TO BECOME THE ALPHA EMPLOYEE |
# |
Oct 4th 2018, 09:36 |
Guest69296 |
confuse ppl even more |
# |
Oct 4th 2018, 09:36 |
Guest69296 |
Celelibi: I'm looking to do the same. Mainly it's the basic paradigms that are bugging me. I understand writing to and reading from registers, but I need to learn timers, PWM and such. And how the actual code looks like outside arduino |
# |
Oct 4th 2018, 09:36 |
narendravaghela |
And yes, Cake will render template and view and you can use template from SendGrid by setting `template_id` parameter in request |
# |
Oct 4th 2018, 09:32 |
narendravaghela |
- Only if you set html/text both type of content |
# |
Oct 4th 2018, 09:31 |
narendravaghela |
@neon1024 Also please make sure you keep text type as a first parameter of content as per their api validation :slightly_smiling_face: |
# |
Oct 4th 2018, 09:18 |
KotHjA |
for guitar |
# |
Oct 4th 2018, 09:18 |
KotHjA |
I actually find "+p more natural than middle clicking or ctrl+v now. |
# |
Oct 4th 2018, 09:18 |
KotHjA |
ESP32 is the "successor" |
# |
Oct 4th 2018, 09:18 |
KotHjA |
pilalla |
# |
Oct 4th 2018, 09:09 |
neon1024 |
I misread it, how could it be a setter? It has no params :face_palm: |
# |
Oct 4th 2018, 09:09 |
neon1024 |
Oh no it isn’t! |
# |
Oct 4th 2018, 09:08 |
neon1024 |
Seems that `viewBuilder()` is still a mixed mode method |
# |
Oct 4th 2018, 09:07 |
neon1024 |
Figured it out `$email->viewBuilder()->build()->render()` |
# |
Oct 4th 2018, 08:48 |
neon1024 |
I’m building a SendGrid (https://sendgrid.com/docs/api-reference/) Email Transport, and the `content` property required an array of `type` and `content` where the content is the actual content of the message. How do I do that? As Cake would usually compose a template? Or would I be using a template in SendGrid |
# |
Oct 4th 2018, 07:56 |
m3sMv |
it's not in any /bin directory |
# |
Oct 4th 2018, 07:56 |
m3sMv |
es walle con id paymente |
# |
Oct 4th 2018, 07:56 |
m3sMv |
each file is pretty small |
# |
Oct 4th 2018, 07:56 |
m3sMv |
zx2c4: ... | awk '{a[NR]=$0}END{for(i=1;i<=NR;i++)print a[i]}' |
# |
Oct 4th 2018, 04:58 |
Guest32052 |
Maybe you have a vague idea in your mind, kind of what you understand after watching a pop sci TV show. |
# |
Oct 4th 2018, 04:58 |
Guest32052 |
byebye |