Firefox PHP

Email All Posts module

Posted by Chris Eaton 
All files from this thread

File Name File Size   Posted by Date  
emailallposts_blm.zip 2.5 KB open | download Brian Moon 02/15/2005 Read message
emailallposts.zip 2.6 KB open | download veloceraptor 03/20/2005 Read message
emailallposts2group.tar.bz2 2.2 KB open | download orinoco 02/03/2007 Read message
emailallposts-tetron.tar.gz 2.2 KB open | download tetron 11/13/2007 Read message
Email All Posts module
March 04, 2004 06:31PM
I've written a module that takes every post made to an installation of phorum and emails it to somebody. This is useful if you have a mailing list of users who want to be emailed messages, want to keep a copy of everything posted, or simply are like me and don't want to have to read the forum to know whats going on. :)

I use it as an admin to be alerted on the road, where I can read email but not easily follow a message board.

To install, simply extract it into the "mods" directory and configure it from within the Phorum Admin. The "From" information in the email is taken from Phorum's system email settings.

You should consider this beta code. It works for me, but hasn't been tested by anybody else.

ps - First Post! ;)



Edited 2 time(s). Last edit at 11/24/2004 12:49AM by Tridus.
Re: Email All Posts module
March 04, 2004 08:42PM
It works great.
Re: Email All Posts module
March 12, 2004 10:48PM

can you reply to the board through email?
Re: Email All Posts module
March 13, 2004 03:04AM
No. That would require Phorummail, which isn't in Phorum 5 yet. All this does is email out copies of posts.
Re: Email All Posts module
March 13, 2004 03:52AM
New version.

Added: Status line now shows if a post is approved or not at the time of mailing. (will always be yes in an unmoderated forum, almost always be no in a moderated one, and may be both if mod_preapproval is in use)
Fixed: added stripslashes() calls so that the subject is not escaped. That looks really dumb in an email.

Download here: [www.hiredgoons.ca]
Re: Email All Posts module
March 14, 2004 05:14PM
I will probably write PhorumMail as an add/on and reference this module for sending email.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Email All Posts module
March 29, 2004 06:50PM
Is it possible to make the emails go to different email addresses based on which forum the post was made?

eg.
forum_1 messages go to forum1@domain.com
forum_2 messages go to forum2@domain.com

Re: Email All Posts module
March 29, 2004 07:07PM
loll Wrote:
-------------------------------------------------------
> Is it possible to make the emails go to different
> email addresses based on which forum the post was
> made?

Hmmm, yeah, for Phorummail to be useful, that will need to happen. When I write Phorummail, I will modify this Module if it has not been done already.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Email All Posts module
April 01, 2004 06:18PM
And now it does.

Added:
- You can specify an email address for each forum individually. These addresses will get the email in addition to the main address which gets them all.
- The main email address *should* be optional now. I haven't tested this very well yet.
- The emails now include the name of the forum the post is in.

If you have a main email address and a forum specific one, both addresses will get a copy of the message.

Download here: [www.hiredgoons.ca]
Re: Email All Posts module
November 24, 2004 12:49AM
New version: 1.3.
Changes: Emails are not sent before somebody adds an attachment.

Download: [www.hiredgoons.ca]
Sorry, only registered users may post in this forum.

Click here to login