backdrop-contrib / simplenews

BackdropCMS port of the Simplenews module for Drupal 7
GNU General Public License v2.0
1 stars 3 forks source link

How to send HTML mails? #11

Closed djzwerg closed 1 year ago

djzwerg commented 1 year ago

I've tried using SMTP authentication, MIME mail and PHPmailer module but sinplenews mails won't be formatted as HTML. In the same site there are Webform mails which are sent as formatted HTML mails.

alanmels commented 1 year ago

Have you changed Format on admin/config/services/simplenews/settings from Plain to HTML?

djzwerg commented 1 year ago

@alanmels yes

alanmels commented 1 year ago

I think you are missing the Mail System module. Please install the https://github.com/backdrop-contrib/mailsystem module, go to /admin/config/system/mailsystem and make sure Mime Mail is selected for Site-wide default mail system. Let me know if it worked or not.

djzwerg commented 1 year ago

I've done this before opening this issue. MIME Mail is there and selected as described.

alanmels commented 1 year ago

Pardon, the link was supposed to be for the mailsystem module.

djzwerg commented 1 year ago

I've installed the mail system, too. But that doesn't solve it 😕

alanmels commented 1 year ago

I've just tested this on a fresh Backdrop site with Mail System, Mime Mail and Simplenews and it is sending messages in HTML format as expected, so you must be missing something.

Can you go to admin/config/services/simplenews and make sure your individual newsletters are set to HTML?

Not general setting on /admin/config/services/simplenews/settings, but setting for an individual newsletter such as /admin/config/services/simplenews/categories/1/edit.

djzwerg commented 1 year ago

You're right! That was what I've missed. Thanks a lot!