Show / Hide Table of Contents

Interface ISmtpEmailSenderConfiguration

Defines configurations to used by SmtpClient object.

Inherited Members
IEmailSenderConfiguration.GetDefaultFromAddressAsync()
IEmailSenderConfiguration.GetDefaultFromDisplayNameAsync()
Namespace: Volo.Abp.Emailing.Smtp
Assembly: Volo.Abp.Emailing.dll
Syntax
public interface ISmtpEmailSenderConfiguration : IEmailSenderConfiguration

Methods

GetDomainAsync()

Domain name to login to SMTP server.

Declaration
Task<string> GetDomainAsync()
Returns
Type Description
Task<System.String>

GetEnableSslAsync()

Is SSL enabled?

Declaration
Task<bool> GetEnableSslAsync()
Returns
Type Description
Task<System.Boolean>

GetHostAsync()

SMTP Host name/IP.

Declaration
Task<string> GetHostAsync()
Returns
Type Description
Task<System.String>

GetPasswordAsync()

Password to login to SMTP server.

Declaration
Task<string> GetPasswordAsync()
Returns
Type Description
Task<System.String>

GetPortAsync()

SMTP Port.

Declaration
Task<int> GetPortAsync()
Returns
Type Description
Task<System.Int32>

GetUseDefaultCredentialsAsync()

Use default credentials?

Declaration
Task<bool> GetUseDefaultCredentialsAsync()
Returns
Type Description
Task<System.Boolean>

GetUserNameAsync()

User name to login to SMTP server.

Declaration
Task<string> GetUserNameAsync()
Returns
Type Description
Task<System.String>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft