Interface MailpitConnectionDetails

All Superinterfaces:
org.springframework.boot.autoconfigure.service.connection.ConnectionDetails

public interface MailpitConnectionDetails extends org.springframework.boot.autoconfigure.service.connection.ConnectionDetails
Connection details for a Mailpit service.

This interface provides the necessary connection information for configuring a mail sender to use Mailpit as the SMTP server in tests.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the SMTP host address.
    Returns the base URL for the Mailpit web interface and REST API.
    int
    Returns the SMTP port.
  • Method Details

    • getHost

      String getHost()
      Returns the SMTP host address.
      Returns:
      the SMTP host
    • getPort

      int getPort()
      Returns the SMTP port.
      Returns:
      the SMTP port
    • getHttpUrl

      String getHttpUrl()
      Returns the base URL for the Mailpit web interface and REST API.
      Returns:
      the HTTP URL (e.g., "http://localhost:32789")