Path

7x / documentation / extensions / ez publish extensions / cjw newsletter / configuring cjw_newsletter.ini


Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Configuring cjw_newsletter.ini

The default CJW Newsletter configuration settings are defined in this file:

/extension/cjw_newsletter/settings/cjw_newsletter.ini

It is highly recommended to create an override configuration file, for example here:

/settings/override/cjw_newsletter.ini.append.php

or preferred:

/extension/site_example/settings/override/cjw_newsletter.ini.append.php

NewsletterSettings

In the above mentioned override file ("cjw_newsletter.ini.append.php") the following settings should be included and configured according to the needs of your site:

[NewsletterSettings]
# Administration interface container NodeID
RootFolderNodeId=66
 
# Please put here the path to your PHP Cli installation. It is needed for generating the
preview and the views in the send out process
PhpCli=php
 
# array with all skin names located in design folder
# => design:newsletter/skin/ $skin_name
# You can connect the layout with your newsletter list in the administration interface.
AvailableSkinArray[]
AvailableSkinArray[]=default
AvailableSkinArray[]=ez4you_extended
AvailableSkinArray[]=ez4you_simple

NewsletterMailSettings

It is possible to send your Newsletters with sendmail or SMTP. The file protocol is provided for development reasons only.
Keep in mind that there are three different types of send out mails:
    * The subscribe or information mails
    * the preview of the CJW Newsletter edition mails
    * the CJW Newsletter edition itself.
When you choose SMTP, the SMTP settings in the above mentioned override file (cjw_newsletter.ini.append.php) should be configured as follows:

[NewsletterMailSettings]
# smtp, sendmail, file
# cjw Newsletter edition
TransportMethodCronjob=sendmail
 
# test cjw Newsletter edition
TransportMethodPreview=sendmail
 
# subscribe, infomail
TransportMethodDirectly=sendmail
 
# Configuration for SMTP
SmtpTransportServer=
SmtpTransportPort=25
SmtpTransportUser=
SmtpTransportPassword=
 
# settings for mail send out by subscribe, unsubscribe
EmailSender=newsletter@localhost.localdomain
EmailSenderName=Localhost Newsletter
 
# string the subject of all mails is starting with
EmailSubjectPrefix=[Newsletter Localhost]

Geir Arne Waaler (08/11/2010 3:26 pm)

Geir Arne Waaler (22/11/2010 12:36 pm)


Comments

There are no comments.