Config for SMTP

<system.net>
    <mailSettings>
        <smtp deliveryMethod="Network">
            <network
                host="smtp.something.something"
                defaultCredentials="false"
                enableSsl="true"
                password="1122334455"
                port="587"
                userName="postmaster@example.com"
            />
        </smtp>
    </mailSettings>
</system.net>

Comments

Popular posts from this blog

C# Record Serialization

Add timestamp to photo using ImageMagick

Read/write large blob to SQL Server from C#