• 大小: 0.03M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: Email  邮件  发送  

资源简介

外国人写的email 发送程序

Usually, when we send an email, we need to login to a known email service provider's SMTP server and deliver the email
using that server. If we add the send email functionality to a software, the user needs to configure an SMTP server address,
the username, and the password. Why not send an email to the receiver's SMTP server directly? Because the receiver's server
doesn't need authorization, otherwise you can only receive email when the sender knows your account password. I think
many programmers have been asking this question, so I explored the issue.

资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;

namespace QiHe.CodeLib
{
    /// 
    /// Represents the file type.
    /// 

    public enum FileType 
    {
        /// 
        /// Txt file
        /// 

        Txt
        /// 
        /// Rtf file
        /// 

        Rtf
        /// 
        /// Html file
        /// 

        Html
        /// 
        /// xml file
        /// 

        xml
        /// 
        /// PDF file
        /// 

        PDF
        /// 
        /// Bin file
        /// 

        Bin
        /// 
        /// Zip file
        /// 

        Zip
        /// 

        /// I

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       36864  2008-06-05 15:24  bin\Release\EmailSender.exe
     文件        9116  2008-05-16 15:46  CodeLib\FileSelector.cs
     文件        4577  2008-06-04 13:24  CodeLib\Net\Dns\DnsMessage.cs
     文件       14351  2008-06-04 19:33  CodeLib\Net\Dns\DnsMessageCoder.cs
     文件        2802  2008-06-04 15:53  CodeLib\Net\Dns\DnsQuery.cs
     文件        1170  2008-06-04 15:08  CodeLib\Net\Dns\DnsResource.cs
     文件         511  2008-06-04 13:39  CodeLib\Net\Dns\MailExchange.cs
     文件       10225  2008-06-05 13:53  CodeLib\Net\DomainNameUtil.cs
     文件        2815  2008-06-04 19:13  CodeLib\Net\EmailSender.cs
     文件        1793  2008-06-05 15:24  MiscTools\EmailSender\MainForm.cs
     文件       11463  2008-06-05 15:24  MiscTools\EmailSender\MainForm.Designer.cs
     文件         495  2008-06-04 17:53  MiscTools\EmailSender\Program.cs
     文件        5814  2008-06-05 15:24  MiscTools\EmailSender\MainForm.resx
     文件        6218  2006-11-07 13:25  UI\Controls\FileBrower.cs
     文件        5814  2006-11-07 11:58  UI\Controls\FileBrower.resx
     文件        3503  2008-06-04 19:06  EmailSender.csproj
     文件         910  2008-06-04 17:51  EmailSender.sln

评论

共有 条评论