使用asp.net通过路径在电子邮件中附加文件 [英] Attaching file in email using asp.net through path
本文介绍了使用asp.net通过路径在电子邮件中附加文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在电子邮件应用程序中通过路径动态附加文件.
How can i attach a file dynamically through path in email application.
推荐答案
^ ]
http://www.aspdotnet-suresh.com/2012/07/how-to-send-mail-with-multiple.html [
http://www.c-sharpcorner.com/uploadfile/anjudidi/send-multiple-email-at-the-same-time-in-Asp-Net-with-attached-file/[^]
http://www.aspdotnet-suresh.com/2012/07/how-to-send-mail-with-multiple.html[^]
mail.Attachments.Add(new Attachment(" C:\\ Documents and设置\\ RanjithKumar.k \\ Desktop \\ Ranjith.xls));
mail.Attachments.Add(new Attachment("C:\\Documents and Settings\\RanjithKumar.k\\Desktop\\Ranjith.xls"));
这篇关于使用asp.net通过路径在电子邮件中附加文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文