-
Notifications
You must be signed in to change notification settings - Fork 0
M_NChronicle_SMTP_Configuration_SmtpChronicleLibraryConfiguration_UsingNetworkMethod_4
Andrew James edited this page Aug 3, 2017
·
1 revision
SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, SecureString, String, Boolean)
Set all emails to be sent via a network connection to an SMTP server.
Namespace: NChronicle.SMTP.Configuration
Assembly: NChronicle.SMTP (in NChronicle.SMTP.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public void UsingNetworkMethod(
string host,
int port,
string username,
SecureString password,
string domain,
bool useSsl = true
)
VB
Public Sub UsingNetworkMethod (
host As String,
port As Integer,
username As String,
password As SecureString,
domain As String,
Optional useSsl As Boolean = true
)
F#
member UsingNetworkMethod :
host : string *
port : int *
username : string *
password : SecureString *
domain : string *
?useSsl : bool
(* Defaults:
let _useSsl = defaultArg useSsl true
*)
-> unit
- host
- Type: System.String
Name or IP address of SMTP server. - port
- Type: System.Int32
Port to connect to the SMTP server via. - username
- Type: System.String
The username for the credentials to authenticate with. - password
- Type: System.Security.SecureString
The password associated with the username for the credentials. - domain
- Type: System.String
The domain associated with the credentials. - useSsl (Optional)
- Type: System.Boolean
Whether emails are to be sent via a secure SSL connection.
SmtpChronicleLibraryConfiguration Class
UsingNetworkMethod Overload
NChronicle.SMTP.Configuration Namespace
NChronicle.SMTP
Send comments on this topic to [email protected]
-
NChronicle.SMTP
- NChronicle.SMTP Namespace
-
NChronicle.SMTP.Configuration Namespace
-
SmtpChronicleLibraryConfiguration Class
-
SmtpChronicleLibraryConfiguration Methods
- SmtpChronicleLibraryConfiguration.AllowingRecurrences Method
- SmtpChronicleLibraryConfiguration.GetSchema Method
- SmtpChronicleLibraryConfiguration.Ignoring Method
- SmtpChronicleLibraryConfiguration.ListeningTo Method
- SmtpChronicleLibraryConfiguration.ListeningToAllLevels Method
- SmtpChronicleLibraryConfiguration.ListeningToAllTags Method
- SmtpChronicleLibraryConfiguration.NotListening Method
- SmtpChronicleLibraryConfiguration.NotUsingSsl Method
- SmtpChronicleLibraryConfiguration.ReadXml Method
- SmtpChronicleLibraryConfiguration.SendingAsynchronously Method
- SmtpChronicleLibraryConfiguration.SendingSynchronously Method
- SmtpChronicleLibraryConfiguration.SuppressingRecurrences Method
-
SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, Boolean)
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, X509Certificate[])
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, SecureString, Boolean)
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, SecureString, X509Certificate[])
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, String, Boolean)
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, String, X509Certificate[])
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, SecureString, String, Boolean)
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, SecureString, String, X509Certificate[])
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, String, String, Boolean)
- SmtpChronicleLibraryConfiguration.UsingNetworkMethod Method (String, Int32, String, String, String, X509Certificate[])
- SmtpChronicleLibraryConfiguration.UsingPickupDirectoryMethod Method
- SmtpChronicleLibraryConfiguration.UsingSsl Method
- SmtpChronicleLibraryConfiguration.WithBody Method
- SmtpChronicleLibraryConfiguration.WithBodyFromFile Method
- SmtpChronicleLibraryConfiguration.WithCredentials Method
- SmtpChronicleLibraryConfiguration.WithCriticalMailPriority Method
- SmtpChronicleLibraryConfiguration.WithDebugMailPriority Method
- SmtpChronicleLibraryConfiguration.WithInfoMailPriority Method
- SmtpChronicleLibraryConfiguration.WithLocalTime Method
- SmtpChronicleLibraryConfiguration.WithNoRecipients Method
- SmtpChronicleLibraryConfiguration.WithRecipients Method
- SmtpChronicleLibraryConfiguration.WithSender Method
- SmtpChronicleLibraryConfiguration.WithSilentTimeout Method
- SmtpChronicleLibraryConfiguration.WithSubjectLine Method
- SmtpChronicleLibraryConfiguration.WithSuccessMailPriority Method
- SmtpChronicleLibraryConfiguration.WithTimeout Method
- SmtpChronicleLibraryConfiguration.WithTimeZone Method
- SmtpChronicleLibraryConfiguration.WithUtcTime Method
- SmtpChronicleLibraryConfiguration.WithWarningMailPriority Method
- SmtpChronicleLibraryConfiguration.WriteXml Method
-
SmtpChronicleLibraryConfiguration Methods
-
SmtpChronicleLibraryConfiguration Class
- NChronicle.SMTP.Delegates Namespace
- NChronicle.SMTP.Extensions Namespace