我想使用ShellExecute,以便用户可以从他的默认电子邮件程序发送电子邮件;例如空白字符ofr在电子邮件中的ShellExecute正文
const
CRLF = '%0D%0A';
var
Body: string;
begin
Body := 'Information from my program'+CRLF+
'that is put in the body of the email';
ShellExecute(Application.Handle, 'open', PChar('?Subject=My Subject&Body=' +
Body),nil, nil, SW_SHOWNORMAL);
我想用信息列格式化正文。我怎样才能放入一个白色空间?看起来,%20将为单一空间工作 - 有时候,但它不适用于行首或多个连续空间。这种“”不字符串内工作,要么:(
检查%09(制表符)? –