PHP Classes

File: api/library/PHPMailer-master/test.php

Recommend this page to a friend!
  Classes of adriano123456   API Voucher PHP School Management System   api/library/PHPMailer-master/test.php   Download  
File: api/library/PHPMailer-master/test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: API Voucher PHP School Management System
Manage school activities, courses and students
Author: By
Last change:
Date: 1 year ago
Size: 486 bytes
 

Contents

Class file image Download
<?php

//SMTP needs accurate times, and the PHP time zone MUST be set
//This should be done in your php.ini, but this is how to do it if you don't have access to that
date_default_timezone_set('Etc/UTC');

require
'send.php';
$mail->addAddress("sdcomputadores@gmail.com", "Evolutime");
$mail->Subject = utf8_decode("Teste de envio");
// Corpo
$mail->msgHTML(utf8_decode("" .
               
"Primeiro teste"));

if (!
$mail->send()) {
    echo
$mail->ErrorInfo;
} else {
    echo
"OK";
}