OpenAPI 1.0

com.aquafold.openapi.mail
Interface AQMail


public interface AQMail

This interface provides email functionality. An instance of an object implementing this interface is available via aqua.mail alias.


Method Summary
 AQSmtpServer getDefaultSmtpServer()
          Returns the instance of the default SMTP server.
 AQMailQueue newMailQueue()
          Constructs an instance of a mail queue.
 AQMailMessage newMessage()
          Constructs an empty mail message.
 AQSmtpServer newSmtpServer()
          Constructs an uninitialized instance of an SMTP mail server.
 

Method Detail

newMessage

AQMailMessage newMessage()
Constructs an empty mail message.


getDefaultSmtpServer

AQSmtpServer getDefaultSmtpServer()
Returns the instance of the default SMTP server. Please see AQSmtpServer for how to locate the settings of the default SMTP server.


newSmtpServer

AQSmtpServer newSmtpServer()
Constructs an uninitialized instance of an SMTP mail server. Application can create its own SMTP server to deliver emails by calling newSmtpServer() to create an object, and then using AQSmtpServer's setter methods to configure the SMTP object just created.


newMailQueue

AQMailQueue newMailQueue()
Constructs an instance of a mail queue.


OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.