Autor Wiadomość
Gala
PostWysłany: Nie 18:23, 12 Lis 2006    Temat postu: Konfiguracja mailera

Nalezy dokonac malych zmian w mailerconfig.php:
Kod:
<?php
require_once('class.phpmailer.php');
$mail = new PHPMailer();

$mail -> PluginDir = "./phpmailer/";
$mail -> SetLanguage("pl", "./mailer/language/");
$mail -> CharSet = "iso-8859-2";
$mail -> IsSMTP();
$mail -> Host = "smtp host np. smtp.poczta.onet.pl";
$mail -> SMTPAuth = true;
$mail -> Username = "poczta np. pmkkoch@vp.pl";
$mail -> Password = "Hasło np. kuperek";
$mail -> From = $gamemail;
$mail -> FromName = $gamename;
$mail -> AddAddress($adress);
$mail -> WordWrap = 50;
$mail -> Subject = $subject;
$mail -> Body = $message;

?>

Powered by phpBB © 2001, 2005 phpBB Group