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
Creates a IMailerService.
Destructor
~IMailerService
virtual ~IMailerService();
Destroys the IMailerService.
Member Functions
isA
bool isA(
const std::type_info & otherType
) const;
Returns true if the class is a subclass of the class given by otherType.
See also: Poco::OSP::Service::isA()
remoting__typeId
static const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId();
Returns the TypeId of the class.
send
virtual void send(
const IoT::Mailer::Message & message
) = 0;
Queues the given message for delivery.
type
const std::type_info & type() const;
Returns the type information for the object's class.
See also: Poco::OSP::Service::type()