classAd 4.0 - user manual

E-mail configuration

Starting with version 2.0 of ClassAd, e-mail texts are stored in a subdirectory named /emailtemplate. There are six different kinds of templates:

The files have to be named as follows:

The language code is one of the defined languages (see config.inc.php for details). It can be .GER for the German version or .ENG for the English version. Please remember to write them in uppercase letters, because UNIX-based OSes will work case-sensitively on file names. New language packs will carry a meaningful abbreviation. See Customizing for further instructions.

You can edit the mail texts with a simple mail editor (i.e. notepad on Windows systems) and the following variables can be inserted into the text:

Variablename Expression
{ArticleTitle} Ad´s title
{ArticleText} Ad´s text
{ArticleName} Ad writer´s name
{ArticleEmail} Ad writer´s e-mail
{ArticleZip} Ad writer´s zip code
{ArticleCity} Ad writer´s city
{ArticleCountry} Ad writer´s country
{ArticleTel} Ad writer´s telephone
{ArticleFax} Ad writer´s telefax
{ArticleLink} Link to article view (complete URL)
{ArticleTnLink} Link to article´s thumbnail (complete URL / empty string if no picture attached)
{ArticlePicLink} Link to article´s picture (complete URL / empty string if no picture attached)
{AdTeller}¹ Name of ad teller
{AdTellerMail}¹ E-mail of ad teller
{AdTellersMessage}¹ Message of ad teller
{ContName}² Name of ad reader
{ContTel}² Telephone number of ad reader
{ContFax}² Telefax number of ad reader
{ContEmail}² E-mail address of ad reader (Format: xy@abc.de)
{ContZip}² Zip code of ad reader
{ContCity}² City of ad reader
{ContCountry}² Country of ad reader
{ContText} Message of ad reader
{DomainName} Domain name (Format: abc.de)
{DomainLink} Domain link (Format: www.abc.de)
{IndexLink} Link to category overview
(Format: http://www.xyz.de/classifieds/index.htm)
{NewAdLink} Link to new ad form
(Format: http://www.xyz.de/classifieds/newad.htm)
{NewPassword}º New generated password
{ReleaseLink}³ Link to release a non-directly submitted ad
{UserName}º User name
{UserTitle}º User title
{UserRealname}º User real name
{UserAddress1}º User address line 1
{UserAddress2}º User address line 2
{UserZip}º User zip code
{UserCountry}º User country
{UserEmail}º User e-mail address
º = only available in password mails
¹ = only available in tell-a-friend mails; ² = only available in contact mails;³ = only available in release ads