发送电​​子邮件在.NET中,与电子邮件保存在用户的已发送邮件 [英] Send Email in .NET, with email saved in user's Sent Items

查看:374
本文介绍了发送电​​子邮件在.NET中,与电子邮件保存在用户的已发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用VB.NET来发送电子邮件。

I am attempting to send an email using VB.NET.

有两个要求:

  1. 电子邮件保存在他们的已发送邮件文件夹中的Outlook(他们唯一的电子邮件客户端)。
  2. 在一个PDF(飞生成)被附加到电子邮件。

我目前正在创建一个新的 MailMessage &安培;通过 SmtpClient 送,但我相信,此发送来自服务器,而不是从客户端

I am currently creating a new MailMessage & sending via a SmtpClient, but I believe that this sends from the server, and not from the client.

这可能吗?

编辑:这是一个WinForms应用程序,目的是将报告发送给客户

This is a winforms application, the purpose is to send reports to clients.

推荐答案

我认为你需要做1以下,以得到你想要的确切功能:

I think you'd need to do 1 of the following to get the exact functionality you want:

  • 的Outlook互操作
  • 在外汇事件接收器

作为一个更容易的选择,怎么样BCC用户(这将让他们的收件箱),并配置Outlook规则将其移动到已发送邮件?

As a much easier alternative, how about BCC the user (which will get to their Inbox) and configure an Outlook rule to move it to sent items?

这篇关于发送电​​子邮件在.NET中,与电子邮件保存在用户的已发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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