IDeliveryServiceClient

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

public interface IDeliveryServiceClient extends System.IDisposable

Represents contract for DeliveryServiceClient

Methods

MethodDescription
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:

ParameterTypeDescription
messageMailMessageThe 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:

ParameterTypeDescription
messageMailMessageThe MailMessage that represents an email-message.
tagsjava.util.List<java.lang.String>
tokencom.aspose.email.CancellationToken

Returns: DeliveryServiceResponse -