Click here to Skip to main content
15,880,608 members
Articles / Web Development / ASP.NET

Email Sending Library

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
14 Sep 2013CPOL3 min read 28.6K   522   13  
Provides ready to use library for sending email using SMTP
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="Core.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="SPPLABS.Core.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <Core.Properties.Settings>
            <setting name="LogFileName" serializeAs="String">
                <value>Dev_Log</value>
            </setting>
        </Core.Properties.Settings>
    </userSettings>
    <applicationSettings>
        <SPPLABS.Core.Properties.Settings>
            <setting name="LogFileName" serializeAs="String">
                <value>Dev_Log</value>
            </setting>
            <setting name="LogFileDirectory" serializeAs="String">
                <value>C:\Logs\</value>
            </setting>
            <setting name="EmailUsername" serializeAs="String">
                <value>tester000@gmail.com</value>
            </setting>
            <setting name="EmailPassword" serializeAs="String">
                <value>000tester</value>
            </setting>
            <setting name="EmailDisplayName" serializeAs="String">
                <value>Email Functionality Demo</value>
            </setting>
            <setting name="EmailHost" serializeAs="String">
                <value>smtp.gmail.com</value>
            </setting>
            <setting name="EmailPort" serializeAs="String">
                <value>587</value>
            </setting>
        </SPPLABS.Core.Properties.Settings>
    </applicationSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
I am a senior software developer. I work for a web development company as team lead. Most of the solutions developed by myself are for web using DotNet Framework but do have keen interest in developing for mobile app as well. At work I am responsible to provide solutions to clients and work with dynamic teams developing for web and mobile. I have been closely working with teams and mentoring them developing in technologies like ASP.Net and PHP for Web and Objective C, Android SDK and cross platform Mobile app.

I like to try my hands-on various other web and mobile development technologies. My current interests apart from ASP.Net (WebForms, MVC and DotNet Core) is for NodeJS, Angular, React and Typescript for developing Web and Mobile Apps. I have been constantly exploring new technologies and implementations for CI/CD, Source Control & Versioning and Automation. Also, looking forward to work on Bots, Machine learning, IoT, VR & AR.

I use tools to do my work and suit my workflows. I was made aware of blogging during my training at Aptech and has been constantly working on having blogs for myself and my work. Including this blog there are few more links of my online presence mentioned below.

Comments and Discussions