<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : HTML Email</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 05 Apr 2026 20:56:49 -0000</pubDate>

		<item>
			<title>urlkiller</title>
			<description><![CDATA[the best way would be a plugin that hooks into the complete regitration process and enables the plugin user to have themable tpl files and a new email function that send the html (of course selecable wich kind in the config) ...<br />
<br />
but &quot;best way&quot; could differ from person to person <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/wink.gif" alt=";)" />]]></description>
			<pubDate>Mi, 28 Jul 2010 10:37:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5755&d=0#post25380]]></link>
		</item>
		<item>
			<title>badsey</title>
			<description><![CDATA[thank you so much :D, your a great help,  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
<br />
can i ask what would be the best way..?]]></description>
			<pubDate>Mi, 28 Jul 2010 04:02:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5755&d=0#post25379]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[check this out:<br />
<br />
functions.php line 3009:<br />
<pre class="code">
/**
 * Sends mail with standard PHP mail()
 *
 * @global $cfg
 * @param string $fmail Recipient
 * @param string $subject Subject
 * @param string $body Message body
 * @param string $headers Message headers
 * @param string $additional_parameters Additional parameters passed to sendmail
 * @return bool
 */
function sed_mail($fmail, $subject, $body, $headers='', $additional_parameters = null)
{
	global $cfg;

	if(empty($fmail))
	{
		return(FALSE);
	}
	else
	{
		$headers = (empty($headers)) ? &quot;From: \&quot;&quot;.$cfg&#091;'maintitle'&#093;.&quot;\&quot; &lt;&quot;.$cfg&#091;'adminemail'&#093;.&quot;&gt;\n&quot;.&quot;Reply-To: &lt;&quot;.$cfg&#091;'adminemail'&#093;.&quot;&gt;\n&quot; : $headers;
		$body .= &quot;\n\n&quot;.$cfg&#091;'maintitle'&#093;.&quot; - &quot;.$cfg&#091;'mainurl'&#093;.&quot;\n&quot;.$cfg&#091;'subtitle'&#093;;
		if($cfg&#091;'charset'&#093; != 'us-ascii')
		{
			$headers .= &quot;Content-Type: text/plain; charset=&quot;.$cfg&#091;'charset'&#093;.&quot;\n&quot;;
			$headers .= &quot;Content-Transfer-Encoding: 8bit\n&quot;;
			$subject = mb_encode_mimeheader($subject, $cfg&#091;'charset'&#093;, 'B', &quot;\n&quot;);
		}
		if(ini_get('safe_mode'))
		{
			mail($fmail, $subject, $body, $headers);
		}
		else
		{
			mail($fmail, $subject, $body, $headers, $additional_parameters);
		}
		sed_stat_inc('totalmailsent');
		return(TRUE);
	}
}
</pre>
<br />
AND this here is the header for aregular HTML email:<br />
<br />
<pre class="code">
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
</pre>
<br />
but remember corehacking is not the best way of achiving a goal! for my example you need to change the charset and type in the system/functions.php on line 3009.]]></description>
			<pubDate>Mi, 28 Jul 2010 02:07:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5755&d=0#post25378]]></link>
		</item>
		<item>
			<title>badsey</title>
			<description><![CDATA[Is it possible to change the email that is sent from plain text to HTML so it can be themed to the site and if so could someone help me somehow <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" />]]></description>
			<pubDate>Di, 27 Jul 2010 17:41:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5755&d=0#post25369]]></link>
		</item>
	</channel>
</rss>