-=HELLBENDER=- Posted November 11, 2006 Report Share Posted November 11, 2006 Varu pateigt tikai 2 lietas!!! Vinjs (e107) njemaas ar saviem smtp un neizmanto php.ini kaa ari atradu redigjeejamo vietu bet nezinu kur tieshi un kas kaa ari kaa jaraxta lai to smtp izmainiitu... if($mailheader_e107id){ $mail->AddCustomHeader("X-e107-id: {$mailheader_e107id}"); } if ($pref['mailer']== 'smtp') { $mail->Mailer = "smtp"; $mail->SMTPKeepAlive = FALSE; $mail->Host = $pref['smtp_server']; if($pref['smtp_username'] && $pref['smtp_password']){ $mail->SMTPAuth = TRUE; $mail->Username = $pref['smtp_username']; $mail->Password = $pref['smtp_password']; $mail->PluginDir = e_HANDLER."phpmailer/"; } } elseif ($pref['mailer']== 'sendmail'){ $mail->Mailer = "sendmail"; $mail->Sendmail = ($pref['sendmail']) ? $pref['sendmail'] : "/usr/sbin/sendmail -t -i -r ".$pref['siteadminemail']; } else { $mail->Mailer = "mail"; } $to_name = ($to_name) ? $to_name: $send_to; $mail->CharSet = CHARSET; $mail->From = ($send_from)? $send_from: $pref['siteadminemail']; $mail->FromName = ($from_name)? $from_name: $pref['siteadmin']; $mail->Host = $pref['smtp_server']; $mail->Subject = $subject; Mans smtp username - nav :D pass- nav :D mysql username - root pass- nav :D smtp hosts- mail.ilva.lv mans e-mail- lauris3722@inbox.lv mosk juus redigjeejiet un ielieciet jau... Link to comment Share on other sites More sharing options...
andrisp Posted November 11, 2006 Report Share Posted November 11, 2006 Moš vienkārši sameklē, kur tiek definēts $pref masīvs un parediģē ? Gan jau ka kautkāds config.php vai setup.php fails vien būs. Link to comment Share on other sites More sharing options...
-=HELLBENDER=- Posted November 11, 2006 Author Report Share Posted November 11, 2006 (edited) Paldies!!! ps. aks jaaraxta pie username un password ja taads man nav??? JO SMTP veeljoprojaam nejiet :@ Tagad iskataas shaadi if ($pref['mailer']== 'smtp') { $mail->Mailer = "smtp"; $mail->SMTPKeepAlive = [b]FALSE[/b]; $mail->Host = $pref['mail.ilva.lv']; if($pref['smtp_username'] && $pref['smtp_password']){ $mail->SMTPAuth = TRUE; $mail->Username = $pref['']; $mail->Password = $pref['']; $mail->PluginDir = e_HANDLER."phpmailer/"; Kkas nepareizi? Edited November 11, 2006 by -=HELLBENDER=- Link to comment Share on other sites More sharing options...
andrisp Posted November 11, 2006 Report Share Posted November 11, 2006 Visticamāk, ka tev lietotājvārds un parole vispār nav jāizmanto. Pamēģini: $mail->SMTPAuth = FALSE; Un to usernae un password vispār izdzēs. Link to comment Share on other sites More sharing options...
Recommended Posts