Options
All
  • Public
  • Public/Protected
  • All
Menu
class
classdesc

Contains methods when a mail is to be sent

Hierarchy

  • mailingService

Index

Properties

Static groupChatsUsers

groupChatsUsers: any = []

Static p2pChatsUsers

p2pChatsUsers: any = []

Methods

Static sendEmailtoOfflineUsers

  • sendEmailtoOfflineUsers($user: any, $data: any): Promise<void>
  • function

    sendEmailtoOfflineUsers

    description

    Sends an email to offline users from a particular conversation group in which the message is sent

    Parameters

    • $user: any

      User details of the request sender

    • $data: any

      Details of a particular message that the users' must be notified via email

    Returns Promise<void>

Static sendOfflineUserEmail

  • sendOfflineUserEmail(emailIds: string | string[], $user: any, group: any): Promise<void>
  • function

    sendOfflineUserEmail

    description

    Sends an e-mail to users who are offline, if a message is sent to them

    Parameters

    • emailIds: string | string[]

      EmailID(s) where the mails are to be sent

    • $user: any

      User details of the request sender

    • group: any

      Conversation details

    Returns Promise<void>

Generated using TypeDoc