0

I would like to add a non-editable text block with some text in it to mail body. Is it possible to do so as shown in this sample project. If so how do I add the non-editable text to the body of mail So far to send the mail I have this code provided:

var mailto = new Uri("mailto:?to=recipient@example.com&subject=The subject of an email&body=Hello from a Windows 8 Metro app."); 
await Windows.System.Launcher.LaunchUriAsync(mailto);
4

1 回答 1

0

如何创建(只读)文本的图像并将其添加到电子邮件中。

&attachment="/path/file.jpg"

我肯定编写了更糟糕的代码;)

或者也许使用 mime ...

创建像这样的图像:

Bitmap bm = new Bitmap(100, 100);
using (Graphics g = Graphics.FromImage(bm))
    g.DrawString("some text", SystemFonts.DefaultFont, Brushes.Black, 0, 0);

bm.Save( .... );
于 2013-09-02T20:07:17.297 回答