PHP Classes

File: src/envia_email.php

Recommend this page to a friend!
  Classes of Rodrigo Faustino   PHP 2FA   src/envia_email.php   Download  
File: src/envia_email.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP 2FA
Send messages using Gmail 2 Factor Authentication
Author: By
Last change:
Date: Yesterday
Size: 213 bytes
 

Contents

Class file image Download
<?php
require '../vendor/autoload.php';

use
App\Services\EmailService;

$emailService = new EmailService();
$emailService->sendEmail('rodrigohipnose@gmail.com', 'Teste de E-mail', 'Este é um e-mail de teste.');