打开Outlook新邮件窗口已填写的内容 [英] To open outlook new email window with content already filled

查看:599
本文介绍了打开Outlook新邮件窗口已填写的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何能实现电子邮件功能,其中:

How can I implement email functionality, where:

当我点击一个asp按钮,一个新的电子邮件窗口从code已经添加的背后(包括地址,发件人地址,主题和正文)中的所有内容中打开。

When I click on an asp button, a new email window opens with all the content already added from code behind( including To address, From address, Subject and Body).

但电子邮件不应被自动发送。它要求用户点击发送按钮。

But the email should not be sent automatically. It requires user to click send button.

的目的是,管理员可以在发送给用户之前修改邮件内容。

The purpose is, admin can modify the email content before sending to users.

有没有人曾在类似的功能,可以帮助或者给我如何实现它?想法

Has anyone worked on similar functionality and can help or give me idea on how to implement it ?

推荐答案

我觉得你不需要ASP.NET这一点。所有你需要的是的mailto ,提供正确的参数。

I think you do not need ASP.NET for this. All you need is mailto with the right parameters.

Example: 

<a href="mailto:someone@example.com?Subject=Hello%20again&body=This%20is%20body">
Send Mail</a>

这将发送电子邮件至someone@example.com主题为你好和身体这是身体。您还可以使用CC参数添加CC电子邮件。

This will send email to someone@example.com with subject "Hello" and body "This is body". You can also use CC parameter to add CC emails.

这个链接更多信息

一个相关的问题,可以帮助如何正确连接codeA的mailto链接?

A related question that may help How do I properly encode a mailto link?

这篇关于打开Outlook新邮件窗口已填写的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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