Skip to content

Uses configuration builders to generate an smtp section in the web config based on app settings.

License

Notifications You must be signed in to change notification settings

stormid/storm-configurationbuilders-smtp

Repository files navigation

Storm.ConfigurationBuilders.Smtp

Build Status

Uses configuration builders added in .Net 471 to create a SMTP section in the web.config using values set in AppSettings. Useful for changing SMTP settings between environments.

Setup

All necessary classes and config changes should be added as part of the package installation, all that remains is to fill in the following keys in the AppSettings section with the appropriate values.

    <add key="Smtp:Host" value="localhost" />
    <add key="Smtp:Port" value="25" />
    <add key="Smtp:Username" value="" />
    <add key="Smtp:Password" value="" />
    <add key="Smtp:EnableSsl" value="false" />

About

Uses configuration builders to generate an smtp section in the web config based on app settings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published