• 大小: 0.20M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-26
  • 语言: C#
  • 标签: 邮件  实例  服务  权限  

资源简介

C#编写的winds服务,针对超出规则的用户发送提醒,如果提醒后三个工作日中没进行处理则禁用用户权限

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Net.Mail;
using sampleAlter;
//using System.Web.Security;
//using System.Web.UI;
//using System.Web.UI.WebControls;
//using System.Web.UI.WebControls.WebParts;
//using System.Web.UI.HtmlControls;
///  /// MailInfo 的摘要说明 /// 
namespace SampleEmail
{
    public  partial class MailInfo
    {
        private  string smtpmailserver; //发送邮件服务器
        private string smtpmail;       //发送邮件地址
        private string smtpmailusr;  //发送邮件账号
        private string smtpmailpwd;    //发送邮件密码

        /// 
        /// 从数据库取邮件参数
        /// 

        /// 
        public bool   getpar(string smtpmailserver string smtpmail string smtpmailusr string smtpmailpwd)
        {
            this.smtpmailserver = smtpmailserver;
            this.smtpmail = smtpmail;
            this.smtpmailusr = smtpmailusr;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      28672  2008-07-25 11:17  sampleAlter\sampleAlter\bin\Debug\InstallUtil.exe

     文件      39208  2015-01-16 16:18  sampleAlter\sampleAlter\bin\Debug\InstallUtil.InstallLog

     文件      53248  2015-01-16 17:15  sampleAlter\sampleAlter\bin\Debug\sampleAlter.exe

     文件      36281  2015-01-16 16:18  sampleAlter\sampleAlter\bin\Debug\sampleAlter.InstallLog

     文件       5011  2015-01-16 16:18  sampleAlter\sampleAlter\bin\Debug\sampleAlter.InstallState

     文件     151040  2015-01-16 17:15  sampleAlter\sampleAlter\bin\Debug\sampleAlter.pdb

     文件      11592  2015-01-17 09:02  sampleAlter\sampleAlter\bin\Debug\sampleAlter.vshost.exe

     文件        490  2007-07-21 02:33  sampleAlter\sampleAlter\bin\Debug\sampleAlter.vshost.exe.manifest

     文件         27  2015-01-14 15:54  sampleAlter\sampleAlter\bin\Debug\setup.bat

     文件         30  2015-01-14 15:57  sampleAlter\sampleAlter\bin\Debug\UnInstall.text

     文件      46080  2015-01-16 16:31  sampleAlter\sampleAlter\bin\Release\sampleAlter.exe

     文件     126464  2015-01-16 16:31  sampleAlter\sampleAlter\bin\Release\sampleAlter.pdb

     文件       3843  2015-01-16 15:36  sampleAlter\sampleAlter\MailInfo.cs

     文件     128849  2015-01-16 15:36  sampleAlter\sampleAlter\MSDBHelper.cs

     文件     129043  2015-01-16 15:37  sampleAlter\sampleAlter\MSDBHelperOffice.cs

     文件        555  2015-01-16 15:31  sampleAlter\sampleAlter\obj\Debug\sampleAlter.csproj.FileListAbsolute.txt

     文件        858  2015-01-16 15:31  sampleAlter\sampleAlter\obj\Debug\sampleAlter.csproj.GenerateResource.Cache

     文件      53248  2015-01-16 17:15  sampleAlter\sampleAlter\obj\Debug\sampleAlter.exe

     文件     151040  2015-01-16 17:15  sampleAlter\sampleAlter\obj\Debug\sampleAlter.pdb

     文件        180  2015-01-16 17:15  sampleAlter\sampleAlter\obj\Debug\sampleAlter.ProjectInstaller.resources

     文件        496  2015-01-16 17:15  sampleAlter\sampleAlter\obj\Debug\sampleAlter.Properties.Resources.resources

     文件        555  2015-01-17 13:55  sampleAlter\sampleAlter\obj\Debug\SampleEmail.csproj.FileListAbsolute.txt

     文件        858  2015-01-16 17:15  sampleAlter\sampleAlter\obj\Debug\SampleEmail.csproj.GenerateResource.Cache

     文件       4608  2015-01-15 13:51  sampleAlter\sampleAlter\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        571  2015-01-15 17:03  sampleAlter\sampleAlter\obj\Release\sampleAlter.csproj.FileListAbsolute.txt

     文件        858  2015-01-15 17:03  sampleAlter\sampleAlter\obj\Release\sampleAlter.csproj.GenerateResource.Cache

     文件      46080  2015-01-16 16:31  sampleAlter\sampleAlter\obj\Release\sampleAlter.exe

     文件     126464  2015-01-16 16:31  sampleAlter\sampleAlter\obj\Release\sampleAlter.pdb

     文件        180  2015-01-16 16:31  sampleAlter\sampleAlter\obj\Release\sampleAlter.ProjectInstaller.resources

     文件        496  2015-01-16 16:31  sampleAlter\sampleAlter\obj\Release\sampleAlter.Properties.Resources.resources

............此处省略33个文件信息

评论

共有 条评论