Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Builder

Install

npm i @uon/email

Usage

import { EmailMessage } from '@uon/email';

const msg = new EmailMessage()
    .from('me@me.com')
    .to('example@example.com')
    .subject('Hello World!')
    .html('<h1>Hi!</h1>')
    .text('Hi!')
    .attachment({
        name: 'image.png',
        mime: 'image/png',
        data: img_buffer
    });

const msg_buffer = msg.render();

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages