I
I
Igor2017-06-24 19:29:21
Drupal
Igor, 2017-06-24 19:29:21

How to setup css for writing in DRUPAL8?

I am using SwiftMailer and mailsystem modules to send emails programmatically in HTML format in DRUPAL8.
How do I style an email and pass css to the email?
For example, I send a blabla, but I receive the following in a letter: blabla.
The NotificationText itself is described in the css of the site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
afi13, 2017-06-26
@afi13

It's not entirely clear what your problem is. But I think it will be useful for you to read more about the layout of letters in general https://habrahabr.ru/post/252279/. Because CSS styles in emails are written inline.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question