<we:addDelNewsletterEmail type="csv">
Since version: 2.2.0.0 | Requires endtag: no | Required modules: newsletter
Description
Attributes
type
Default value: cvs | since version: 5.0.0.0 | required: yes
Allowed values:
cvs
path
Default value: newsletter.txt | since version: 2.2.0.0 | required: yes
Set the value of this attribute to the path of the newsletter address list as a comma-seperated-value. If you specify the value without using a leading "/" or drive name (in the case of Windows) webEdition will search for the file relative to the document root of the web server. If this attribute is not set, the default value of "newsletter.txt" will be used.
doubleoptin
Default value: false | since version: 2.2.0.0 | required: no
The webEdition Newsletter Module offers the user a double opt-in feature. This means that after subscribing, the user receives an email with a link to a page where the user may confirm the membership. Set this attribute to "true" to activate this feature. When activated the attributes "id", "subject" and "mailid" are mandatory.
Allowed values:
truefalse
expiredoubleoptin
Default value: - | since version: 2.2.0.0 | required: no
To define a timeout for confirming membership, set this attribute to a number. The number is the maximum number of minutes which may elapse between subscription and confirmation of subscription.
mailid
Default value: - | since version: 2.2.0.0 | required: no
This attribute sets the ID of the document used as confirmation email. The email will be sent to those using double opt-in. The attribute will be ignored if the attribute "doubleoptin" is set to "false".
subject
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute for the text that should appear as subject in the confirmation mail for double opt-in. This attribute will be ignored if the attribute "doubleoptin" is set to "false".
from
Default value: - | since version: 2.2.0.0 | required: no
The value of this attribute represents the sender email address of the confirmation email for double opt-in. This attribute will be ignored if the attribute "doubleoptin" is set to "false".
id
Default value: - | since version: 2.2.0.0 | required: no
The value of this attribute is the ID of the document whose URL will be included in the double opt in mail. The template of the identified document must contain a <we:addDelNewsletterEmail/> tag. This attribute will be ignored, if the attribute "doubleoptin" is set to "false".
Syntax
<we:addDelNewsletterEmail type="CVS" path="attribute" [doubleoptin="true|false"] [expiredoubleoptin="attribute"] [mailid="attribute"] [subject="attribute"] [from="attribute"] [id="attribute"] />
Examples
Example #1
<we:addDelNewsletterEmail type="csv" path="we_demo/newsletter/sport.txt,we_demo/newsletter/politics.txt,we_demo/newsletter/computer.txt" doubleoptin="false" mailid="100" subject="New Newsletter subscriber" from="newsletter@domain.de"/>