Skip to content

Commit

Permalink
Update:README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusmattosrj committed Jan 24, 2018
1 parent cc677f7 commit 809c9ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $email->sendEmail("SUbject", "Content", "[email protected]", "Replay Name", "addre
Note que toda a configuração do envio do e-mail está utilizando o método mágico construtor! Uma vez invocado o método construtor dentro da sua aplicação, seu sistema estará apto a efetuar os disparos.

### Developers
* [Vinicius Mattos] - Desenvolvedor desta biblioteca e tutor do curso Composer na Prática!
* [Vinicius Mattos] - Desenvolvedor desta biblioteca
* [Fernanda Moreira] - CEO and Founder FM Coaching e DH
* [FM Coaching e DH] - Site oficial da sua escola de treinamento e desenvolvimento
* [phpMailer] - Lib to send E-mail
Expand Down
5 changes: 3 additions & 2 deletions test/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

use Notification\Email;

$novoEmail = new Email(2,"smtp.gmail.com","e-mail-disparo","#senha","tls","587","e-mail-destinatario","Nome Ser exibido");
$novoEmail->sendMail("Assunto Teste","<p>Esse é um e-mail de <b>teste</b>!</p>","[email protected]","Nome Remetente","email.destinatario@gmail.com", "Nome Destinatário"););
$email = new Email(2, "mail.host.com", "[email protected]", "your-pass", "smtp secure (tls/ssl)", "port (587)",
"from@email.com", "From Name");

$email->sendEmail("SUbject", "Content", "[email protected]", "Replay Name", "[email protected]", "Address Name");

var_dump($novoEmail);

0 comments on commit 809c9ff

Please sign in to comment.