<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : SMTP</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 18 Apr 2026 10:09:13 -0000</pubDate>

		<item>
			<title>GHengeveld</title>
			<description><![CDATA[It's not really related to Cotonti, but I did write something on the topic recently: <a href="http://www.ghengeveld.nl/sending-email-from-python" rel="nofollow">Sending email with python smtplib</a> (it allows for a custom SMTP server)<br />
<br />
There's probably a related PHP function somewhere.]]></description>
			<pubDate>Cmt, 02 Eki 2010 00:50:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post26444]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[I also had this problem when I used Seditio before I switched to Cotonti, but back then I found a topic where somebody explained a change in one of Seditio's core files and it fixed the problem with my sender being <script type="text/javascript">var a4fb2100e = [60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,76,105,110,117,120,48,52,46,109,121,119,101,98,115,105,116,101,46,103,97,116,101,64,109,121,119,101,98,104,111,115,116,105,110,103,112,114,111,118,105,100,101,114,46,99,111,109,34,62,76,105,110,117,120,48,52,46,109,121,119,101,98,115,105,116,101,46,103,97,116,101,64,109,121,119,101,98,104,111,115,116,105,110,103,112,114,111,118,105,100,101,114,46,99,111,109,60,47,97,62],a4fb2100e_d = ""; for(var ii = 0; ii < a4fb2100e.length; ii++) { var c = a4fb2100e[ii]; a4fb2100e_d += String.fromCharCode(c); } document.write(a4fb2100e_d)</script> instead of the admin e-mail address.<br />
<br />
Unfortunately that was quite some time ago and I haven't been able to find it..<br />
<br />
<br />
Edit: Think i've found that bit.<br />
<br />
<pre class="code">function sed_mail($fmail, $subject, $body, $headers='')
{
    global $cfg;

    if(empty($fmail)) return(FALSE);

    require(&quot;plugins/postman/inc/postoffice.class.php&quot;);
    $PostMan = new PostOffice();
    $PostMan-&gt;IsHTML(false);
    $PostMan-&gt;FromName = $cfg&#091;'maintitle'&#093;;
    $PostMan-&gt;Subject = $psoptions&#091;'subject'&#093;;
    $PostMan-&gt;AddAddress($fmail);
    $PostMan-&gt;Subject = $subject;
    $PostMan-&gt;Body = $body;
    $res&#091;'email'&#093; = $PostMan-&gt;Send();   
    $res&#091;'error_info'&#093; = $PostMan-&gt;ErrorInfo;
    $PostMan-&gt;ClearAddresses();  
   
    if($res&#091;'email'&#093;)
    {
        sed_stat_inc('totalmailsent');
        return(TRUE);   
    }
    else   
    {
        return(FALSE);
    }
}</pre>
<br />
Must have had the postman plugin installed back then..]]></description>
			<pubDate>Cum, 01 Eki 2010 22:59:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post26442]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[Make a plugin that uses e.g. a php-mailer library to send emails via SMTP.<br />
I created a couple of plugins with this functionality for myself, I can lend you a helping hand with this. It depends on what you want. For me, I had to do the SMTP emailer (html format + attachments) with email history and the &quot;Product reclamation system&quot; that sends emails every time the reclamation process is updated. I used SMTP because it has the BBC functionality (hidden copies) and I could manage the bounces better.<br />
<br />
If you need just a simple emailer, there was once a plugin made by Tefra that just mass-emails messages... it might have a bit of incompatibility with Cotonti, though.]]></description>
			<pubDate>Cum, 30 Tem 2010 17:44:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25402]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[if you take a look at the code.<br />
this is the regular function to send mails in cotonti.<br />
<pre class="code">
$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;
</pre>
<br />
the $cfg['adminemail'] is set somewhere in the system. this is the sender, the server-adress of yours. you could try to fiddle with that function to get the result you want. but remember on a update you need to change the line again...<br />
<br />
BUT i have to say that i encounter that problem on some servers too and i didnt find a way yet to fix that. i believe on some server the mail command takes the email adress of the server admin or from the useraccount, not sure here...<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 />
<br />
edit: SMTP-Adress? tz tz tz, read here: <a href="http://nl.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol" rel="nofollow">http://nl.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol</a>]]></description>
			<pubDate>Cum, 30 Tem 2010 05:43:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25398]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[When I previously used Seditio and members received e-mail from the website the sender was: 'linux04.mywebsite.gate@mywebhostingprovider.com' instead of for example just <script type="text/javascript">var ac56d05b0 = [60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,105,110,102,111,64,109,121,119,101,98,115,105,116,101,46,99,111,109,34,62,105,110,102,111,64,109,121,119,101,98,115,105,116,101,46,99,111,109,60,47,97,62],ac56d05b0_d = ""; for(var ii = 0; ii < ac56d05b0.length; ii++) { var c = ac56d05b0[ii]; ac56d05b0_d += String.fromCharCode(c); } document.write(ac56d05b0_d)</script>.<br />
<br />
So i'd like to use my own smtp address instead of the one of my host.<br />
<br />
I can remember there was a fix for Seditio but I can't remember where it was..]]></description>
			<pubDate>Per, 29 Tem 2010 22:54:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25396]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[Urlkiller is right...<br />
<br />
Cotonti is not a emailserver so 'it' can not receive email.. But you can send email..<br />
<br />
I think you do NOT want to receive email in cotonti ??? <br />
(think about spam for a moment, you have to deal with all kinds off shit like that)<br />
<br />
Question is: What functionality do you want ???   (PM is pretty OK...)<br />
<br />
greetings, ez]]></description>
			<pubDate>Per, 29 Tem 2010 21:45:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25395]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[hmm its hard to give you a precise answer...<br />
<br />
support smtp... hmm...<br />
<br />
cotonti can send emails using the php mail() function as any plugin or php script could...<br />
<br />
but there arn't any webmail-like plugins<br />
<br />
edit: yet...]]></description>
			<pubDate>Per, 29 Tem 2010 14:25:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25391]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[Hi,<br />
<br />
I'm thinking about using Cotonti for a new website, but i'd like to make sure Cotonti supports SMTP by itself or maybe via a plugin. Can anyone confirm?<br />
<br />
Thanks.]]></description>
			<pubDate>Per, 29 Tem 2010 08:14:58 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5759&d=0#post25389]]></link>
		</item>
	</channel>
</rss>