You are here

README.txt in Mailhandler 7

Same filename and directory in other branches
  1. 5 README.txt
  2. 6.2 README.txt
  3. 6 README.txt
  4. 7.2 README.txt
Readme
------

The Mailhandler module allows registered users to create or edit nodes and comments via email. Authentication
is usually based on the From: email address. Users may post taxonomy terms, teasers, and other node parameters using the Commands capability. 

See the 'more help' page within this module for more info - 'admin/help/mailhandler'.

Requirements
------------

The IMAP dynamic extension must be enabled. On Windows PHP installations, this is as easy as uncommenting 
the line containing "extension=php_imap.dll" in php.ini. For other OS, you may need to recompile PHP
if you don't have this extension already.

Installation
------------

1. Activate this module as usual

2. Add a mailbox in the Admin page. You'll need a corresponding Folder, POP, or IMAP mailbox
dedicated to inbound Drupal mail. Additional mailboxes may be useful for specialized situations.


Admin Usage
------------

1. Send a few emails to a Mailhandler email address from an email address which is registered on your site.
Then visit cron.php to kickoff a pull from your mail server and processing of pending email. Alternatively,
follow the 'retrieve' link for your newly created mailbox. You should see new nodes on
your site (go to admin/content/node) or receive error message replies via email.

2. You may add extra security to a Mailhandler mailbox if desired on the Admin page.

3. Install mailalias.module if you want to assist users who might contribute from multiple email addresses.

4. Consider installing the Marksmarty module and using its filter in the input format that you assign in your mailbox form. This filter does a nice job of prettying up plain text email for presentation on the Web.


Developer Usage
-----------------------------

Mailhandler has several hooks which other modules may implement:

* hook_mailhandler allows for the message to be altered during node creation (see mailhandler_node_process_message
  in mailhandler.module)
* hook_mailhandler_post_save allows operations on a newly saved node created by mailhandler (see mailhandler_node_process_message
  in mailhandler.module)
* hook_mailhandler_authenticate_info allows modules to define one or more mailhandler authentication plugins (see 
  mailhandler.module for implementations)

Credits
----------

- this borrows from Julian Bond's excellent Blogmail module for Drupal 3. Gerhard contributed IMAP Folder support.

File

README.txt
View source
  1. Readme
  2. ------
  3. The Mailhandler module allows registered users to create or edit nodes and comments via email. Authentication
  4. is usually based on the From: email address. Users may post taxonomy terms, teasers, and other node parameters using the Commands capability.
  5. See the 'more help' page within this module for more info - 'admin/help/mailhandler'.
  6. Requirements
  7. ------------
  8. The IMAP dynamic extension must be enabled. On Windows PHP installations, this is as easy as uncommenting
  9. the line containing "extension=php_imap.dll" in php.ini. For other OS, you may need to recompile PHP
  10. if you don't have this extension already.
  11. Installation
  12. ------------
  13. 1. Activate this module as usual
  14. 2. Add a mailbox in the Admin page. You'll need a corresponding Folder, POP, or IMAP mailbox
  15. dedicated to inbound Drupal mail. Additional mailboxes may be useful for specialized situations.
  16. Admin Usage
  17. ------------
  18. 1. Send a few emails to a Mailhandler email address from an email address which is registered on your site.
  19. Then visit cron.php to kickoff a pull from your mail server and processing of pending email. Alternatively,
  20. follow the 'retrieve' link for your newly created mailbox. You should see new nodes on
  21. your site (go to admin/content/node) or receive error message replies via email.
  22. 2. You may add extra security to a Mailhandler mailbox if desired on the Admin page.
  23. 3. Install mailalias.module if you want to assist users who might contribute from multiple email addresses.
  24. 4. Consider installing the Marksmarty module and using its filter in the input format that you assign in your mailbox form. This filter does a nice job of prettying up plain text email for presentation on the Web.
  25. Developer Usage
  26. -----------------------------
  27. Mailhandler has several hooks which other modules may implement:
  28. * hook_mailhandler allows for the message to be altered during node creation (see mailhandler_node_process_message
  29. in mailhandler.module)
  30. * hook_mailhandler_post_save allows operations on a newly saved node created by mailhandler (see mailhandler_node_process_message
  31. in mailhandler.module)
  32. * hook_mailhandler_authenticate_info allows modules to define one or more mailhandler authentication plugins (see
  33. mailhandler.module for implementations)
  34. Credits
  35. ----------
  36. - this borrows from Julian Bond's excellent Blogmail module for Drupal 3. Gerhard contributed IMAP Folder support.