-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc677f7
commit 809c9ff
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); |