如何编写C#代码向您的主管发送电子邮件以批准计划并且计划被批准使用C#发送有关计划状态的电子邮件通知 [英] How do write C# code to send an email to your superviser for approval of plan and the plan is approved send email notification about the plan status using C#

查看:56
本文介绍了如何编写C#代码向您的主管发送电子邮件以批准计划并且计划被批准使用C#发送有关计划状态的电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好



正在开发一个在Visual Studio 15上使用devExpress Framework 16.2开发的项目。正在运行的任务是用户的功能当我点击保存按钮完成创建我的计划时创建一周或一个月的工作计划应用程序必须向我的直线经理发送电子邮件以批准我的计划,在我的计划批准后,应用程序必须向我发送通知计划的现状。我想用C#来编写这段代码并插上devexpress任何帮助。



我尝试过:



我试图使用deexpress工作流但我没有赢得

Good morning

am working on a project that is developed using devExpress Framework 16.2 on Visual studio 15. the task that am working is the functionality for a user to create a work plan for the week or month when done creating my plan when I click the save button the application must send an email to my line manager for approval of my plan, after the approval of my plan the application must send me a notification about the status of the plan. I want to use C# to used to write this code and plug to devexpress any help please.

What I have tried:

I tried to use deexpress workflow but I didn't win

推荐答案

发送邮件很容易,检索是一个有点复杂。这是一个lib,可以帮助您处理项目的邮件端: GitHub - jstedfast / MailKit:一个用于IMAP的跨平台.NET库, POP3和SMTP。 [ ^ ]
Sending mail is easy, retrieving is a bit more complex. Here is a lib that will help you handle the mail side of your project: GitHub - jstedfast/MailKit: A cross-platform .NET library for IMAP, POP3, and SMTP.[^]


这篇关于如何编写C#代码向您的主管发送电子邮件以批准计划并且计划被批准使用C#发送有关计划状态的电子邮件通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆