2.3.0 • Published 2 years ago

@muryllo/mailer v2.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

You will only need an api key provided by SMTP2GO to use the library.

Instalation

Run the following command in your project:

# if you are using npm
npm i @muryllo/mailer
# if you are using yarn
yarn add @muryllo/mailer

Use this code snippet to send your emails, change it as you like and see fit.

const mail: Mailer = Mailer.create()
  .key('<your-api-key>')
  .subject('Teste de Email!')
  .from('Teste', 'test@muryllo.com.br')
  .to('Muryllo Pimenta', 'muryllo.pimenta@upe.br')
  .htmlBody('<h1>Welcome dear ${{ username }}</h1>')
  .set('username', 'Muryllo');

const result: MailerResponse = await mail.send();

console.log(result.success());

Metadata

Muryllo Pimenta de Oliveira – muryllo.pimenta@upe.br

Released under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/MurylloEx/Mailer/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
2.3.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.4

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

0.0.1

3 years ago