You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

We'd like to inform users before we take a production site over to the test server for maintenance or development work in case the timing is wrong and to prevent loss of content. These modules and configuration allow us to send a standard informative message before the site move and another message when content editing can resume.

Modules

  • Mass Contact - sends an email to all users in selected roles
  • Mail Redirectredirects ALL system generated email to a test mail domain or address

Configuration

  • Setup
    • enable both modules
    • go to /admin/config/development/reroute_email and check off 'Enable rerouting'
    • enter the email address of the person to receive the test emails
    • check off 'Show rerouting description in mail body'
    • click Save
    • go to /admin/config/system/mass_contact/add to add a mass email category
    • Category: Web Site Migration Warning
    • check off all the roles under 'User roles to include'
    • set Selected to Yes so this is the default message category
    • click Save
    • go to /admin/config/system/mass_contact/settings
    • select Yes under 'Allow users to opt-out of mass email messages'
    • check off 'Archive messages by saving a copy as a node'
    • click Save configuration
    • go to Message Header at /admin/config/system/mass_contact/settings/header
    • check off Include the name for the sender
    • check off Send as BCC (hide recipients) by default
    • check off Include category in subject line
    • click Save configuration
    • go to Message Body at /admin/config/system/mass_contact/settings/body
    • add this for 'Text to be prepended to all messages'

      [current-date:custom:l, F j, Y g:i a e]
      [current-user:name] sent you this group email since you have and account on [site:url] ( [site:name] ) .

    •  add this for 'Text to be appended to all messages'

      You may opt out of these group emails. Log in here [site:url]user and click Edit, then find Mass Contact Settings.

    • click Save configuration
  • To compose a message go here /mass_contact and fill out the form
    • messages will be saved as nodes of type 'Mass contact message', visible here /admin/content
  • Testing Mode
  • Production Mode

Message

  • No labels