Skip to content

Include mail 📩 and sms 📲 notifications.

License

Notifications You must be signed in to change notification settings

pardjs/notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notification

styled with prettier Greenkeeper badge Travis Coveralls

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, 3000]the timeout value for aliMail service(ms)
import Notification from '@pardjs/notification';

const notificationSender = new Notification('#CONFIGURATIONS#');

About

Include mail 📩 and sms 📲 notifications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published