All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.ogham.email.sender.impl.sendgrid.client.SendGridClient Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package fr.sii.ogham.email.sender.impl.sendgrid.client;

import com.sendgrid.SendGrid;
import com.sendgrid.SendGridException;

/**
 * Description of the operations a service backed with SendGrid should expose.
 */
public interface SendGridClient {

    /**
     * Sends the provided email to SendGrid.
     * 
     * @param email
     *            the email to send, cannot be {@code null}
     * @throws SendGridException
     *             an unexpected error occurred when trying to send the email
     */
    void send(SendGrid.Email email) throws SendGridException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy