Go Back   NiceCoder Community Forums > Nicecoder Products > IndexU > v3.2
Register Projects FAQ Members List Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-23-2006, 12:51 AM
Registered User
 
Join Date: Apr 2003
Posts: 8
cegerxwinn
Default my server request SMTP authentication required to send email

Hello

my server request SMTP authentication required to send email. I use indexu 3.0. How I solve this problem?


thanks...
  #2 (permalink)  
Old 08-23-2006, 03:37 AM
dody's Avatar
Nicecoder Team
 
Join Date: Aug 2001
Location: Indonesia
Posts: 3,292
dody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to all
Default

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
  #3 (permalink)  
Old 08-23-2006, 04:02 AM
Registered User
 
Join Date: Apr 2003
Posts: 8
cegerxwinn
Default this my server message

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;
}
  #4 (permalink)  
Old 08-23-2006, 04:34 AM
dody's Avatar
Nicecoder Team
 
Join Date: Aug 2001
Location: Indonesia
Posts: 3,292
dody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to alldody is a name known to all
Default

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.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailing list subscription send-out alfo v5.x 1 02-15-2006 06:50 AM
Send Resource ID to webmasters? wezman v5.x 3 07-21-2004 04:34 AM
no mail is send by Indexu Lite... ms70 v5.x 0 04-01-2004 10:44 AM
Option for visitors to email site owners by invoking an email form Veg v3.2 0 09-20-2002 11:13 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 05:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate