0.2.2 โข Published 5 years ago
@pardjs/notification v0.2.2
notification
Include mail ๐ฉ and sms ๐ฒ notifications. The notifiaction is a module used to handling Email ans SMS nottifications for pardjs project. it includes.
Usage
CONFIGURATIONS:
- aliAppId: The
appId
for ali services. - aliSecret: The
secret
for ali services. - senderName: The name of the sender
- senderEmail: the sernder email address
- emailTitle: Optional, '้ฎไปถ้็ฅ Email Notification'The default email title
- aliMailTimeout: Optional, 3000the timeout value for aliMail service(ms)
import Notification from '@pardjs/notification';
const notificationSender = new Notification('#CONFIGURATIONS#');