%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/prodaja/
Upload File :
Create Path :
Current File : //var/www/html/buggydubrovnik.com/prodaja/sendemail1.php

<?php

		date_default_timezone_set('Etc/UTC');

require '../PHPMailer_5.2.1/PHPMailerAutoload.php';

//Create a new PHPMailer instance
$mail = new PHPMailer;

$body="testna poruka";


$mail->IsSMTP(); // telling the class to use SMTP

$mail->SMTPDebug  = 2;                     // enables SMTP debug information (for testing)
                                           // 1 = errors and messages
                                           // 2 = messages only
  $mail->SMTPAuth   = true;                  // enable SMTP authentication

$mail->Host       = "mail.adriatic-explore.com"; // sets the SMTP server

$mail->Port       = 587;                    // set the SMTP port for the GMAIL server

$mail->Username   = "info@adriatic-explore.com"; // SMTP account username

$mail->Password   = "AdExDu333!?";       
			
$mail->SetFrom('info@adriatic-explore.com', 'Adriatic Explore');

$mail->AddReplyTo("info@adriatic-explore.com","Adriatic Explore");

$mail->Subject    = "PUTNI NALOG";

$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test

$mail->MsgHTML($body);

$address = 'ivan.grbavac@energit.biz';
$mail->AddAddress($address, "");


if(!$mail->Send()) {
  echo "Mailer Error: " . $mail->ErrorInfo;
} else {
  echo "Message sent!";
}
    
?>

Zerion Mini Shell 1.0