IoT::Mailer

class MailerServiceRemoteObject

File Information

Library: IoT/Mailer
Package: Generated
Header: IoT/Mailer/MailerServiceRemoteObject.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: IMailerService, Poco::RemotingNG::RemoteObject

All Base Classes: IMailerService, Poco::OSP::Service, Poco::RefCountedObject, Poco::RemotingNG::Identifiable, Poco::RemotingNG::RemoteObject

Member Summary

Member Functions: remoting__typeId, send

Inherited Functions: duplicate, isA, mutex, referenceCount, release, remoting__enableRemoteEvents, remoting__getURI, remoting__hasEvents, remoting__objectId, remoting__setURI, remoting__typeId, send, type

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < MailerServiceRemoteObject >;

Constructors

MailerServiceRemoteObject

MailerServiceRemoteObject(
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    Poco::SharedPtr < IoT::Mailer::MailerService > pServiceObject
);

Destructor

~MailerServiceRemoteObject virtual

virtual ~MailerServiceRemoteObject();

Member Functions

remoting__typeId virtual inline

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

send virtual inline

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

Queues the given message for delivery.

Securely control IoT edge devices from anywhere   Connect a Device