You are here

README.txt in Simplenews 6.2

DESCRIPTION
-----------

Simplenews publishes and sends newsletters to lists of subscribers. Both
anonymous and authenticated users can opt-in to different mailing lists.
HTML email can be sent by adding Mime mail module.


REQUIREMENTS
------------

 * Taxonomy module
 * For large mailing lists, cron is required.
 * HTML-format newsletters and/or newsletters with file attachments require the
   Mime Mail module or HTML Mail module.

INSTALLATION
------------

 1. CREATE DIRECTORY

    Create a new directory "simplenews" in the sites/all/modules directory and
    place the entire contents of this simplenews folder in it.

 2. ENABLE THE MODULE

    Enable the module on the Modules admin page:
      Administer > Site building > Modules

 3. ACCESS PERMISSION

    Grant the access at the Access control page:
      Administer > User management > Access control.

 4. CONFIGURE SIMPLENEWS

    Configure Simplenews on the Simplenews admin pages:
      Administer > Site configuration > Simplenews.

    Select the content type Simplenews uses for newsletters.
    Select the taxonomy term Simplenews uses to manage newsletter series.

 5. ENABLE SIMPLENEWS BLOCKS

    With the Simplenews block users can subscribe to a newsletter. If you
    select the multi-signup block, you can subscribe to several newsletters at
    once. Otherwise, for each newsletter one block is available.
    Enable the Simplenews blocks on the Administer blocks page:
      Administer > Site building > Blocks.

 6. CONFIGURE SIMPLENEWS BLOCKS

    Configure the Simplenews blocks on the Block configuration page. You reach
    this page from Block admin page (Administer > Site building > Blocks).
    Click the 'Configure' link of the appropriate simplenews block.

    Permission "subscribe to newsletters" is required to view the subscription
    form in the simplenews block or to view the link to the subscription form.

 7. SIMPLENEWS BLOCK THEMING

    More control over the content of simplenews blocks can be achieved using
    the block theming. Theme your simplenews block by copying
    simplenews-block.tpl.php into your theme directory and edit the content.
    The file is self documented listing all available variables.

    The newsletter block can be themed generally and per newsletter:
      simplenews-block.tpl.php (for all newsletters)
      simplenews-block.tpl--[tid].php (for newsletter series tid)

 8. MULTILINGUAL SUPPORT

    Simplenews supports multilingual newsletters for node translation,
    multilingual taxonomy and url path prefixes.

    When translated newsletter issues are available subscribers receive the
    newsletter in their preferred language (according to account setting).
    Translation module is required for newsletter translation.

    Multilingual taxonomy of 'Localized terms' and 'per language terms' is
    supported. 'per language vocabulary' is not supported.
    I18n-taxonomy module is required.
    Use 'Localized terms' for a multilingual newsletter. Taxonomy terms are
    translated and translated newsletters are each tagged with the same
    (translated) term. Subscribers receive the newsletter in the preferred
    language set in their account settings or in the site default language.
    Use 'per language terms' for mailing lists each with a different language.
    Newsletters of different language each have their own tag and own list of
    subscribers.

    To use multilingual confirmation you must use the String translation module.
    Enter confirmation email title and body in ENGLISH at:
      Administer > Site configuration > Simplenews > Subscription.
    If required refresh the Simplenews text group at:
      Administer > Site building > Translate interface > Refresh.
    Enter translations of title and body text at:
      Administer > Site building > Translate interface > Search.

    Path prefixes are added to footer message according to the subscribers
    preferred language.

    The preferred language of anonymous users is set based on the interface
    language of the page they visit for subscription. Anonymous users can NOT
    change their preferred language. Users with an account on the site will be
    subscribed with the preferred language as set in their account settings.

9.  NEWSLETTER THEMING

    You can customize the theming of newsletters. Copy any of the *.tpl.php
    files from the simplenews module directory to your theme directory. Both
    general and by-newsletter theming can be performed.
    Theme newsletter body:
      simplenews-newsletter-body.tpl.php (for all newsletters)
      simplenews-newsletter-body--[tid].tpl.php (for newsletter series tid;
      where [tid] is replaced by the term id of the newsletter taxonomy term.
    Theme newsletter footer:
      simplenews-newsletter-footer.tpl.php (for all newsletters)
      simplenews-newsletter-footer--[tid].tpl.php (for newsletter series tid)
    The files are self documented listing all available variables.

    Using the Display fields settings each field of a simplenews newsletter can
    be displayed or hidden in plain text and/or HTML newsletters. You find
    these settings at:
      admin/content/node-type/my-node-type/display


10. SEND MAILING LISTS

    Cron is required to send large mailing lists. Cron jobs can be triggered
    by Poormanscron or any other cron mechanism such as crontab.
    If you have a medium or large size mailing list (i.e. more than 500
    subscribers) always use cron to send the newsletters.

    To use cron:
     * Check the 'Use cron to send newsletters' checkbox.
     * Set the 'Cron throttle' to the number of newsletters send per cron run.
       Too high values may lead to mail server overload or you may hit hosting
       restrictions. Contact your host.

    Don't use cron:
     * Uncheck the 'Use cron to send newsletters' checkbox.
       All newsletters will be sent immediately when saving the node. If not
       all emails can be sent within the available php execution time, the
       remainder will be sent by cron. Therefore ALWAYS enable cron.

    These settings are found on the Newsletter Settings page under
    'Send mail' options at:
      Administer > Site configuration > Simplenews > Send mail.

 11. (UN)SUBSCRIBE CONFIRMATION

    By default the unsubscribe link will direct the user to a confirmation page.
    Upon confirmation the user is directed to the home page, where a message
    will be displayed. On the Simplenews subscription admin page you can
    specify an alternative destination page.
      Administer > Site configuration > Simplenews > Subscription
    To skip the confirmation page you can add parameters to the subscription URL.
      Example: [simplenews-subscribe-url]/ok
    When an alternative destination page has been defined the extra parameters
    will be added to the destination URL.
      Example: [simplenews-subscribe-url]/ok
      Destination: node/123
      Destination URL: node/123/ok

 12. SINGLE OR DOUBLE OPT-IN AND OPT-OUT

    Every newsletter can be set to be double opt-in/out (default), single
    opt-in/out, or hidden.

    Double: A confirmation email is sent to confirm the (un)subscribe action.
            No confirmation is sent when a user is (un)subscribed by the
            administrator or when the user subscribes when creating an account.
    Single: No confirmation email is sent. (un)subscribe is immediately.
    Hidden: The newsletter is not listed in newsletter lists. Use this for
    mandatory newsletters. Only administrators or modules can add a user to this
    mailing list.

    Note that single opt-in/out or hidden (forced) subscription is in some
    countries forbidden by law.

    SECURITY NOTICE: a newsletter set to be single opt-in or opt-out is
    vulnerable to Cross Site Request Forgeries. Email addresses may be
    (un)subscribed without a notice. Do not use this setting in uncontrolled
    environments (like the internet!).

 13. TIPS

    A subscription page is available at: /newsletter/subscriptions

    If your unsubscribe URL looks like:
      http://newsletter/confirm/remove/8acd182182615t632
    instead of:
      http://www.mysite.org/newsletter/confirm/remove/8acd182182615t632
    You should change the base URL in the settings.php file from
      #  $base_url = 'http://www.example.com';  // NO trailing slash!
    to
      $base_url = 'http://www.mysite.org';  // NO trailing slash!

DOCUMENTATION
-------------
More help can be found on the help pages: example.com/admin/help/simplenews
and in the drupal.org handbook: http://drupal.org/node/197057

  1. Roadmap

    If you switch to 6.x-2.x make sure you add token module. Drupal 6 has
    limitations in its upgrade implementation and omits the check of this newly
    added dependency. An alpha-release for 6.x-2.x has been created. Features
    in 6.x are considered frozen.

  2. Known problems

    In D6 using Poormanscron can cause simplenews to send multiple copies of the
    same email to the same recipient. Therefore I strongly advise against using
    Poormanscron.. Use cron(tab) and cron.php instead.
    See https://www.drupal.org/node/361071.

RELATED MODULES
---------------

  1. Actively maintained modules

    The following modules work with Simplenews:
    Simplenews Linkchecker (D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_linkchecker)
    Webform Simplenews Component (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/webform_simplenews)
    Simplenews Scheduler (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_scheduler)
    Simplenews Roles (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_roles)
    Simplenews Content Selection
    (https://www.drupal.org/project/simplenews_content_selection)
    Simplenews Digest (D6)
    (https://www.drupal.org/project/simplenews_digest)
    Simplenews Analytics (D6)
    (https://www.drupal.org/project/simplenews_analytics)
    Simplenews Statistics (D6 stable)
    (https://www.drupal.org/project/simplenews_statistics)
    Simplenews RealName (D6-1.x, D6-2.x)
    (https://www.drupal.org/project/simplenews_realname)
    Simplenews Bounce D6 (under development)
    (https://www.drupal.org/project/simplenews_bounce)
    Sequenced newsletter (D6-2.x)
    (https://www.drupal.org/project/sequenced_newsletter)

  2. Deprecated related modules (only relevant for 6.x-1.x)

    Simplenews Subscription Manager (abandoned)
    (https://www.drupal.org/project/simplenews_sub_manager)
    Simplenews Template
    (https://www.drupal.org/project/simplenews_template)
    Simplenews Multiple Signup Block
    (https://www.drupal.org/project/simplenews_multisignup)
    Simplenews on register
    (https://www.drupal.org/project/simplenews_register)
    Simplenews Threaded Send
    (https://www.drupal.org/project/simplenews_threaded_send)

File

README.txt
View source
  1. DESCRIPTION
  2. -----------
  3. Simplenews publishes and sends newsletters to lists of subscribers. Both
  4. anonymous and authenticated users can opt-in to different mailing lists.
  5. HTML email can be sent by adding Mime mail module.
  6. REQUIREMENTS
  7. ------------
  8. * Taxonomy module
  9. * For large mailing lists, cron is required.
  10. * HTML-format newsletters and/or newsletters with file attachments require the
  11. Mime Mail module or HTML Mail module.
  12. INSTALLATION
  13. ------------
  14. 1. CREATE DIRECTORY
  15. Create a new directory "simplenews" in the sites/all/modules directory and
  16. place the entire contents of this simplenews folder in it.
  17. 2. ENABLE THE MODULE
  18. Enable the module on the Modules admin page:
  19. Administer > Site building > Modules
  20. 3. ACCESS PERMISSION
  21. Grant the access at the Access control page:
  22. Administer > User management > Access control.
  23. 4. CONFIGURE SIMPLENEWS
  24. Configure Simplenews on the Simplenews admin pages:
  25. Administer > Site configuration > Simplenews.
  26. Select the content type Simplenews uses for newsletters.
  27. Select the taxonomy term Simplenews uses to manage newsletter series.
  28. 5. ENABLE SIMPLENEWS BLOCKS
  29. With the Simplenews block users can subscribe to a newsletter. If you
  30. select the multi-signup block, you can subscribe to several newsletters at
  31. once. Otherwise, for each newsletter one block is available.
  32. Enable the Simplenews blocks on the Administer blocks page:
  33. Administer > Site building > Blocks.
  34. 6. CONFIGURE SIMPLENEWS BLOCKS
  35. Configure the Simplenews blocks on the Block configuration page. You reach
  36. this page from Block admin page (Administer > Site building > Blocks).
  37. Click the 'Configure' link of the appropriate simplenews block.
  38. Permission "subscribe to newsletters" is required to view the subscription
  39. form in the simplenews block or to view the link to the subscription form.
  40. 7. SIMPLENEWS BLOCK THEMING
  41. More control over the content of simplenews blocks can be achieved using
  42. the block theming. Theme your simplenews block by copying
  43. simplenews-block.tpl.php into your theme directory and edit the content.
  44. The file is self documented listing all available variables.
  45. The newsletter block can be themed generally and per newsletter:
  46. simplenews-block.tpl.php (for all newsletters)
  47. simplenews-block.tpl--[tid].php (for newsletter series tid)
  48. 8. MULTILINGUAL SUPPORT
  49. Simplenews supports multilingual newsletters for node translation,
  50. multilingual taxonomy and url path prefixes.
  51. When translated newsletter issues are available subscribers receive the
  52. newsletter in their preferred language (according to account setting).
  53. Translation module is required for newsletter translation.
  54. Multilingual taxonomy of 'Localized terms' and 'per language terms' is
  55. supported. 'per language vocabulary' is not supported.
  56. I18n-taxonomy module is required.
  57. Use 'Localized terms' for a multilingual newsletter. Taxonomy terms are
  58. translated and translated newsletters are each tagged with the same
  59. (translated) term. Subscribers receive the newsletter in the preferred
  60. language set in their account settings or in the site default language.
  61. Use 'per language terms' for mailing lists each with a different language.
  62. Newsletters of different language each have their own tag and own list of
  63. subscribers.
  64. To use multilingual confirmation you must use the String translation module.
  65. Enter confirmation email title and body in ENGLISH at:
  66. Administer > Site configuration > Simplenews > Subscription.
  67. If required refresh the Simplenews text group at:
  68. Administer > Site building > Translate interface > Refresh.
  69. Enter translations of title and body text at:
  70. Administer > Site building > Translate interface > Search.
  71. Path prefixes are added to footer message according to the subscribers
  72. preferred language.
  73. The preferred language of anonymous users is set based on the interface
  74. language of the page they visit for subscription. Anonymous users can NOT
  75. change their preferred language. Users with an account on the site will be
  76. subscribed with the preferred language as set in their account settings.
  77. 9. NEWSLETTER THEMING
  78. You can customize the theming of newsletters. Copy any of the *.tpl.php
  79. files from the simplenews module directory to your theme directory. Both
  80. general and by-newsletter theming can be performed.
  81. Theme newsletter body:
  82. simplenews-newsletter-body.tpl.php (for all newsletters)
  83. simplenews-newsletter-body--[tid].tpl.php (for newsletter series tid;
  84. where [tid] is replaced by the term id of the newsletter taxonomy term.
  85. Theme newsletter footer:
  86. simplenews-newsletter-footer.tpl.php (for all newsletters)
  87. simplenews-newsletter-footer--[tid].tpl.php (for newsletter series tid)
  88. The files are self documented listing all available variables.
  89. Using the Display fields settings each field of a simplenews newsletter can
  90. be displayed or hidden in plain text and/or HTML newsletters. You find
  91. these settings at:
  92. admin/content/node-type/my-node-type/display
  93. 10. SEND MAILING LISTS
  94. Cron is required to send large mailing lists. Cron jobs can be triggered
  95. by Poormanscron or any other cron mechanism such as crontab.
  96. If you have a medium or large size mailing list (i.e. more than 500
  97. subscribers) always use cron to send the newsletters.
  98. To use cron:
  99. * Check the 'Use cron to send newsletters' checkbox.
  100. * Set the 'Cron throttle' to the number of newsletters send per cron run.
  101. Too high values may lead to mail server overload or you may hit hosting
  102. restrictions. Contact your host.
  103. Don't use cron:
  104. * Uncheck the 'Use cron to send newsletters' checkbox.
  105. All newsletters will be sent immediately when saving the node. If not
  106. all emails can be sent within the available php execution time, the
  107. remainder will be sent by cron. Therefore ALWAYS enable cron.
  108. These settings are found on the Newsletter Settings page under
  109. 'Send mail' options at:
  110. Administer > Site configuration > Simplenews > Send mail.
  111. 11. (UN)SUBSCRIBE CONFIRMATION
  112. By default the unsubscribe link will direct the user to a confirmation page.
  113. Upon confirmation the user is directed to the home page, where a message
  114. will be displayed. On the Simplenews subscription admin page you can
  115. specify an alternative destination page.
  116. Administer > Site configuration > Simplenews > Subscription
  117. To skip the confirmation page you can add parameters to the subscription URL.
  118. Example: [simplenews-subscribe-url]/ok
  119. When an alternative destination page has been defined the extra parameters
  120. will be added to the destination URL.
  121. Example: [simplenews-subscribe-url]/ok
  122. Destination: node/123
  123. Destination URL: node/123/ok
  124. 12. SINGLE OR DOUBLE OPT-IN AND OPT-OUT
  125. Every newsletter can be set to be double opt-in/out (default), single
  126. opt-in/out, or hidden.
  127. Double: A confirmation email is sent to confirm the (un)subscribe action.
  128. No confirmation is sent when a user is (un)subscribed by the
  129. administrator or when the user subscribes when creating an account.
  130. Single: No confirmation email is sent. (un)subscribe is immediately.
  131. Hidden: The newsletter is not listed in newsletter lists. Use this for
  132. mandatory newsletters. Only administrators or modules can add a user to this
  133. mailing list.
  134. Note that single opt-in/out or hidden (forced) subscription is in some
  135. countries forbidden by law.
  136. SECURITY NOTICE: a newsletter set to be single opt-in or opt-out is
  137. vulnerable to Cross Site Request Forgeries. Email addresses may be
  138. (un)subscribed without a notice. Do not use this setting in uncontrolled
  139. environments (like the internet!).
  140. 13. TIPS
  141. A subscription page is available at: /newsletter/subscriptions
  142. If your unsubscribe URL looks like:
  143. http://newsletter/confirm/remove/8acd182182615t632
  144. instead of:
  145. http://www.mysite.org/newsletter/confirm/remove/8acd182182615t632
  146. You should change the base URL in the settings.php file from
  147. # $base_url = 'http://www.example.com'; // NO trailing slash!
  148. to
  149. $base_url = 'http://www.mysite.org'; // NO trailing slash!
  150. DOCUMENTATION
  151. -------------
  152. More help can be found on the help pages: example.com/admin/help/simplenews
  153. and in the drupal.org handbook: http://drupal.org/node/197057
  154. 1. Roadmap
  155. If you switch to 6.x-2.x make sure you add token module. Drupal 6 has
  156. limitations in its upgrade implementation and omits the check of this newly
  157. added dependency. An alpha-release for 6.x-2.x has been created. Features
  158. in 6.x are considered frozen.
  159. 2. Known problems
  160. In D6 using Poormanscron can cause simplenews to send multiple copies of the
  161. same email to the same recipient. Therefore I strongly advise against using
  162. Poormanscron.. Use cron(tab) and cron.php instead.
  163. See https://www.drupal.org/node/361071.
  164. RELATED MODULES
  165. ---------------
  166. 1. Actively maintained modules
  167. The following modules work with Simplenews:
  168. Simplenews Linkchecker (D6-2.x, D7)
  169. (https://www.drupal.org/project/simplenews_linkchecker)
  170. Webform Simplenews Component (D6-1.x, D6-2.x, D7)
  171. (https://www.drupal.org/project/webform_simplenews)
  172. Simplenews Scheduler (D6-1.x, D6-2.x, D7)
  173. (https://www.drupal.org/project/simplenews_scheduler)
  174. Simplenews Roles (D6-1.x, D6-2.x, D7)
  175. (https://www.drupal.org/project/simplenews_roles)
  176. Simplenews Content Selection
  177. (https://www.drupal.org/project/simplenews_content_selection)
  178. Simplenews Digest (D6)
  179. (https://www.drupal.org/project/simplenews_digest)
  180. Simplenews Analytics (D6)
  181. (https://www.drupal.org/project/simplenews_analytics)
  182. Simplenews Statistics (D6 stable)
  183. (https://www.drupal.org/project/simplenews_statistics)
  184. Simplenews RealName (D6-1.x, D6-2.x)
  185. (https://www.drupal.org/project/simplenews_realname)
  186. Simplenews Bounce D6 (under development)
  187. (https://www.drupal.org/project/simplenews_bounce)
  188. Sequenced newsletter (D6-2.x)
  189. (https://www.drupal.org/project/sequenced_newsletter)
  190. 2. Deprecated related modules (only relevant for 6.x-1.x)
  191. Simplenews Subscription Manager (abandoned)
  192. (https://www.drupal.org/project/simplenews_sub_manager)
  193. Simplenews Template
  194. (https://www.drupal.org/project/simplenews_template)
  195. Simplenews Multiple Signup Block
  196. (https://www.drupal.org/project/simplenews_multisignup)
  197. Simplenews on register
  198. (https://www.drupal.org/project/simplenews_register)
  199. Simplenews Threaded Send
  200. (https://www.drupal.org/project/simplenews_threaded_send)