clauses
form_Recips(Prev_list,[],_,Prev_list):-!.
form_Recips(Prev_list,[Address|L],AddrType,[E|Recips]):-% SMTP_addr = string8::mapFromString(string::format("SMTP:%s", Address)),% E = mapirecipdesc(0,AddrType,string8::mapFromString(Address),SMTP_addr,0,null), % remplace this line by the next for M$ Outlook 2013E= mapirecipdesc(0,AddrType,string8::mapFromString(Address),string8::mapFromString(""),0,null),
form_Recips(Prev_list,L,AddrType,Recips).
If you've a better solution, don't hesitate to post it.
Last edited by Tonton Luc on 30 Apr 2014 8:29, edited 1 time in total.
When you send a mail using SMAPI + Microsoft Oulook 2013, all enclosed files are replacing by a "winmail.dat" in the mail.
In this case, if the recipient has Microsoft Outlook => there is no problem because Microsoft Outlook knows how to decrypt "winmail.dat", but if he has Outlook Express (or others), it can't read "winmail.dat".
clauses
fillMapifiledescItem(Arrayfiles,PathName,Name)=NextArrayfiles:-% Flags = 0, Position = 0, % this line need to be change !!!Flags=0,Position=0xFFFFFFFF,NextArrayfiles= memory::append(Arrayfiles, uncheckedConvert(pointer, mapifiledesc(0,Flags,Position, string8::mapFromString(PathName), string8::mapFromString(Name), null)),
sizeofdomain(mapifiledesc)).