IDeliveryServiceClient

All Implemented Interfaces: com.aspose.ms.System.IDisposable

public interface IDeliveryServiceClient extends System.IDisposable

Represents contract for DeliveryServiceClient

Methods

Method Description
send(MailMessage message) Sends email synchronously
send(MailMessage message, List tags, CancellationToken token) Sends email synchronously

send(MailMessage message)

public abstract DeliveryServiceResponse send(MailMessage message)

Sends email synchronously

Parameters:

Parameter Type Description
message MailMessage The MailMessage that represents an email-message.

Returns: DeliveryServiceResponse -

send(MailMessage message, List tags, CancellationToken token)

public abstract DeliveryServiceResponse send(MailMessage message, List<String> tags, CancellationToken token)

Sends email synchronously

Parameters:

Parameter Type Description
message MailMessage The MailMessage that represents an email-message.
tags java.util.List<java.lang.String>
token com.aspose.email.CancellationToken

Returns: DeliveryServiceResponse -