Class SmtpCredential
Simple Mail Transfer Protocol (SMTP) credentials are needed to send email through Email Delivery.
The SMTP credentials are used for SMTP authentication with the service. The credentials never expire.
A user can have up to 2 SMTP credentials at a time.
Note: The credential set is always an Oracle-generated SMTP user name and password pair;
you cannot designate the SMTP user name or the SMTP password.
For more information, see Managing User Credentials.
Inheritance
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class SmtpCredential : object
Properties
Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description you assign to the SMTP credential. Does not have to be unique, and it's changeable.
|
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the SMTP credential. |
InactiveStatus
Declaration
public System.Nullable<long> InactiveStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The detailed status of INACTIVE lifecycleState. |
LifecycleState
Declaration
public System.Nullable<SmtpCredential.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<SmtpCredential.LifecycleStateEnum> | The credential's current state. After creating a SMTP credential, make sure its |
Password
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The SMTP password. |
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time the |
TimeExpires
Declaration
public System.Nullable<System.DateTime> TimeExpires { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time when this credential will expire, in the format defined by RFC3339.
Null if it never expires.
|
UserId
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the user the SMTP credential belongs to. |
Username
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String | The SMTP user name. |