Y
yjbin
Unregistered / Unconfirmed
GUEST, unregistred user!
我编的程序里要加一个功能:当点击菜单中某项时,将调用Email程序去写新信,
除了地址外,其它的Subject,Body我都帮他写好了。Subject反正只有一行内容,Body里的内容是多行的,我需要能换行。但在里面加上/r/n或<br>等都无法实现换行,请问大家该如何解决?以下是代码段:
#define TellFriend_Url "mailto: ?subject=try acdsee(a free see picture tool),it will help you.&body=Hi,I think the tool can help you.It is the most popular software.Now it has version 4.0.You can download it at http://www.downme.com/download/"
void __fastcall TForm1::TellFriendMenuClick(TObject *Sender)
{
ShellExecute(Handle,NULL,TellFriend_Url,NULL,NULL,SW_SHOWNORMAL);
}
在outlook里可以看email的源码,是html的语法格式,里面是用<div>line1</div>来换行.
但在程序里加<div>等字符串后,调用Email后只会把它当作是要显示的字符串。
除了地址外,其它的Subject,Body我都帮他写好了。Subject反正只有一行内容,Body里的内容是多行的,我需要能换行。但在里面加上/r/n或<br>等都无法实现换行,请问大家该如何解决?以下是代码段:
#define TellFriend_Url "mailto: ?subject=try acdsee(a free see picture tool),it will help you.&body=Hi,I think the tool can help you.It is the most popular software.Now it has version 4.0.You can download it at http://www.downme.com/download/"
void __fastcall TForm1::TellFriendMenuClick(TObject *Sender)
{
ShellExecute(Handle,NULL,TellFriend_Url,NULL,NULL,SW_SHOWNORMAL);
}
在outlook里可以看email的源码,是html的语法格式,里面是用<div>line1</div>来换行.
但在程序里加<div>等字符串后,调用Email后只会把它当作是要显示的字符串。