Hello
my server request SMTP authentication required to send email. I use indexu 3.0. How I solve this problem?
thanks...
Hello
my server request SMTP authentication required to send email. I use indexu 3.0. How I solve this problem?
thanks...
indexu doesn't use smtp to send email. It use mail() function, then the global setting of php will handle it whenever it use sendmail or smtp
www.nicecoder.com
www.dodyrw.com
hi dody,
How I include indexu script?
my server message is ;
**********php
To send email from php you may use phpMailer. You may download it from http://support.resellerguru.com/downloads/phpmailer.zip.
You should extract archive and put file phpmailer.php in the same directory as your script.
Next you should use following code to send email instead of mail() function.
require("phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "MAIL.DOMAIN.COM";
$mail->SMTPAuth = true;
$mail->Username = "POP3ACCOUNT.NAME";
$mail->Password = "POP3.PASSWORD";
$mail->From = "POP3ACCOUNT.NAME";
//$mail->FromName = "Mailer";//optional from name
$mail->AddAddress("RECIPIENT", "RECIPIENT'S NAME");
//$mail->AddReplyTo("sender@example.com", "Information");
$mail->IsHTML(false); // set email format to HTML
$mail->Subject = "SUBJECT";
$mail->Body = "BODY";
if(!$mail->Send()) {
echo "Message could not be sent. <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
}
I'm sorry we no longer provide support for indexu 3.x. Please update to the latest version.
I suggest to ask your webhost provider to make correction in their php.ini configuration. If it set properly then i'm sure indexu 3.x will run well, this is because indexu use native php function to send email.
www.nicecoder.com
www.dodyrw.com