Hello Everyone,
I am badly stuck in a problem, anyone please help me .. i am using one Flash template and under that template there is a PHP mail script but my host require SMTP Authentication and i have no idea how to add authentication in the script .. below is the script if someone tell me how to add authentication in this script so this will start working.
<?php
error_reporting(E_WARNING);
$variables = array(
"subject" => $_POST["sender_subject"],
"message" => $_POST["sender_message"],
"name" => $_POST["sender_name"],
"email" => $_POST["sender_email"],
);
$conf = array(
"notification_email" => array(
"enable" => true,
"to" => "your@email.com",
"to_name" => "your name",
"from" => "no-reply@email.com",
"from_name" => "subscriber-notifier",
"subject" => "New Message: " . $subject . "",
"type" => "html",
"message" => <<<EOD
<p>Put here the message body</p>
<p>
Email: {EMAIL}<br>
Subject: {SUBJECT}<br>
{MESSAGE}
</p>
EOD
),
"autoresponder_email" => array(
"enable" => true,
"from" => "your@email.com",
"from_name" => "your name",
"to" => "{EMAIL}",
"subject" => "Thank you for your message",
"type" => "html",
"message" => <<<EOD
<p>Put here the message body</p>
<p>
Email: {EMAIL}<br>
Subject: {SUBJECT}<br>
{MESSAGE}
</p>
EOD
),
);
Now how do i add SMTP Authentication in this script so this will start working, please help guys.
Regards.

