自动转发电子邮件? [英] autoforward emails ?

查看:192
本文介绍了自动转发电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上它将是多线程程序.
我将手动确认该电子邮件并将其添加到主电子邮件中,否则程序可以对其进行自动确认.

电子邮件#1将转发到电子邮件#2,以获得100封电子邮件,之后它将切换到电子邮件#3,转发100封电子邮件,然后切换到电子邮件#4,转发100封电子邮件,依此类推.然后,将所有电子邮件返回至电子邮件#2,并转发另外100封电子邮件


任何人都会建议使用哪种方法以及如何实现该方法.

Basically it will be multithreaded program.
I will manually confirm and add the email to the main email or the program can autoconfirm it.

Email #1 will forward to email #2 for 100 emails, after that it will switch to email # 3 and forward 100 email and then switch to email #4 and forward 100 email and so on. then after all the email it will goes back to email #2 and forward another 100 email


Any one would suggest which method to use and how to implement that thing

推荐答案

使用TASK类-> http://msdn.microsoft.com/en-us/library/system. threading.tasks.task.aspx [ ^ ]

并且如果您真的想要多线程并且正确使用cpu内核,则比使用并行性-> C#中的并行计算 [
use TASK class --> http://msdn.microsoft.com/en-us/library/system.threading.tasks.task.aspx[^]

and if you really want it multithreaded and proper use of your cpu cores than use parallelism --> Parallel Computations in C#[^]


这篇关于自动转发电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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