Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Installing the Newsletter Module

Requirements

  • EPiServer CMS 6
  • EPiServer Deployment Center
  • SQL Server 2005 or 2008

Installation

  1. EPiServer Delpoyment Center
  2. Select tab All Scripts
  3. Select folder version 6.0.530.0
  4. Select Install a Module from a Compressed File
  5. Click Run
  6. Point it to the Newsletter_2.2.4104.epimodule file in Step 1
  7. Click Next
  8. Select the site to install the module to
  9. Click Next
  10. Verify the settings
  11. Click Install(EPiServer CMS Installation Manager will copy files and update web.config)
  12. Files are now copied, pagetypes imported (you will also get three new page types) and web.config is updated.
    1. Run the Newsletter_Install_SqlScript_2.2.3329.sql in SQL Server Query Editor or SQL Server Management Studio against your EPiServer database (do not create a separate database as we're reusing the same connection string)
  13. Inspect your <system.net><mailSettings><smtp> settings in web.config. You cannot use the IIS Pick Up Directory setting. Add a network, host and and optionally port, username and password to a local or external SMTP server.
  14. You need to purchase a license of the aspNetEmail component from Advanced Intellect. Copy this to the <siteroot>\bvn\sendmail\license\ folder. You can download an evaluation license from http://www.advancedintellect.com/download.aspx.
  15. An EPiServer scheduled task is responsible for sending the emails. You need to enable the Send Newsletter Task scheduled task in Admin mode. Unless you have changed the email batch size, set the job to run every minute.

Getting Started

The installation includes three page types and some example pages to see the module in action.

A newsletter is a ordinary page on your site, based on the Newsletter page type. When you create pages of this type, you will get a new edit panel tab, allowing you to add recipients and send the content of page as an email.

If you want users to be able to subscribe to newsletters you need to create one or more public Recipient Lists (a list of recipients that you'll later use for sending newsletters to.) These lists will show on the subscribe and unsubscribe pages.

Configuration

See the online documentation on EPiCode for more information about configuring the Newsletter module.