TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Class Email

    Hierarchy

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Send email

      Parameters

      Returns Promise<string>

      { to: "client(at)company.com", subject: "Reports", message: "Hello client, it's your report" }
      { to: ["client(at)company.com", "client2(at)company.com"], subject: "Reports", message: "Hello client, it's your report" }
      { to: "client(at)company.com", subject: "Reports", html: "<p>Hello client, it's your report</p>" }
      { to: "client(at)company.com", template: { name: "my_template" } }
    • Send email

      Parameters

      Returns Promise<string>

      { to: "client(at)company.com", subject: "Reports", message: "Hello client, it's your report" }
      { to: ["client(at)company.com", "client2(at)company.com"], subject: "Reports", message: "Hello client, it's your report" }
      { to: "client(at)company.com", subject: "Reports", html: "<p>Hello client, it's your report</p>" }
      { to: "client(at)company.com", template: { name: "my_template" } }
    • Send email

      Parameters

      Returns Promise<string>

      { to: "client(at)company.com", subject: "Reports", message: "Hello client, it's your report" }
      { to: ["client(at)company.com", "client2(at)company.com"], subject: "Reports", message: "Hello client, it's your report" }
      { to: "client(at)company.com", subject: "Reports", html: "<p>Hello client, it's your report</p>" }
      { to: "client(at)company.com", template: { name: "my_template" } }