You are here

README.txt in Mailhandler 6

Same filename and directory in other branches
  1. 5 README.txt
  2. 6.2 README.txt
  3. 7.2 README.txt
  4. 7 README.txt
# $Id$

Summary
-------

The Mailhandler module allows registered users to create or edit content (nodes
and comments) via email. Authentication is usually based on email addres of the
'From:' e-mail header, but can be extended to use additional security tokens.

E-mail submissions accept additional attributes for the submitted content, like
promote, unpublish, set sticky, or include taxonomy terms, teasers and almost
any other parameters using the Commands capability.

See the 'more help' page located at 'admin/help/mailhandler' within this module
for more information, or read the complete documentation page at drupal.org:
http://drupal.org/handbook/modules/mailhandler


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

For Mailhandler to work, the IMAP dynamic PHP 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.

Beware that IMAP PHP extension has some issues when runing in Microsoft Windows
systems, preventing the extension to read local file mailboxes.


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

Download and enable the module as usual. Go to the status report page (located
at /admin/reports/status) and verify that the IMAP extension is working.

Go to the module Mailboxes administration page (/admin/content/mailhandler) and
add a mailbox. You'll need a corresponding Folder, POP, or IMAP mailbox (email
account) 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.


Other modules integration
-------------------------

Mailhandler is known to integrate with other modules that might extend their
functionality. Consider installing any of this modules to make Mailhandler work
the way to require to do:

 - marksmarty: provides special input format filters that might be used to
   improve the presentation of plain text email for the Web.
 - mailaias: module provides additional email addresses for your users. this
   module is currently, deprecated in favor of multiple_email module, but the
   integration between mailhandler and multiple_email has not been finished yet.
 - mailcomment:
 - listhandler:

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

If you are a developer and want to integrate mailhander or parts of it into your
specific configuration or create a helper module, please realize that you can't
freely rely on any function or element that exists in the module, as this might
be changed inadvertently. However, there are a set of functions that are granted
as being public interface for other modules to interact with mailhandler.

Among the module hooks described in mailhandler.api.inc, the following mentions
are part of the functions that can be safely referenced from outside of this
module:

 Mailbox database interaction
 - mailhandler_mailbox_load
 - mailhandler_mailbox_load_multiple
 - mailhandler_mailbox_validate
 - mailhandler_mailbox_test
 - mailhandler_mailbox_save

 Mailbox processing


Credits
----------
 First implementation from Julian Bond's excellent Blogmail module for Drupal 3.
 IMAP folder support contributed by Gerhard.

File

README.txt
View source
  1. # $Id$
  2. Summary
  3. -------
  4. The Mailhandler module allows registered users to create or edit content (nodes
  5. and comments) via email. Authentication is usually based on email addres of the
  6. 'From:' e-mail header, but can be extended to use additional security tokens.
  7. E-mail submissions accept additional attributes for the submitted content, like
  8. promote, unpublish, set sticky, or include taxonomy terms, teasers and almost
  9. any other parameters using the Commands capability.
  10. See the 'more help' page located at 'admin/help/mailhandler' within this module
  11. for more information, or read the complete documentation page at drupal.org:
  12. http://drupal.org/handbook/modules/mailhandler
  13. Requirements
  14. ------------
  15. For Mailhandler to work, the IMAP dynamic PHP extension must be enabled. On
  16. Windows PHP installations, this is as easy as uncommenting the line containing
  17. "extension=php_imap.dll" in php.ini. For other OS, you may need to recompile PHP
  18. if you don't have this extension already.
  19. Beware that IMAP PHP extension has some issues when runing in Microsoft Windows
  20. systems, preventing the extension to read local file mailboxes.
  21. Installation
  22. ------------
  23. Download and enable the module as usual. Go to the status report page (located
  24. at /admin/reports/status) and verify that the IMAP extension is working.
  25. Go to the module Mailboxes administration page (/admin/content/mailhandler) and
  26. add a mailbox. You'll need a corresponding Folder, POP, or IMAP mailbox (email
  27. account) dedicated to inbound Drupal mail. Additional mailboxes may be useful
  28. for specialized situations.
  29. Admin Usage
  30. ------------
  31. 1. Send a few emails to a Mailhandler email address from an email address which is registered on your site.
  32. Then visit cron.php to kickoff a pull from your mail server and processing of pending email. Alternatively,
  33. follow the 'retrieve' link for your newly created mailbox. You should see new nodes on
  34. your site (go to admin/content/node) or receive error message replies via email.
  35. Other modules integration
  36. -------------------------
  37. Mailhandler is known to integrate with other modules that might extend their
  38. functionality. Consider installing any of this modules to make Mailhandler work
  39. the way to require to do:
  40. - marksmarty: provides special input format filters that might be used to
  41. improve the presentation of plain text email for the Web.
  42. - mailaias: module provides additional email addresses for your users. this
  43. module is currently, deprecated in favor of multiple_email module, but the
  44. integration between mailhandler and multiple_email has not been finished yet.
  45. - mailcomment:
  46. - listhandler:
  47. Developer Usage
  48. ---------------
  49. If you are a developer and want to integrate mailhander or parts of it into your
  50. specific configuration or create a helper module, please realize that you can't
  51. freely rely on any function or element that exists in the module, as this might
  52. be changed inadvertently. However, there are a set of functions that are granted
  53. as being public interface for other modules to interact with mailhandler.
  54. Among the module hooks described in mailhandler.api.inc, the following mentions
  55. are part of the functions that can be safely referenced from outside of this
  56. module:
  57. Mailbox database interaction
  58. - mailhandler_mailbox_load
  59. - mailhandler_mailbox_load_multiple
  60. - mailhandler_mailbox_validate
  61. - mailhandler_mailbox_test
  62. - mailhandler_mailbox_save
  63. Mailbox processing
  64. Credits
  65. ----------
  66. First implementation from Julian Bond's excellent Blogmail module for Drupal 3.
  67. IMAP folder support contributed by Gerhard.