..\www\solicitudes\index.php
..\www\solicitudes\conexion.php
..\www\solicitudes\PHPMailer\all the files descompressed from the downloaded zip https://github.com/PHPMailer/PHPMailer
I am having troubles instantiating the PHPMailer class, in conexion.php file I write the following line:
require_once('PHPMailer/PHPMailerAutoload.php');
and this error is showed
Fatal error: Class 'PHPMailer' not found in C:\AppServ\www\SolicitudesBE\conexion.php on line 58
I have changed the locatation of the file without success
require_once('PHPMailer/PHPMailerAutoload.php');
//require_once('PHPMailer/class.phpmailer.php');
$mail = new PHPMailer;
$mail->IsSMTP();
//$mail->SMTPDebug = 2;
$mail->SMTPAuth = false;
$mail->SMTPSecure = "tls";
$mail->Host = "correo.domain.org.mx";
$mail->Port = 25;
$mail->Username = "julio.castor@domain.mx";
$mail->Password = "pass";
$mail->SetFrom('correo@domain.com', 'Julio Castor');
$mail->Subject = $asunto;
Has any body can help me with this issue? By the way, this project works fine in others computers as server (local) but when I upload to the server (Windows server 2003) the error is showed.
I cannot get access to the server yet but as I can, where could I look for to configure the server?