<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — [resolved] Special mail function]]></title>
		<link>https://punbb.informer.com/forums/topic/10567/resolved-special-mail-function/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/10567/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [resolved] Special mail function.]]></description>
		<lastBuildDate>Sun, 19 Feb 2006 16:46:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [resolved] Special mail function]]></title>
			<link>https://punbb.informer.com/forums/post/62732/#p62732</link>
			<description><![CDATA[<p>Thanks, I gonna try that !</p><p>// EDIT : it worked perfectly. At the begining it didn&#039;t, but because my test address was already set. You can&#039;t use the same address for two accounts, it&#039;s logic, but I didn&#039;t notice it before.</p><p>Thanks again</p>]]></description>
			<author><![CDATA[null@example.com (isatis39871)]]></author>
			<pubDate>Sun, 19 Feb 2006 16:46:07 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/62732/#p62732</guid>
		</item>
		<item>
			<title><![CDATA[Re: [resolved] Special mail function]]></title>
			<link>https://punbb.informer.com/forums/post/62731/#p62731</link>
			<description><![CDATA[<p>include/email.php</p><p>Find</p><div class="codebox"><pre><code>mail($to, $subject, $message, $headers);</code></pre></div><p>Change to</p><div class="codebox"><pre><code>mail_php($to, $from, $message, $subject);</code></pre></div><p>Also change this code</p><div class="codebox"><pre><code>// Default sender/return address
    if (!$from)
        $from = &#039;&quot;&#039;.str_replace(&#039;&quot;&#039;, &#039;&#039;, $pun_config[&#039;o_board_title&#039;].&#039; &#039;.$lang_common[&#039;Mailer&#039;]).&#039;&quot; &lt;&#039;.$pun_config[&#039;o_webmaster_email&#039;].&#039;&gt;&#039;;</code></pre></div><p>to</p><div class="codebox"><pre><code>    // Default sender/return address
    if (!$from) $from = $pun_config[&#039;o_webmaster_email&#039;];</code></pre></div><p>Might be other issues with the from address...</p>]]></description>
			<author><![CDATA[null@example.com (Nibbler(cpg))]]></author>
			<pubDate>Sun, 19 Feb 2006 16:43:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/62731/#p62731</guid>
		</item>
		<item>
			<title><![CDATA[[resolved] Special mail function]]></title>
			<link>https://punbb.informer.com/forums/post/62714/#p62714</link>
			<description><![CDATA[<p>Hello,</p><p>I had a look on the forum but found nothing about that...</p><p>I can&#039;t use the PHP mail() function on this server, it&#039;s not activated. I asked the admin, he gave me only the right to use his own function : mail_php(&quot;adresse_mail_destination&quot;,&quot;Votre adresse teria&quot;,$contenu,&quot;Le sujet du mail&quot;); <br />It seems you don&#039;t need to specify the smtp adressa and returns 1 if success</p><p>The function works perfectly in a form, but the problem&nbsp; is with the forum:</p><p>But I saw in the code that PunBB uses the mail() function, so I can&#039;t use the maling-list and the maling password check features. I tried to modify the source code but&nbsp; I am a newbie in PH and it didn&#039;t work.</p><p>Do you have any idée to fiddle with it ?</p>]]></description>
			<author><![CDATA[null@example.com (isatis39871)]]></author>
			<pubDate>Sun, 19 Feb 2006 10:41:13 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/62714/#p62714</guid>
		</item>
	</channel>
</rss>
