![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 22.07.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam !
Od pewnego czasu mam problem z wysłaniem meila za pomocą PMPMailer'a, proszę o pomoc. Kod require('includes/PHPMailer/class.phpmailer.php'); include('modules/'.$modul.'/languages/'.$_SESSION['language'].'/register_mail.php'); $mail = new PHPMailer(); $mail -> Host = "poczta.interia.pl"; $mail -> IsSMTP(); $mail -> SMTPAuth = true; $mail -> Username = "Mój_login_do_poczty"; $mail -> Password = "Moje_hasło_do_poczty"; $mail -> CharSet = "".$Config['Iso'].""; $mail -> From = "".$Config['Email'].""; $mail -> FromName = "".$Config['Name'].""; $mail -> AddAddress($_POST['email']); $mail -> IsHTML(true); $mail -> SetLanguage("pl", "includes/PHPmailer/language/"); $mail -> Subject = $GiboLanguage['RegisterTitle']; $mail -> Body = $GiboLanguage['RegisterContent']; $mail -> WordWrap = 50; if(!@$mail->Send()) { echo "Nie wysłano wiadomości"; } else { echo "Wiadomość wysłana"; } Z góry dziękuję. |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 384 Pomógł: 13 Dołączył: 16.06.2006 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 22:20 |