<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Author as Sender</title>
        <description> Module: Author as Sender
Version: 1.4.4
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;

Uses the authors display name and email address as sender in the FROM-clause for outgoing emails (user and moderator notifications and private mail).

In case of reporting a post the module uses the display name of the reporter instead of the original author.

For user notifications and private mail the authors email address is only used if there exists an email address and if the author allow to show the email address to other users.

Moderator notifications contains the authors email address even if the author doesn&amp;#039;t allow to show the email address to other users.

Email address is encoded as per RFC 2045 (Message Header Extensions for Non-ASCII Text, see [www.rfc-editor.org]).

Tested on version 5.2.15a


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.


Installation:

1. Unpack the archive.

2. Move the directory &amp;quot;author_as_sender&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;Author as Sender&amp;quot;.

5. Go to the module settings, change and save the options.


Module settings:



Settings for user notifications and private mail

Use authors email-address instead of System Emails From Address

If this option is marked and if the users email address is public the module will use the users email address. In other cases the primal email address is used which is by default &amp;quot;System Emails From Address&amp;quot; from &amp;quot;Global Settings&amp;quot;. Other modules like the Mailing List Module can specify a differing email address.

The default value is &amp;quot;checked&amp;quot;.

Settings for moderator notifications

Use authors email-address instead of System Emails From Address

If this option is marked the module will use the users email address. In other cases the primal email address is used which is by default &amp;quot;System Emails From Address&amp;quot; from &amp;quot;Global Settings&amp;quot;. Other modules like the Mailing List Module can specify a differing email address.

The default value is &amp;quot;checked&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 Author as Sender Module.

The following check is performed:

- Phorum version is 5.2.8 or greater?
- Does custom profile field exists?


Changelog:

2008/04/28 version 1.2.0 Oliver Riesen (oliver@riesen.org)
- Rewrite for Phorum 5.2.

2008/05/02 version 1.3.0 Oliver Riesen (oliver@riesen.org)
- Bug fix: Use authors email-address instead of System Emails From Address didn&amp;#039;t work for guests.
- Email address is encoded as per RFC 2047 (Message Header Extensions for Non-ASCII).

2008/08/25 version 1.4.0 Oliver Riesen (oliver@riesen.org)
- Using now new mail API for encoding email address as per RFC 2045.
- Adding version check to sanity checks.
- Bug fix: Sanity check for module settings.

2010/06/02 version 1.4.1 Oliver Riesen (oliver@riesen.org)
- Making module compatible with Mailing List Module; thanks to Robert Angle.

2010/06/22 version 1.4.2 Oliver Riesen (oliver@riesen.org)
- Bug fix: Remove extraneous stuff from email addresses to avoid double name part in some cases.

2010/11/24 version 1.4.3 Oliver Riesen (oliver@riesen.org)
- Using now the display name of the reporting user in case of reporting a post instead of the original author; thanks to Robert Angle.

2015/09/08 version 1.4.4 Oliver Riesen (oliver@riesen.org)
- Performance improvement.</description>
        <link>https://www.phorum.org/support/read.php?62,129775,129775#msg-129775</link>
        <lastBuildDate>Thu, 10 Sep 2026 04:45:43 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,156034#msg-156034</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,156034#msg-156034</link>
            <description><![CDATA[ <pre class="bbcode">
2015/09/08 version 1.4.4 Oliver Riesen (oliver@riesen.org)
- Performance improvement.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 08 Sep 2015 03:23:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153821#msg-153821</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153821#msg-153821</link>
            <description><![CDATA[ Hi Pat,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>pat</strong><br />... but how does it now the default email-adress of the forum, it seems to me that this is an phorum internal fallback.</div></blockquote>
<br />
My module uses the email address of the author <b>OR</b> the forum default address. There is no fallback.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 08 Jul 2013 02:26:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153819#msg-153819</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153819#msg-153819</link>
            <description><![CDATA[ ... but how does it now the default email-adress of the forum, it seems to me that this is an phorum internal fallback.]]></description>
            <dc:creator>pat</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 06 Jul 2013 12:42:46 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153771#msg-153771</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153771#msg-153771</link>
            <description><![CDATA[ Hi Pat,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>pat</strong><br />Is it some security (eg anti Spam) thing of the webhost, maybe - that does&#039;nt allow to send email from a domain, with a different domain as sender?</div></blockquote>
<br />
 Yes, thats possible but out of influence of my module...<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 01 Jul 2013 07:41:12 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153769#msg-153769</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153769#msg-153769</link>
            <description><![CDATA[ Hi Oliver,<br />
<br />
yes option is marked and email is public. Is it some security (eg anti Spam) thing of the webhost, maybe - that does&#039;nt allow to send email from a domain, with a different domain as sender? But if that would be the case how would this supposed security thing now the default emailadress of the forum?]]></description>
            <dc:creator>pat</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 30 Jun 2013 16:48:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153756#msg-153756</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153756#msg-153756</link>
            <description><![CDATA[ Hi Pat,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>pat</strong><br />This is not working for me. I use Phorum  5.2.18 but this module only changes the Name of the sender to the authors display name but email address stays default EMail. What can I do?</div></blockquote>
<br />
I use 5.2.19 and it works for me. Please note:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br /><b>Use authors email-address</b><br />
If this option is marked <b>and if the users email address is public</b> the module will use the users email address. In other cases the primal email address is used which is by default &quot;System Emails From Address&quot; from &quot;Global Settings&quot;. Other modules like the Mailing List Module can specify a differing email address.</div></blockquote>
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 27 Jun 2013 01:51:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,153754#msg-153754</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,153754#msg-153754</link>
            <description><![CDATA[ This is not working for me. I use Phorum  5.2.18 but this module only changes the Name of the sender to the authors display name but email address stays default EMail. What can I do?]]></description>
            <dc:creator>pat</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 26 Jun 2013 15:32:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,146947#msg-146947</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,146947#msg-146947</link>
            <description><![CDATA[ New version 1.4.3:<br />
<br />
<pre class="bbcode">
2010/11/24 version 1.4.3 Oliver Riesen (oliver@riesen.org)
- <a href="http://www.phorum.org/phorum5/read.php?61,146941,146941" target="_blank" >Using now the display name of the reporting user in case of reporting a post
instead of the original author</a>; thanks to Robert Angle.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 24 Nov 2010 06:48:25 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145137#msg-145137</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145137#msg-145137</link>
            <description><![CDATA[ Hi deadesq,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>deadesq</strong><br />Error returned was: The following From address failed: Dave Fleishman &lt;deadesq@deadesq.com&gt;</div></blockquote>
<br />
Yes, because $PHORUM[&#039;system_email_from_address&#039;] is just a mail address like <a href="mailto:&#100;&#101;&#97;&#100;&#101;&#115;&#113;&#64;&#100;&#101;&#97;&#100;&#101;&#115;&#113;&#46;&#99;&#111;&#109;">&#100;&#101;&#97;&#100;&#101;&#115;&#113;&#64;&#100;&#101;&#97;&#100;&#101;&#115;&#113;&#46;&#99;&#111;&#109;</a> (without user name). I think this cause the problem.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 15:28:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145135#msg-145135</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145135#msg-145135</link>
            <description><![CDATA[ Thanks for this--I edited the file, and I&#039;m still getting an error:<br />
<br />
User info:<br />
User ID = 2, username = test [ view user&#039;s profile ]<br />
User IP address = 63.201.4.214<br />
Additional details:<br />
<br />
Message:<br />
There was an error sending the message.<br />
Error returned was: The following From address failed: Dave Fleishman &lt;deadesq@deadesq.com&gt;<br />
<br />
So--it&#039;s either choking on the SMTP module, or on the SMTP server itself.  I don&#039;t think it&#039;s the latter, because I&#039;ve entered the authenticated server information correctly, and it works, so long as the email address from the post to the board matches the system email address.  If it&#039;s anything other than that, it throws the error.]]></description>
            <dc:creator>deadesq</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 14:03:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145134#msg-145134</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145134#msg-145134</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>deadesq</strong><br />
I&#039;m wondering if it&#039;s something having to do with the SMTP send module I&#039;m using.  If I change the system-wide email address to a fake address (foo@foo.com for example), it won&#039;t send to the Mailman system.  It seems to choke at that point, and the log is showing an error in the send.  If I turn off the SMTP module, it doesn&#039;t send to Mailman at all.  I can&#039;t find where to do the settings to have it just use the php mailer instead of the SMTP module, but I&#039;ll keep looking.  Frustrating.</div></blockquote>
<br />
I encountered what looks to be this same problem several months ago and fixed it by hacking the SMTP module. I no longer have access to the system to provide a patch, but still have my notes:<br />
<br />
--- Start SMTP module hacks ---<br />
Reason: To allow the predefined &quot;from&quot; address that is sent to the module to be used.<br />
Explanation: Currently the &quot;from&quot; address in the module is set to the system email from address. Modules such as mailinglist (and presumably author as sender) allow the user to define their own &quot;from&quot; address, which this module promptly overrides. <br />
<br />
edit the file: mods/smtp_mail/smtp_mail.php<br />
Find:<br />
                    $mail-&gt;From     = $PHORUM[&#039;system_email_from_address&#039;];<br />
                    $mail-&gt;Sender   = $PHORUM[&#039;system_email_from_address&#039;];<br />
                    $mail-&gt;FromName = $PHORUM[&#039;system_email_from_name&#039;];<br />
<br />
Replace those three lines with:<br />
                if(!isset($data[&#039;from&#039;]) || empty($data[&#039;from&#039;])) {<br />
                    $mail-&gt;From     = $PHORUM[&#039;system_email_from_address&#039;];<br />
                    $mail-&gt;Sender   = $PHORUM[&#039;system_email_from_address&#039;];<br />
                    $mail-&gt;FromName = $PHORUM[&#039;system_email_from_name&#039;];<br />
                } else {<br />
                    $mail-&gt;From     = $data[&#039;from&#039;];<br />
                    $mail-&gt;Sender   = $data[&#039;from&#039;];<br />
                    $mail-&gt;FromName = $data[&#039;from&#039;];<br />
                }<br />
<br />
--- End SMTP module hacks ---<br />
<br />
I hope this is still relevant and helps to solve your problem.]]></description>
            <dc:creator>chriss</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 12:38:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145130#msg-145130</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145130#msg-145130</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>deadesq</strong><br />
I&#039;m wondering if it&#039;s something having to do with the SMTP send module I&#039;m using.  If I change the system-wide email address to a fake address (foo@foo.com for example), it won&#039;t send to the Mailman system.  It seems to choke at that point, and the log is showing an error in the send.  If I turn off the SMTP module, it doesn&#039;t send to Mailman at all.  I can&#039;t find where to do the settings to have it just use the php mailer instead of the SMTP module, but I&#039;ll keep looking.  Frustrating.</div></blockquote>
<br />
Just a random thought (which usually means nothing)... could it be that it appears to not send to Mailman because <a href="mailto:&#102;&#111;&#111;&#64;&#102;&#111;&#111;&#46;&#99;&#111;&#109;">&#102;&#111;&#111;&#64;&#102;&#111;&#111;&#46;&#99;&#111;&#109;</a> is not a real subscriber of the Mailman list?<br />
<br />
I am not using the SMTP module, so I cannot comment further.]]></description>
            <dc:creator>Robert Angle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 01:01:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145129#msg-145129</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145129#msg-145129</link>
            <description><![CDATA[ Okay--further information.  I am not able to edit the php.ini on my server (shared hosting) so I remember now that&#039;s why I am using the SMTP module.  I suspect that may be part of the problem.  I will continue searching through the code, but if that rings a bell for you at all, I&#039;ll be very appreciative.]]></description>
            <dc:creator>deadesq</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 00:42:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145127#msg-145127</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145127#msg-145127</link>
            <description><![CDATA[ Thanks, Robert.<br />
<br />
The emails are not globally set to &quot;hide&quot;, and the test user I&#039;ve set up is not set to hide either.  The system is still sending from the global system email, though.  <br />
<br />
I&#039;m wondering if it&#039;s something having to do with the SMTP send module I&#039;m using.  If I change the system-wide email address to a fake address (foo@foo.com for example), it won&#039;t send to the Mailman system.  It seems to choke at that point, and the log is showing an error in the send.  If I turn off the SMTP module, it doesn&#039;t send to Mailman at all.  I can&#039;t find where to do the settings to have it just use the php mailer instead of the SMTP module, but I&#039;ll keep looking.  Frustrating.]]></description>
            <dc:creator>deadesq</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 00:15:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145124#msg-145124</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145124#msg-145124</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>deadesq</strong><br />
I would like outgoing emails from phorum, which go to a Mailman list, to appear to be sent from the posting party, not from the system email default. I have tried &quot;Author as Sender&quot;, and it doesn&#039;t appear to substitute the author of the post for the system email default when it sends to the Mailman list. I suspect I&#039;m not setting up something right, but this is the last piece of the puzzle for me to move over to Phorum, other than trying to figure out how to import a phpBB2 board. That&#039;s another day. Thanks for any help.</div></blockquote>
<br />
Hello,<br />
<br />
It is working for me, but please note the following.<br />
<br />
Since my admin settings are to hide all email addresses, everything gets sent as from the system email address, OR the email address I specify for the FROM address in the mailing list module.<br />
<br />
However, if my admin settings did not force the hiding of all email addresses, then the Author as Sender module would use the users email address that he has on file, UNLESS the user was opting to hide it himself in his Control Panel, in which case, the system email or the one specified in the mailing list module would be used.<br />
<br />
Hope that is not too confusing, but in short, the users email address should be used UNLESS the user is choosing to hide it, or your system wide defaults are set to hide all addresses.]]></description>
            <dc:creator>Robert Angle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 15 Jul 2010 00:08:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,145123#msg-145123</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,145123#msg-145123</link>
            <description><![CDATA[ Sorry for the duplicate post--I posted this over at the Mailing List module thread, too.  I&#039;m not sure where is better, but in any case...<br />
<br />
Hello, all. Thanks for the hard work you all put in. I&#039;ve run through all the forums, and the code itself, and I&#039;m still having trouble figuring out one minor issue. I would like outgoing emails from phorum, which go to a Mailman list, to appear to be sent from the posting party, not from the system email default. I have tried &quot;Author as Sender&quot;, and it doesn&#039;t appear to substitute the author of the post for the system email default when it sends to the Mailman list. I suspect I&#039;m not setting up something right, but this is the last piece of the puzzle for me to move over to Phorum, other than trying to figure out how to import a phpBB2 board. That&#039;s another day. Thanks for any help.]]></description>
            <dc:creator>deadesq</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 14 Jul 2010 21:47:54 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,144948#msg-144948</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,144948#msg-144948</link>
            <description><![CDATA[ New version 1.4.2:<br />
<br />
<pre class="bbcode">
2010/06/22 version 1.4.2 Oliver Riesen (oliver@riesen.org)
- Bug fix: Remove extraneous stuff from email addresses to avoid double
  name part in some cases.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 22 Jun 2010 02:20:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,144745#msg-144745</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,144745#msg-144745</link>
            <description><![CDATA[ Tested and works great! Thanks :)]]></description>
            <dc:creator>Robert Angle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jun 2010 07:46:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,144737#msg-144737</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,144737#msg-144737</link>
            <description><![CDATA[ Hi Robert,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Robert Angle</strong><br />In your Mailing List module, we can define the From address. But this Author as Sender overrides that.</div></blockquote>
<br />
Please try new version 1.4.1:<br />
<br />
<pre class="bbcode">
2010/06/02 version 1.4.1 Oliver Riesen (oliver@riesen.org)
- <a href="http://www.phorum.org/phorum5/read.php?62,129775,144732" target="_blank" >Making module compatible with Mailing List Module</a>; thanks to Robert Angle.</pre>
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jun 2010 03:27:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,144732#msg-144732</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,144732#msg-144732</link>
            <description><![CDATA[ In your Mailing List module, we can define the From address. But this Author as Sender overrides that.<br />
<br />
I want to define the from address in the Mailing List module, but still reference the Authors name.<br />
<br />
Such as...<br />
<br />
From: <a href="mailto:&#109;&#97;&#105;&#108;&#105;&#115;&#116;&#95;&#108;&#105;&#115;&#116;&#95;&#102;&#114;&#111;&#109;&#95;&#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64;&#109;&#121;&#115;&#105;&#116;&#101;&#46;&#99;&#111;&#109;">&#109;&#97;&#105;&#108;&#105;&#115;&#116;&#95;&#108;&#105;&#115;&#116;&#95;&#102;&#114;&#111;&#109;&#95;&#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64;&#109;&#121;&#115;&#105;&#116;&#101;&#46;&#99;&#111;&#109;</a> &lt;User Display Name&gt;<br />
<br />
Right now I am getting...<br />
<br />
From: <a href="mailto:&#115;&#121;&#115;&#116;&#101;&#109;&#95;&#101;&#109;&#97;&#105;&#108;&#95;&#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64;&#109;&#121;&#115;&#105;&#116;&#101;&#46;&#99;&#111;&#109;">&#115;&#121;&#115;&#116;&#101;&#109;&#95;&#101;&#109;&#97;&#105;&#108;&#95;&#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64;&#109;&#121;&#115;&#105;&#116;&#101;&#46;&#99;&#111;&#109;</a> &lt;User Display Name&gt;<br />
<br />
How can I get this to work to display the members display name in the From field, but retain the From email address from the Mailing List Module?]]></description>
            <dc:creator>Robert Angle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 01 Jun 2010 15:31:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132786#msg-132786</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132786#msg-132786</link>
            <description><![CDATA[ New version 1.4.0:<br />
<br />
<pre class="bbcode">
2008/08/25 version 1.4.0 Oliver Riesen (oliver@riesen.org)
- Using now new mail API for encoding email address as per RFC 2045.
- Adding version check to sanity checks.
- Bug fix: Sanity check for module settings.
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 25 Aug 2008 07:44:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132785#msg-132785</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132785#msg-132785</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />The mail address is in fact never passed on to the mail API. </div></blockquote>
<br />
Ah! I called your function with the complete string including the email address. So I tried once more, only encodng the name part. That is working. Thanks.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 25 Aug 2008 07:43:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132766#msg-132766</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132766#msg-132766</link>
            <description><![CDATA[ Taking another look at the email_functions.php, I get the idea that you&#039;re not talking about a problem in the core code here. The core code only encodes the From: address&#039; mail name and not the email address that is in there. The mail address is in fact never passed on to the mail API. Therefore, I kind of lost what you are targeting at right now.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 23 Aug 2008 12:42:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132763#msg-132763</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132763#msg-132763</link>
            <description><![CDATA[ It&#039;s even added multiple times in there. That is a strange thing, but for now I&#039;d like to focus on the function, because I still don&#039;t understand where your extra spaces in the middle are coming from. Did you really check the function call itself where you wrote &quot;but the new mail API returns...&quot; ? Or is that mocked up data from the end results that you saw so far?<br />
<br />
For the address part, I could probably strip off the &lt;email@address&gt; part and not include that in the encoded data. I think that would keep the mailserver from getting confused.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 23 Aug 2008 05:21:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132762#msg-132762</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132762#msg-132762</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
In your string, I see extra spaces around the &quot;=20&quot; between the name and the address. That is one thing that is strange. The other thing is that your encoded string misses the closing &quot;?=&quot;. That causes the string to not be recognized as QP by the mail program, showing the unchanged string eventually.</div></blockquote>
<br />
The complete source line from email header are:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />
From: =?utf-8?Q? &quot;Oliver=20Riesen&quot; =20 &lt;antwort-nur-im-forum=40langzeittest.de@webbox1236.server-home.net&gt;,<br />
	?=@webbox1236.server-home.net</div></blockquote>
<br />
@webbox1236.server-home.net is added by our mail server because of the missing @ I think...<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 23 Aug 2008 02:20:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132761#msg-132761</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132761#msg-132761</link>
            <description><![CDATA[ I forgot the &quot;@&quot; as a safe character, causing this address to be encoded. I can add that one to the safe list, so this kind of address won&#039;t be quoted printable encoded.<br />
<br />
However, if you have a name with some special character in it, it would still generate a wrong string for you. If I cut and paste the address string and feed it to my 5.2 mail api, it returns:<br />
<br />
<pre class="bbcode">
=?utf-8?Q?&quot;Oliver=20Riesen&quot;=20&lt;antwort-nur-im-forum=40langzeittest.de&gt;?=</pre>
<br />
In your string, I see extra spaces around the &quot;=20&quot; between the name and the address. That is one thing that is strange. The other thing is that your encoded string misses the closing &quot;?=&quot;. That causes the string to not be recognized as QP by the mail program, showing the unchanged string eventually.<br />
<br />
For now, I have no idea why it would be different in your case. If you cut and past from your above post and encode that, do you get the correct string or not?]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 22 Aug 2008 16:19:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,132759#msg-132759</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,132759#msg-132759</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
Take a look at include/api/mail.php (in SVN repository or 5.2 stable snapshot), which will be included in Phorum versions 5.2.8 and up. This API script defines the function phorum_api_mail_encode_quotedprintable(), which can help you to include special characters in the mail headers.</div></blockquote>
<br />
I tried the new mail api without success.<br />
<br />
If I call the encoding for example with the following value:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />&quot;Oliver Riesen&quot; &lt;antwort-nur-im-forum@langzeittest.de&gt;</div></blockquote>
<br />
my own function returns:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />&quot;Oliver Riesen&quot; &lt;antwort-nur-im-forum@langzeittest.de&gt;</div></blockquote>
<br />
but the new mail API returns:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />=?utf-8?Q? &quot;Oliver=20Riesen&quot; =20 &lt;antwort-nur-im-forum=40langzeittest.de</div></blockquote>
<br />
which is not shown correct in the email program.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 22 Aug 2008 15:46:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,129836#msg-129836</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,129836#msg-129836</link>
            <description><![CDATA[ New version 1.3.0:<br />
<br />
<pre class="bbcode">
2008/05/02 version 1.3.0 Oliver Riesen (oliver@riesen.org)
- Bug fix: Use authors email-address instead of System Emails From Address
  didn&#039;t work for guests
- Email address is encoded as per RFC 2047 (Message Header Extensions for
  Non-ASCII Text, see [<a href="http://www.rfc-editor.org/rfc/rfc2047.txt" target="_blank"  rel="nofollow">www.rfc-editor.org</a>]).
</pre>]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 02 May 2008 07:57:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,129777#msg-129777</guid>
            <title>Re: Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,129777#msg-129777</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Since the display name for an email address should contain only ASCII-characters any special character will be replaced by a question mark. See <a href="http://www.rfc-editor.org/rfc/rfc2822.txt" target="_blank"  rel="nofollow">RFC 2822</a>. German umlauts are dissolved to there corresponding two characters.</div></blockquote>
<br />
Take a look at include/api/mail.php (in SVN repository or 5.2 stable snapshot), which will be included in Phorum versions 5.2.8 and up. This API script defines the function phorum_api_mail_encode_quotedprintable(), which can help you to include special characters in the mail headers. Maybe it&#039;s a good idea to upgrade your module when 5.2.8 is released or prepare your module to use the mail API code if the API file is available. That would make the module usable for admins that have a Phorum in other languages for which you cannot do ä -&gt; ae like conversions.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 28 Apr 2008 11:56:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129775,129775#msg-129775</guid>
            <title>Module: Author as Sender</title>
            <link>https://www.phorum.org/support/read.php?62,129775,129775#msg-129775</link>
            <description><![CDATA[ <b>Module: Author as Sender</b><br />
<b>Version: 1.4.4</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 />
Uses the authors display name and email address as sender in the FROM-clause for outgoing emails (user and moderator notifications and private mail).<br />
<br />
In case of reporting a post the module uses the display name of the reporter instead of the original author.<br />
<br />
For user notifications and private mail the authors email address is only used if there exists an email address and if the author allow to show the email address to other users.<br />
<br />
Moderator notifications contains the authors email address even if the author doesn&#039;t allow to show the email address to other users.<br />
<br />
Email address is encoded as per RFC 2045 (Message Header Extensions for Non-ASCII Text, see [<a href="http://www.rfc-editor.org/rfc/rfc2045.txt" target="_blank"  rel="nofollow">www.rfc-editor.org</a>]).<br />
<br />
Tested on version 5.2.15a<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.<br />
<br />
<br />
<b>Installation:</b><br />
<br />
1. Unpack the archive.<br />
<br />
2. Move the directory &quot;author_as_sender&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;Author as Sender&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/2924/author-as-sender-settings.jpg" class="bbcode" border="0" /></center><br />
<br />
<u>Settings for user notifications and private mail</u><br />
<br />
Use authors email-address instead of System Emails From Address<br />
<br />
If this option is marked and if the users email address is public the module will use the users email address. In other cases the primal email address is used which is by default &quot;System Emails From Address&quot; from &quot;Global Settings&quot;. Other modules like the Mailing List Module can specify a differing email address.<br />
<br />
The default value is &quot;checked&quot;.<br />
<br />
<u>Settings for moderator notifications</u><br />
<br />
Use authors email-address instead of System Emails From Address<br />
<br />
If this option is marked the module will use the users email address. In other cases the primal email address is used which is by default &quot;System Emails From Address&quot; from &quot;Global Settings&quot;. Other modules like the Mailing List Module can specify a differing email address.<br />
<br />
The default value is &quot;checked&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 Author as Sender Module.<br />
<br />
The following check is performed:<br />
<br />
- Phorum version is 5.2.8 or greater?<br />
- Does custom profile field exists?<br />
<br />
<br />
<b>Changelog:</b><br />
<br />
2008/04/28 version 1.2.0 Oliver Riesen (oliver@riesen.org)<br />
- Rewrite for Phorum 5.2.<br />
<br />
2008/05/02 version 1.3.0 Oliver Riesen (oliver@riesen.org)<br />
- Bug fix: Use authors email-address instead of System Emails From Address didn&#039;t work for guests.<br />
- Email address is encoded as per <a href="http://www.rfc-editor.org/rfc/rfc2047.txt" target="_blank"  rel="nofollow">RFC 2047 (Message Header Extensions for Non-ASCII)</a>.<br />
<br />
2008/08/25 version 1.4.0 Oliver Riesen (oliver@riesen.org)<br />
- Using now new mail API for encoding email address as per RFC 2045.<br />
- Adding version check to sanity checks.<br />
- Bug fix: Sanity check for module settings.<br />
<br />
2010/06/02 version 1.4.1 Oliver Riesen (oliver@riesen.org)<br />
- <a href="http://www.phorum.org/phorum5/read.php?62,129775,144732" target="_blank" >Making module compatible with Mailing List Module</a>; thanks to Robert Angle.<br />
<br />
2010/06/22 version 1.4.2 Oliver Riesen (oliver@riesen.org)<br />
- Bug fix: Remove extraneous stuff from email addresses to avoid double name part in some cases.<br />
<br />
2010/11/24 version 1.4.3 Oliver Riesen (oliver@riesen.org)<br />
- <a href="http://www.phorum.org/phorum5/read.php?61,146941,146941" target="_blank" >Using now the display name of the reporting user in case of reporting a post instead of the original author</a>; thanks to Robert Angle.<br />
<br />
2015/09/08 version 1.4.4 Oliver Riesen (oliver@riesen.org)<br />
- Performance improvement.]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 28 Apr 2008 11:06:54 -0500</pubDate>
        </item>
    </channel>
</rss>
