Mailing setup

We utilize a custom mailing system for our themes, as it brings much more flexibility and features as the default wordpress mailing system. It makes it possible to send dual mails (html / txt), and lets you configure the submission process to be more secure by using mail, sendmail or smtp. You will find the Mailing System in the Theme Configuration Panel. Go to Basic -> Mail to find the mail configuration.

mailconfigurationpanel

The most important options are the first two. Make sure these are filled out before you open your theme to the public.

  • Send From (name)
    This option is, as the name says, the name that the user will see in his mail programm
  • Send From (email)
    This is very important. Enter the email you want to send the mails from. If you do not set this option, the mailing settings won’t work!

The following options are for advanced users. You can leave the mail() setting, if you do not know how to handle them.

 

Managing the Email Templates

The Email templates are embeded in the Theme Configuration Panel. Go there and you will find all the options in the Mail Templates section. You will find there three option categories:

  1. general
    You can upload a mail logo here. It will be used in the html version of all the mails you send (except for mailchimp, of course.). Also, you can change some general placeholder values, such as the %TITLE%, %SENDERINFORMATION% and %REMOVALTEXT%. These will also be used in all templates.
  2. confirmation mail
    These settings are for the automatically sent confirmation mail, when somebody is signing up for notifications of a given author. You can change the Subject of the notification mail here. Also, you can change the text behind the %BODY% placeholder, that will be used in the templates. Please note you can use %AUTHORNAME% in the subject, and %AUTHORNAME% and %LINK% in the body part. %LINK% will be replaced with the automatically generated confirmation link.
    There are two template variations. One for the html mail – and one for the txt mail (for mobile phones and older email clients / web based clients). The easiest way of modifying the html template is copying the code in your favorite html editor, make the changes and paste it back in the textarea.
    Placeholders you can use here:
    %TITLE%
    %BODY%
    %SENDERINFORMATION%
    %REMOVALTEXT%
    %REOMVALLINK%
  3. notification mail
    Same goes for the notification mail. This one is sent when you manually activate it in the Email Panel. You have a few more placeholders, but the way of editing is the same as for the confirmation mail.Placeholders you can use here:
    %TITLE%
    %ARTICLE_TITLE%
    %ARTICLE_CONTENT%
    %SENDERINFORMATION%
    %REMOVALTEXT%
    %REOMVALLINK%

Even though we provide a large enough text area for quick modifications of the templates, we do recommend copy pasting them in an html editor with syntax highlighting. HTML emails are not as robust as HTML websites, as most email programms have very basic and overly old HTML parsers. Also be warned that not all standard html syntax is comprehensive to every email client. Do some testing if you want to massively change the layout.

 

Rate This Article

(16 out of 87 people found this article helpful)