Тема: MAPI трабл
Показать сообщение отдельно
Старый 31.03.2003, 13:04   #2  
Wamr is offline
Wamr
----------------
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
 
1,737 / 858 (32) +++++++
Регистрация: 15.01.2002
Адрес: Москва
Записей в блоге: 7
technet
http://technet.navision.com/workspac...tribId=1&wso=1
Цитата:
...
I debugged the code and found, that the problem is in \Classes\SysINetMail\sendMailAttach. If I add the following code everything works just fine, but I don't think, that this is the correct solution. Has anybody experienced the same?

if (!receiver)
{
receiver = new MapiRecipDesc();
receiver.recipClass(#MAPI_TO);
receiver.name("@SYS50902");

sendType = #MAPI_DIALOG;
}
else
{
// USR-Modification on 23 Jan 2001 by Admin - Begin
if (receiver.recipClass() == 0)
receiver.recipClass(#MAPI_TO);
// USR-Modification on 23 Jan 2001 by Admin - End