-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmtpEmailProviderOptions.cs
More file actions
46 lines (40 loc) · 1.52 KB
/
SmtpEmailProviderOptions.cs
File metadata and controls
46 lines (40 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// <copyright file="SmtpEmailProviderOptions.cs" company="Moonrise Software, LLC">
// Copyright (c) Moonrise Software, LLC. All rights reserved.
// Licensed under the GNU Public License, Version 3.0 (https://www.gnu.org/licenses/gpl-3.0.html)
// See https://github.com/MoonriseSoftwareCalifornia/CosmosCMS
// for more information concerning the license and the contributors participating to this project.
// </copyright>
namespace Cosmos.EmailServices
{
/// <summary>
/// SMTP Email client properties.
/// </summary>
public class SmtpEmailProviderOptions
{
/// <summary>
/// Gets or sets the efault "from" email address.
/// </summary>
public string? DefaultFromEmailAddress { get; set; }
/// <summary>
/// Gets or sets sMTP Host name.
/// </summary>
public string? Host { get; set; }
/// <summary>
/// Gets or sets account user name.
/// </summary>
public string? UserName { get; set; }
/// <summary>
/// Gets or sets sMTP Host password.
/// </summary>
public string? Password { get; set; }
/// <summary>
/// Gets or sets SMTP Port.
/// </summary>
public int Port { get; set; }
/// <summary>
/// Gets or sets a value indicating whether use SSL for communications?.
/// </summary>
/// <remarks>Default is false because TLS is the default mode.</remarks>
public bool UsesSsl { get; set; } = false; // Uses TLS by default
}
}