<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Format Email</title>
        <description> Module: Format Email
Version: 1.0.1
Author: Oliver Riesen &amp;lt;&amp;#111;&amp;#108;&amp;#105;&amp;#118;&amp;#101;&amp;#114;&amp;#64;&amp;#114;&amp;#105;&amp;#101;&amp;#115;&amp;#101;&amp;#110;&amp;#46;&amp;#111;&amp;#114;&amp;#103;&amp;gt;

Formats outgoing email bodies (user and moderator notifications and private mail): optional strips HTML &amp;lt;tags&amp;gt;, BBcode [tags] and bad words from censor list and wordwraps the text.

From Phorum version 5.2.21 this module is not any longer needed. Use the new &amp;quot;How to strip quotes in mails&amp;quot; setting in &amp;quot;General Settings&amp;quot;.


What&amp;#039;s the effort of this module? Phorum strips already HTML &amp;lt;tags&amp;gt;, BBcode
[tags] and bad words from censor list.

Yes, but Phorum does it always. With this module you can choose if you want to
strip or not.

Tested on version 5.2.20


License:

Free to use, modify, or redistribute this code so long as I am given credit for the original development somewhere. This code comes with absolutely no warranty.


Requirements:

Minimum Phorum version: 5.2.8, maximum Phorum version: 5.2.20.


Installation:

1. Unpack the archive.

2. Move the directory &amp;quot;format_email&amp;quot; to the directory &amp;quot;mods&amp;quot; within your Phorum installation. Don&amp;#039;t change the directory name!

3. Login as administrator in Phorum&amp;#039;s administrative interface and go to the &amp;quot;Modules&amp;quot; section.

4. Enable the module &amp;quot;Format Email&amp;quot;.

5. Go to the module settings, change and save the options.


Module settings:



Strip HTML &amp;lt;tags&amp;gt;?

If this option is marked HTML tags are striped from the body. This is the default behavior of Phorum.

The default value is &amp;quot;checked&amp;quot;.

Strip BBCode [tags]?

If this option is marked BBCode tags are striped from the body. This is the default behavior of Phorum.

The default value is &amp;quot;checked&amp;quot;.

Replace bad words from censor list?

If this option is marked bad words from censor list are replaced in the body. This is the default behavior of Phorum.

The default value is &amp;quot;checked&amp;quot;.

Wordwrap

If this option is marked the body ist wordwrap (72 characters per line).

The default value is &amp;quot;unchecked&amp;quot;.


Language support:

This module doesn&amp;#039;t contain any language text.


Sanity Checks:

If you have problems with this module login as administrator in Phorum&amp;#039;s administrative interface and go to the &amp;quot;System Sanity Checks&amp;quot; section. Check for warnings or errors for the Format Email Module.

The following check is performed:

- Phorum version is 5.2.8 or greater?
- Phorum version is lower then 5.2.21?
- Does module settings exists?


Changelog:

2010/06/15 version 1.0.0 Oliver Riesen (oliver@riesen.org)
- Initial release for Phorum 5.2.

2015/08/28 version 1.0.1 Oliver Riesen (oliver@riesen.org)
- From Phorum version 5.2.21 this module is not any longer needed. Use the new &amp;quot;How to strip quotes in mails&amp;quot; setting in &amp;quot;General Settings&amp;quot;.
- Sanity check &amp;quot;Phorum version is to high&amp;quot; added.</description>
        <link>https://www.phorum.org/support/read.php?62,144862,144862#msg-144862</link>
        <lastBuildDate>Sat, 10 Oct 2026 16:13:03 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,144862,156021#msg-156021</guid>
            <title>Re: Module: Format Email</title>
            <link>https://www.phorum.org/support/read.php?62,144862,156021#msg-156021</link>
            <description><![CDATA[ <pre class="bbcode">
2015/08/28 version 1.0.1 Oliver Riesen (oliver@riesen.org)
- From Phorum version 5.2.21 this module is not any longer needed. Use the new
  &quot;How to strip quotes in mails&quot; setting in &quot;General Settings&quot;.
- Sanity check &quot;Phorum version is to high&quot; added.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 31 Aug 2015 06:47:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,144862,145167#msg-145167</guid>
            <title>Re: Module: Format Email</title>
            <link>https://www.phorum.org/support/read.php?62,144862,145167#msg-145167</link>
            <description><![CDATA[ Hi Robert,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Robert Angle</strong><br />I have this installed and and checked and it is not working. Posts made to my phorum that get emailed via the mailing list module still have paragraphs that stretch for miles with no line breaks.</div></blockquote>
<br />
I&#039;m using my module in my production environment and it&#039;s working for me.<br />
<br />
Perhaps a problem of the <a href="http://www.php.net/manual/en/function.wordwrap.php" target="_blank"  rel="nofollow">wordwrap function in PHP</a> which is not multi byte save? Di you want to try the <a href="http://www.php.net/manual/en/function.wordwrap.php#98724" target="_blank"  rel="nofollow">mb_wordwrap function</a> mentioned in an  user contribution? If this solves the problem I&#039;ll extend my module.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 17 Jul 2010 15:09:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,144862,145158#msg-145158</guid>
            <title>Re: Module: Format Email</title>
            <link>https://www.phorum.org/support/read.php?62,144862,145158#msg-145158</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Oliver Riesen</strong><br />
<u>Wordwrap</u><br />
<br />
If this option is marked the body ist wordwrap (72 characters per line).<br />
<br />
The default value is &quot;unchecked&quot;.</div></blockquote>
<br />
Hey Oliver, I have this installed and and checked and it is not working. Posts made to my phorum that get emailed via the mailing list module still have paragraphs that stretch for miles with no line breaks.]]></description>
            <dc:creator>Robert Angle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 17 Jul 2010 09:28:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,144862,144862#msg-144862</guid>
            <title>Module: Format Email</title>
            <link>https://www.phorum.org/support/read.php?62,144862,144862#msg-144862</link>
            <description><![CDATA[ <b>Module: Format Email</b><br />
<b>Version: 1.0.1</b><br />
<b>Author: Oliver Riesen &lt;<a href="mailto:&#111;&#108;&#105;&#118;&#101;&#114;&#64;&#114;&#105;&#101;&#115;&#101;&#110;&#46;&#111;&#114;&#103;">&#111;&#108;&#105;&#118;&#101;&#114;&#64;&#114;&#105;&#101;&#115;&#101;&#110;&#46;&#111;&#114;&#103;</a>&gt;</b><br />
<br />
Formats outgoing email bodies (user and moderator notifications and private mail): optional strips HTML &lt;tags&gt;, BBcode [tags] and bad words from censor list and wordwraps the text.<br />
<br />
From Phorum version 5.2.21 this module is not any longer needed. Use the new &quot;How to strip quotes in mails&quot; setting in &quot;General Settings&quot;.<br />
<br />
<pre class="bbcode">
<b>What&#039;s the effort of this module? Phorum strips already HTML &lt;tags&gt;, BBcode
[tags] and bad words from censor list.</b>

Yes, but Phorum does it always. With this module you can choose if you want to
strip or not.</pre>
<br />
Tested on version 5.2.20<br />
<br />
<br />
<b>License:</b><br />
<br />
Free to use, modify, or redistribute this code so long as I am given credit for the original development somewhere. This code comes with absolutely no warranty.<br />
<br />
<br />
<b>Requirements:</b><br />
<br />
Minimum Phorum version: 5.2.8, maximum Phorum version: 5.2.20.<br />
<br />
<br />
<b>Installation:</b><br />
<br />
1. Unpack the archive.<br />
<br />
2. Move the directory &quot;format_email&quot; to the directory &quot;mods&quot; within your Phorum installation. Don&#039;t change the directory name!<br />
<br />
3. Login as administrator in Phorum&#039;s administrative interface and go to the &quot;Modules&quot; section.<br />
<br />
4. Enable the module &quot;Format Email&quot;.<br />
<br />
5. Go to the module settings, change and save the options.<br />
<br />
<br />
<b>Module settings:</b><br />
<br />
<center class="bbcode"><img src="http://www.phorum.org/phorum5/file.php/62/4321/format-email-settings.jpg" class="bbcode" border="0" /></center><br />
<br />
<u>Strip HTML &lt;tags&gt;?</u><br />
<br />
If this option is marked HTML tags are striped from the body. This is the default behavior of Phorum.<br />
<br />
The default value is &quot;checked&quot;.<br />
<br />
<u>Strip BBCode [tags]?</u><br />
<br />
If this option is marked BBCode tags are striped from the body. This is the default behavior of Phorum.<br />
<br />
The default value is &quot;checked&quot;.<br />
<br />
<u>Replace bad words from censor list?</u><br />
<br />
If this option is marked bad words from censor list are replaced in the body. This is the default behavior of Phorum.<br />
<br />
The default value is &quot;checked&quot;.<br />
<br />
<u>Wordwrap</u><br />
<br />
If this option is marked the body ist wordwrap (72 characters per line).<br />
<br />
The default value is &quot;unchecked&quot;.<br />
<br />
<br />
<b>Language support:</b><br />
<br />
This module doesn&#039;t contain any language text.<br />
<br />
<br />
<b>Sanity Checks:</b><br />
<br />
If you have problems with this module login as administrator in Phorum&#039;s administrative interface and go to the &quot;System Sanity Checks&quot; section. Check for warnings or errors for the Format Email Module.<br />
<br />
The following check is performed:<br />
<br />
- Phorum version is 5.2.8 or greater?<br />
- Phorum version is lower then 5.2.21?<br />
- Does module settings exists?<br />
<br />
<br />
<b>Changelog:</b><br />
<br />
2010/06/15 version 1.0.0 Oliver Riesen (oliver@riesen.org)<br />
- Initial release for Phorum 5.2.<br />
<br />
2015/08/28 version 1.0.1 Oliver Riesen (oliver@riesen.org)<br />
- From Phorum version 5.2.21 this module is not any longer needed. Use the new &quot;How to strip quotes in mails&quot; setting in &quot;General Settings&quot;.<br />
- Sanity check &quot;Phorum version is to high&quot; added.]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 15 Jun 2010 08:20:27 -0500</pubDate>
        </item>
    </channel>
</rss>
