IoT::Mailer

class IMailerService

File Information

Library: IoT/Mailer
Package: Generated
Header: IoT/Mailer/IMailerService.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

Direct Base Classes: Poco::OSP::Service

All Base Classes: Poco::OSP::Service, Poco::RefCountedObject

Known Derived Classes: MailerServiceRemoteObject

Member Summary

Member Functions: isA, remoting__typeId, send, type

Inherited Functions: duplicate, isA, referenceCount, release, type

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < IMailerService >;

Constructors

IMailerService

IMailerService();

Creates a IMailerService.

Destructor

~IMailerService virtual

virtual ~IMailerService();

Destroys the IMailerService.

Member Functions

isA virtual

bool isA(
    const std::type_info & otherType
) const;

Returns true if the class is a subclass of the class given by otherType.

remoting__typeId static

static const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId();

Returns the TypeId of the class.

send virtual

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

Queues the given message for delivery.

type virtual

const std::type_info & type() const;

Returns the type information for the object's class.

Securely control IoT edge devices from anywhere   Connect a Device