SMF Mailing List Mod
Download this mod
Latest Update: 2013/11/19: Added html entity check for unknown email encodings.
Interactive Demo: http://www.pftq.com/forums/index.php?board=59.0
This modification sets up your board to basically behave as a list serve or mailing list. The best example to think of is "Google Groups", in that the discussion board still exists while any emails sent to the site are automatically posted or added as replies to existing topics. The SMF Mailing List mod works best together with the SMF Notify Group mod, which allows you to subscribe multiple groups/members to a thread. The mod now also handles attachments and routes email replies to different boards depending on the address it is sent to; in addition it allows for non-members to start one-to-one threads w/ staff like a support ticket system if wanted.
** This mod does not check for email spoofing when matching addresses to existing members. It is designed for smaller forum communities where this is less likely to be an issue.
Credits for the original mod "Post from Email" go to Matthew Wolf (a.k.a Grudge). The mod I've created based off of the original differs in that it actually simulates a mailing list or listserv, rather than just handle emails that might be sent to the board in error. Much more time and code has also been put into the reply extraction to handle different email encoding formats as well as HTML. It is also capable of accepting web hooks, or HTTP POST data, for servers that may not have email piping enabled. The listed differences are:
- Complete revamp of the reply extraction process to work with many email clients; tested with Gmail, Yahoo, Hotmail, Comcast, and numerous others. HTML emails can be accepted and formatting preserved. Multiple email encodings supported, including quoted-printable, 7-bit, and 64bit.
- Works with webhooks / mailhooks / HTTP POST data (enabled via options) for servers without email piping. Tested with mailhooks.com, cloudmailin.com. Currently looking to test on more providers - if you know any more, please contact me.
- Allows replies to any post email (announcements and notifications) by the board. Notifications and announcements are also formatted like an email thread (previous replies quoted beneath).
- Sending emails with new subjects (or without the re: prefix) creates a new topic to a default board of your choosing (under Features/Options).
- New topics started by email are automatically announced (emailed) to members who can see that board, just as a real mailing list would do. If the number of members able to see the board is large, this might cause a lot of server load by announcing to everyone. Then you might want to either pick a different board to start topics (with fewer members able to access) or disable this entirely (again, under Features/Options).
- For all announcements (posted by email or board), members are automatically subscribed so they receive replies through email and can reply back through email (can be disabled if you only want topics created by email to function as mailing lists).
- All posts created through email show the original poster as the sender, rather than the board.
- Posts announced via the forum can also show the poster as the sender (option in Features).
- Attachments are supported from incoming emails and automatically attached to outgoing emails.
- New topics via email can be routed to different boards (and therefore membergroups) depending on the address sent (setup in Features/Options).
- Optional Support Ticket System; those who cannot access the default board can email the forum to start a thread between themselves and those who can access the board, simulating a ticket system (where those w/ access are the staff). Non-members and guests can also do the same if the board allows for guest posting.
Original "Post from Email" mod written By Matthew Wolf (a.k.a Grudge) - email@example.com
Porting to SMF 1.1.x (later versions) and recoding to simulate mailing lists by pftq - www.pftq.com
Some code to close HTML tags in badly formatted emails by Milian Wolff