Provides a simple module to allow administrators to email views.
Currently supports sending emails via a drush command, like so:
drush --user=1 mailaview --view=weekly_summary --display=master --to=admin@example.com --subject="Weekly sales report"
You can preview the markup that generated in the email body using the testing URL:
http://example.com/mailaview/yourviewname/yourdisplayname
. This accurately uses the HTMLMailSystem class to render the email body as it would go out, including any postfiltering.
If you want the email to look a bit prettier, you can change the email template used for mailaview as you would any other module that uses the htmlmail module, by creating a htmlmail--mailaview.tpl.php
template in your theme folder. For a relatively simple template which renders well in most clients, you can use this example template and the emogrify module.
Project information
- 29 sites report using this module
- Created by aidanlis on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 24 May 2013 at 12:59 UTC