2.3.33 • Published 1 year ago
@hishprorg/expedita-ut-iste v2.3.33
Introduction
This is a simple wrapper of node-ses. It only comtemplates the send email functionality, but later it will be added more. Just ping me or open pull request and contribute :)
Installation
npm install @hishprorg/expedita-ut-iste
Usage
Importing module
import { SesModule } from '@hishprorg/expedita-ut-iste';
@Module({
imports: [
SesModule.forRoot({
secret: '<YOUR SECRET>',
apiKey: '<YOUR API_KEY>',
region: 'eu-west-1',
}),
],
providers: [],
exports: [],
})
export class YourModule {}
Interfaces
interface EmailOptions {
from: string;
to: string;
subject: string;
html?: string;
replyTo?: string;
cc: string;
bcc: string[];
altText?: string;
}
Calling Send Method
import { SesService } from '@hishprorg/expedita-ut-iste';
import { SesEmailOptions } from '@hishprorg/expedita-ut-iste'
@Injectable()
export class YourService {
constructor(private sesService: SesService) {
const options: SesEmailOptions = {
from:'',
to:'',
subject:'',
html:'',
replyTo:'',
cc:'',
bcc:'',
altText:'',
};
await this.sesService.sendEmail(options);
}
Contributing
Contributions welcome! See Contributing.
Notes
This project is not endorsed by or affiliated with AWS.
Author
Nuno Carvalhão Site
License
Licensed under the MIT License - see the LICENSE file for details.
1.2.18
1 year ago
1.2.19
1 year ago
1.3.31
1 year ago
1.3.32
1 year ago
1.2.20
1 year ago
1.2.23
1 year ago
1.2.24
1 year ago
1.3.33
1 year ago
1.2.21
1 year ago
1.2.22
1 year ago
1.2.27
1 year ago
1.2.28
1 year ago
1.2.25
1 year ago
1.2.26
1 year ago
1.2.29
1 year ago
1.2.30
1 year ago
1.2.31
1 year ago
2.3.33
1 year ago
1.2.16
1 year ago
1.2.17
1 year ago
1.2.14
1 year ago
1.2.15
1 year ago
1.2.13
1 year ago
1.2.9
1 year ago
1.2.12
1 year ago
1.2.10
1 year ago
1.2.11
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago