b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Developer Reference
  3. Email Skins/Themes
  4. Introduction to email skins

Introduction to email skins

You will find email skins in the /skins/email folder.

For each occasion where b2evolution can send out an email there are 2 different templates: one is the HTML version and the other is the plain text version. In theory they could contain completely different text but is is recommended to keep them in sync.

For example, when a user needs to activate their account, b2evolution will send out an email by using the templates account_activate.html.php and account_activate.txt.php. Unless the recipient user has specified so in their preferences, b2evolution will send an email containing both the HTML and the plain text version. This is call a multipart MIME message. The email client of the recipient will automatically display the HTML version if it is able to and fall back to the text version if it can’t display the HTML.

Each template will typically include a header and a footer by means of the files:

  • _email_header.inc.html.php
  • _email_header.inc.txt.php
  • _email_footer.inc.html.php
  • _email_footer.inc.txt.php

It is possible to customize any or all templates by duplicating it into the folder /skins_email/custom/ and modifying the file there. (Files in the custom folder will remain untouched in case of a b2evolution upgrade.)

Created by fplanque • Last edit by fplanque on 2020-06-09 00:25 • •

1 comment

Comment from: poorboy2

Need mention of the _email_style.css and _email_style.php files.

2020-02-07 @ 17:08

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
    • Website Skins/Themes
    • Email Skins/Themes
      • Introduction to email skins
      • Email skin templates
      • Notification Emails
    • b2evolution Files
    • Website Integration
    • Plugins
    • Debugging
    • Technical Reference
    • Hacks
    • Credits
    • Development
    • How to... (Customize)
    • Scheduled Tasks Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Photo gallery software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque