IoT::Mailer

class MailerService

File Information

Library: IoT/Mailer
Package: MailerService
Header: IoT/Mailer/MailerService.h

Description

The MailerService is used to send emails via an SMTP server (using the OSP Mail or SecureMail service).

It provides a simplified, Remoting-based API that allows the service to be used in JavaScript.

Inheritance

Known Derived Classes: MailerServiceImpl

Member Summary

Member Functions: send

Types Aliases

Ptr

using Ptr = Poco::SharedPtr < MailerService >;

Constructors

MailerService

MailerService();

Creates the MailerService.

Destructor

~MailerService virtual

virtual ~MailerService();

Destroys the MailerService.

Member Functions

send virtual

virtual void send(
    const Message & message
) = 0;

Queues the given message for delivery.

Securely control IoT edge devices from anywhere   Connect a Device