<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Mail( ) with authentication</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Mail( ) with authentication</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 01:59:48 +0000</pubDate>

<item>
<title>yuniar on "Mail( ) with authentication"</title>
<link>https://www.machform.com/forums/topic/mail-with-authentication#post-2450</link>
<pubDate>Wed, 23 Jul 2008 11:55:26 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2450@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Simply modify your config.php file, search for SMTP Settings section.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;USE_SMTP&#38;#39;,false); 

define(&#38;#39;SMTP_HOST&#38;#39;,&#38;#39;localhost&#38;#39;);
define(&#38;#39;SMTP_PORT&#38;#39;,25);
define(&#38;#39;SMTP_AUTH&#38;#39;,false);
define(&#38;#39;SMTP_USERNAME&#38;#39;,&#38;#39;YOUR_SMTP_USERNAME&#38;#39;);
define(&#38;#39;SMTP_PASSWORD&#38;#39;,&#38;#39;YOUR_SMTP_PASSWORD&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Put your username and password there.&#60;br /&#62;
Also, make sure to set USE_SMTP and SMTP_AUTH to &#60;strong&#62;true&#60;/strong&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>anthonybest on "Mail( ) with authentication"</title>
<link>https://www.machform.com/forums/topic/mail-with-authentication#post-2443</link>
<pubDate>Tue, 22 Jul 2008 23:10:31 +0000</pubDate>
<dc:creator>anthonybest</dc:creator>
<guid isPermaLink="false">2443@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am using Machform inside my company subnet and our mail server requires authentication for SMTP.  I have gotten the mailer to work with a standalone relay server to external email addresses, but I cannot get my exchange server to send the messages via smtp.&#60;/p&#62;
&#60;p&#62;Can anyone tell me what code i will need to change to add in the authentication information to allow the mail() command to pass the info to the server?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
