Package io.mailtrap.api.sendingemails
Interface SendingEmails
- All Known Implementing Classes:
SendingEmailsImpl
public interface SendingEmails
Interface representing the Mailtrap Sending API for sending emails.
-
Method Summary
-
Method Details
-
send
Sends an email- Parameters:
mail
- The email message to be sent.- Returns:
- A response indicating the result of the send operation.
- Throws:
HttpException
- If there is an HTTP-related error during the send operation.InvalidRequestBodyException
- If the request body is invalid.
-