OnBeforeMailSendEvent: { timestamp: number; callId: string; data: { from: { name: string; email: string }; to: { name: string; email: string }[]; cc?: { name: string; email: string }[]; bcc?: { name: string; email: string }[]; subject: string; body: string; headers?: { name: string; value: string }[]; editorState?: any } }

Type declaration

  • timestamp: number
  • callId: string

    request id

  • data: { from: { name: string; email: string }; to: { name: string; email: string }[]; cc?: { name: string; email: string }[]; bcc?: { name: string; email: string }[]; subject: string; body: string; headers?: { name: string; value: string }[]; editorState?: any }

    mail data

    • from: { name: string; email: string }
      • name: string
      • email: string
    • to: { name: string; email: string }[]
    • Optional cc?: { name: string; email: string }[]
    • Optional bcc?: { name: string; email: string }[]
    • subject: string
    • body: string
    • Optional headers?: { name: string; value: string }[]

      app custom headers

    • Optional editorState?: any

      app local state associated with the editor instance

Generated using TypeDoc