如何在应用程序的后台使用代码 [英] how can use code in background of aappication
本文介绍了如何在应用程序的后台使用代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好先生,
i想知道我将如何在后台使用我的代码...我想向会员发送订阅邮件..但是在后台..请告诉我它是怎么做的要实现
提前感谢:)
Hello sir ,
i want to know how will i use my code in background ... i want to send a subscription mail to members .. but in background .. please tell me how it can be achieve
thanks in advance :)
推荐答案
您可以使用线程以便电子邮件发送操作将异步进行。
参考
Email Asynchrnously [ ^ ]
或者可以使用 SendAsync 方法
SendAsync [ ^ ]
使用asp.net发送异步邮件 [ ^ ]
You can use Threading so that the Email sending operation will be carried out Asynchronously.
Refer
Email Asynchrnously[^]
Or can use SendAsync method
SendAsync[^]
Send asynchronous mail using asp.net[^]
这篇关于如何在应用程序的后台使用代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文