Package io.micronaut.email.configuration
Class FromConfigurationProperties
java.lang.Object
io.micronaut.email.configuration.FromConfigurationProperties
- All Implemented Interfaces:
FromConfiguration
@Requires(property="micronaut.email.from.email")
@ConfigurationProperties("micronaut.email.from")
public class FromConfigurationProperties
extends Object
implements FromConfiguration
ConfigurationProperties
implementation of FromConfiguration
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PREFIX
From configuration prefix.- See Also:
-
-
Constructor Details
-
FromConfigurationProperties
public FromConfigurationProperties()
-
-
Method Details
-
getEmail
- Returns:
- email address of the contact sending the email.
-
setEmail
Default from email address.- Parameters:
email
- From email address.
-
getName
The name of the contact sending the email.- Returns:
- name of the contact sending the email.
-
setName
- Parameters:
name
- From name
-
getFrom
- Specified by:
getFrom
in interfaceFromConfiguration
- Returns:
- Contact of the person sending the email.
-