You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,15 @@ This library is a plugin for [Cofoundry](https://www.cofoundry.org). For more in
11
11
12
12
This library allows you to send mail using the cross platform [MailKit](https://github.com/jstedfast/MailKit) library. By referencing this package your Cofoundry project will automatically replace the default `IMailDispatchService` implementation with one that uses MailKit. Use the following settings to configure the service:
13
13
14
-
-*Cofoundry:Plugins:MailKit:Host* Host address of the smtp server to connect with. Defaults to localhost.
15
-
-*Cofoundry:Plugins:MailKit:Port* The port to connect to the smtp server on. Defaults to 25.
16
-
-*Cofoundry:Plugins:MailKit:EnableSsl* Indicates whether ssl should be used to connect to the host.
17
-
-*Cofoundry:Plugins:MailKit:UserName* The user name to authenticate with the smtp server. If left empty then no auth will be used.
18
-
-*Cofoundry:Plugins:MailKit:Password* The password use when authenticating with the smtp server.
19
-
-*Cofoundry:Plugins:MailKit:CertificateValidationMode* Used to configure how the ssl certificate is validated. `Default` uses the default MailKit validator, which allows valid certificates and self-signed certificates with an untrusted root. `All` ignores all certificate errors. `ValidOnly` allows only valid certificates without errors.
20
-
-*Cofoundry:Plugins:MailKit:Disabled* Indicates whether the plugin should be disabled, which means services will not be bootstrapped. Defaults to false.
14
+
-***Cofoundry:Plugins:MailKit:Host*** Host address of the smtp server to connect with. Defaults to localhost.
15
+
-***Cofoundry:Plugins:MailKit:Port*** The port to connect to the smtp server on. Defaults to 25.
16
+
-***Cofoundry:Plugins:MailKit:EnableSsl*** Indicates whether ssl should be used to connect to the host.
17
+
-***Cofoundry:Plugins:MailKit:UserName*** The user name to authenticate with the smtp server. If left empty then no auth will be used.
18
+
-***Cofoundry:Plugins:MailKit:Password*** The password use when authenticating with the smtp server.
19
+
-***Cofoundry:Plugins:MailKit:CertificateValidationMode*** Used to configure how the ssl certificate is validated. `Default` uses the default MailKit validator, which allows valid certificates and self-signed certificates with an untrusted root. `All` ignores all certificate errors. `ValidOnly` allows only valid certificates without errors.
20
+
-***Cofoundry:Plugins:MailKit:Disabled*** Indicates whether the plugin should be disabled, which means services will not be bootstrapped. Defaults to false.
21
21
22
22
23
23
## Custom Connection Configuration
24
24
25
-
For more control over how MailKit initializes and connects to the smtp host you can override the default`ISmtpClientConnectionConfiguration` implementation using the [Cofoundry DI system](https://github.com/cofoundry-cms/cofoundry/wiki/Dependency-Injection#overriding-registrations).
25
+
For more control over how MailKit initializes and connects to the smtp host you can implement your own`ISmtpClientConnectionConfiguration` and override the default implementation using the [Cofoundry DI system](https://github.com/cofoundry-cms/cofoundry/wiki/Dependency-Injection#overriding-registrations).
0 commit comments