I am using simplenews for my newsletter and mime mail to send them by mail.
I am trying to use the same CSS for my newsletter mail than my newsletter displayed on the web site.
Is it possible to refere the same css file?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
On admin/config/system/mimemail you can tell mimemail to try and use the site's stylesheet when sending an email. You'll have to make sure that your css selectors apply to the elements of your email message or adjust it appropriately.
Alternatively if you want more control over the styles, do not tell mimemail to use the site's stylesheet but instead create a file named mail.css in your theme. Mimemail will automatically use it when sending emails.
Also make sure your theme is set as "Theme to render the emails" under admin/config/system/mailsystem, otherwise you might get the wrong stylesheets when your emails get sent via cron, for example.