fr.sii.ogham.email.sender.impl.sendgrid.client.SendGridClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ogham-email-sendgrid Show documentation
Show all versions of ogham-email-sendgrid Show documentation
SendGrid implementation for Ogham
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