Symfony Mailer: How to Create Emails | Templated Email | Mail Catcher - [Symfony Workshop 2021]

Symfony Mailer: How to Create Emails | Templated Email | Mail Catcher - [Symfony Workshop 2021]

Gary Clarke

3 года назад

12,755 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Thijs de waard
Thijs de waard - 16.05.2022 20:56

Hi Gary, thank you for the content. Would these settings work on a production env as well? Or do i have to change some settings if i'm going on a live server?

Ответить
Apolitical Incorrectness
Apolitical Incorrectness - 15.05.2022 21:27

does this work for symfony 6?

Ответить
vhur
vhur - 03.04.2022 07:24

Gary To many known a random guy found on yt but to me he taught me how to use smfony i love Gary Thankl u Gary

Ответить
ANAS
ANAS - 11.02.2021 13:13

what about .env file? what is the value of MAILER_DSN?

Ответить
Trixxro
Trixxro - 26.01.2021 14:06

Awesome tutorial! What editor are you using?

Ответить
Paul Rijke
Paul Rijke - 22.01.2021 14:41

Gary, if I want something to be templated in the database to assist for multiple languages, how would you approach that?
i.e. I want to have this in a text field in my MailTemplate enity, something like:
<p>Dear {{user.Fullname }}</p>
<p>Here's your invoice number {{invoice.number}}</p>

and render it using the TemplatedEmail() function...

Ответить
Cy
Cy - 20.01.2021 02:58

Do you happen to know how to make `Email` properly build the message with some attachments inlined via `cid` in HTML content (in `related` part of the body) and some as actual attachments (in `mixed` part)? I can't seem to find an example other than working with raw `Message` object and everything I tried so far builds a message with either attached files or inline images but not both.

Ответить
Serge Maminiaina
Serge Maminiaina - 25.11.2020 11:33

Thank you bro ^-^

Ответить
Emlyn Bryan
Emlyn Bryan - 29.10.2020 21:42

You've got a good knack for delving deep enough into periphery topics that crop up to explain them, without either glossing over them or getting completely sidetracked. Love your work so far mate, has helped give me the nudge I needed to try and learn docker.

Easy to follow, and you don't skip over things. Keep it up mate, will likely tune in for everything you release.

Ответить
ramo012032
ramo012032 - 29.10.2020 02:21

Very nice tuto, great content, keep up the great work 💪💪💪

Ответить