yes right, you need only to change the path to your phpmailer class folder/file
PHP Scripting Forums » PHP Classes Support Forum » Access_user Class Support forum
-
Posted 10 months ago #
-
i try it and work fine,
the message says "Please check your e-mail and follow the instructions."
But i not receive email activation, the record has already insert to database, and there is no error warning.i using your au class ver 1.98 now, before it i using ver 1.94
i think i will try with PEAR again instead PHPMailer.
or i will try it later.one more question please,
i try to add 2 fields in table users, which file i must modified?
is just access_user_class.php or there is another ?sory to bother u again,
thanks a lot,
andreePosted 10 months ago # -
one more question please,
i try to add 2 fields in table users, which file i must modified?
is just access_user_class.php or there is another ?Please start a new thread (this would be the third subject for this thread)...
about the mail thing, check the method I have created for phpmailer, if you use the pear class the same way it should be fine...
Posted 10 months ago # -
okey olaf.
thanks a lot for your time.
it's realy big help!,
i will sure to try phpmailer again latter,please ask me if u need suport for your forum/vote or something.
i will pleasure to suport it.best regard,
andree.Posted 10 months ago # -
something else; you can use phpmailer in debugging mode, this way you get more information about what's wrong, add this row to the send_mail method in AU:
$mail->SMTPDebug = true;below the row with the code$mail->IsSMTP();sure you need to send the the mail in smtp mode with this options:
define("USE_PHP_MAILER", true); // true = use phpmailer define("PHP_MAILER_SMTP", true); // true send by SMTP, false = sendmailPosted 10 months ago # -
ok, i will try it.
i read phpmailer installation now,
i don't need to configurate php.ini file for phpmailer installion, right?
or maybe my server mail host was busy.thanks, andree.
Posted 10 months ago # -
"ok, i will try it.
i read phpmailer installation now,
i don't need to configurate php.ini file for phpmailer installion, right?
or maybe my server mail host was busy.
thanks, andree."
andreeNo, never changed something in my php.ini, all the mails are send on your web server. Just be sure that you use the right SMTP settings.
Posted 10 months ago # -
Thanks olaf,
i already try using PEAR and it work well,
the activation mail can sent to my outlook mail,but i will try using PHPMailer in debugging mode as your sugestions,
perhaps it will resolving this problem and error will be revealed.best regard, andree.
Posted 10 months ago # -
hi olaf,
i have try with debugging mode.mail->SMTPDebug = true; add this in au class
define("USE_PHP_MAILER", true); // add this in dbconfig
define("PHP_MAILER_SMTP", true); // add this in dbconfigit works !!
but if the connection to long/slow it will be blank white page.
it's seems the proses to heavy.it's okey..?
Posted 10 months ago # -
sometimes give this error ?
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.nitu.net.id:25
(A connection attempt failed because the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to respond. )
in C:\Program Files\xampp\htdocs\classes\PHPMailer\class.smtp.php on line 122any suggestion ?
thank, andree
Posted 10 months ago #
Reply »
You must log in to post.