Показать сообщение отдельно
Старый 21.06.2007, 17:30   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
axcoder: Sending attachments using the "mailto:" protocol
Источник: http://axcoder.blogspot.com/2007/06/...ng-mailto.html
==============

It works with Outlook at least. I think this example job is enough

static void Test_MailTo(Args _args)
{
str recepient='mbelugin@gmail.com';
str subject = 'Test';
str attachment = @'c:\AUTOEXEC.BAT';
str url = strFmt(
'mailto:%1?Subject=%2&attachments=""%3""',

recepient,
subject,
attachment
);
;
WinApi::shellExecute(url);
}

Источник: http://axcoder.blogspot.com/2007/06/...ng-mailto.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.