highlight_file(__FILE__); reire_once('class. Phpmailer. Php'); $mail = new PHPMailer(); $mail->charset='utf-8'; $mail->IsSMTP(); $mail->SMTPDebug = 2; $mail->SMTPAuth = true; $mail->Host = " http://mail.uzanti.com/?fref=gc"; $mail->Port = 25; $mail->Username = "info@satisislemi. Com"; $mail->Password = "123456"; $body = 'Mail Eklentisi'; $mail->SetFrom('info@satisislemi. Com','fikret'); $mail->AddAdress("fikretyn@hotmail. Com","ali"); $mail->Subject = "eklentili mail"; $mail->AltBody = "text mesaj"; $mail->MsgHTML($body); $mail->AddAttachment('class. Phpmailer. Php'); if (!$mail->Send()) { echo "mail Gönderilemedi"; }else{ echo "mail gönderildi"; } ?> #
highlight_file(__FILE__);
reire_once('class. Phpmailer. Php');
$mail = new PHPMailer();
$mail->charset='utf-8';
$mail->IsSMTP();
$mail->SMTPDebug = 2;
$mail->SMTPAuth = true;
$mail->Host = " http://mail.uzanti.com/?fref=gc";
$mail->Port = 25;
$mail->Username = "info@satisislemi. Com";
$mail->Password = "123456";
$body = 'Mail Eklentisi';
$mail->SetFrom('info@satisislemi. Com','fikret');
$mail->AddAdress("fikretyn@hotmail. Com","ali");
$mail->Subject = "eklentili mail";
$mail->AltBody = "text mesaj";
$mail->MsgHTML($body);
$mail->AddAttachment('class. Phpmailer. Php');
if (!$mail->Send()) {
echo "mail Gönderilemedi";
}else{
echo "mail gönderildi";
}
?> #