Click here to Skip to main content
12,402,889 members (71,343 online)
Click here to Skip to main content

Tagged as

Stats

70.2K views
2.9K downloads
167 bookmarked
Posted

Understanding the Insides of the SMTP Mail Protocol: Part 1

, 9 Dec 2012 MIT
This article describes the mail sending process using the SMTP mail protocol.
Source
HigLabo.Mail.SampleApplication
HigLabo.Mail.SampleApplication.suo
HigLabo.Mail.SampleApplication.v11.suo
Properties
HigLabo.Mail
Async
Common
HigLabo.Mail.csproj.user
HigLabo.Mail.csproj.vspscc
Imap
Command
Pop3
Command
Properties
Smtp
Command
SendMail
HigLabo.Net
Core
Extensions
HigLabo.Net.csproj.user
HigLabo.Net.csproj.vspscc
HigLabo.Net.Silverlight.csproj.user
HigLabo.Net.Silverlight.csproj.vspscc
HigLabo.Net.WindowsPhone7.csproj.user
HigLabo.Net.WindowsPhone7.csproj.vspscc
Http
OAuth
Properties
Socket
bin
Release
HigLabo.Mail.dll
HigLabo.Mail.SampleApplication.exe
HigLabo.Net.dll
Newtonsoft.Json.dll
HigLabo.Mail.SampleApplication.suo
HigLabo.Mail.SampleApplication.v11.suo
bin
Release
HigLabo.Mail.dll
HigLabo.Net.dll
Newtonsoft.Json.dll
HigLabo.Mail.csproj.user
HigLabo.Mail.csproj.vspscc
bin
Release
de
System.Xml.Linq.resources.dll
es
System.Xml.Linq.resources.dll
fr
System.Xml.Linq.resources.dll
HigLabo.Net.dll
HigLabo.Net.Silverlight.dll
HigLabo.Net.WindowsPhone7.dll
it
System.Xml.Linq.resources.dll
ja
System.Xml.Linq.resources.dll
ko
System.Xml.Linq.resources.dll
Newtonsoft.Json.dll
Newtonsoft.Json.Silverlight.dll
Newtonsoft.Json.WindowsPhone7.dll
ru
System.Xml.Linq.resources.dll
System.Xml.Linq.dll
zh-Hans
System.Xml.Linq.resources.dll
zh-Hant
System.Xml.Linq.resources.dll
HigLabo.Net.csproj.user
HigLabo.Net.csproj.vspscc
HigLabo.Net.Silverlight.csproj.user
HigLabo.Net.Silverlight.csproj.vspscc
HigLabo.Net.WindowsPhone7.csproj.user
HigLabo.Net.WindowsPhone7.csproj.vspscc
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace HigLabo.Net.Imap
{
    /// <summary>
    /// 
    /// </summary>
    public class SelectResult
    {
        /// <summary>
        /// 
        /// </summary>
        public String FolderName { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 Exists { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 Recent { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        public ReadOnlyCollection<String> Flags { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="folderName"></param>
        /// <param name="exists"></param>
        /// <param name="recent"></param>
        /// <param name="flags"></param>
        public SelectResult(String folderName, Int32 exists, Int32 recent, params String[] flags)
        {
            this.FolderName = folderName;
            this.Exists = exists;
            this.Recent = recent;
            this.Flags = new ReadOnlyCollection<string>(new List<string>(flags));
        }
    }
}

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 MIT License

Share

About the Author

Higty
Web Developer
Japan Japan
I'm Working at Software Company in Tokyo.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 10 Dec 2012
Article Copyright 2012 by Higty
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid