R
ryotyankou
I'm using VC++2005 and ATL to develop a outlook addin. I have two problems:
1. I want to get the sender name of CurrentItem when send mail(outlookspy). I
searched a lot on the internet. Finally i use the MAPI to get it, it is ok,
but the receiver can't open the message(encrypted).
What i do is that MailItem->Save, then getprops InetAcct_GUID = { 0x00062008,
0x0000, 0x0000, { 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } };id =
0x8581; I don't know the reason. How could i get the sender string?
2. How could i set the account to send email in background? Say i have two
accounts A and B, A is the default account, when C send a mail to B, I want
to use B automatically reply a message to C. But the default account is A,
how could i use B to send it?
Any tips or advices will be good, thx.
1. I want to get the sender name of CurrentItem when send mail(outlookspy). I
searched a lot on the internet. Finally i use the MAPI to get it, it is ok,
but the receiver can't open the message(encrypted).
What i do is that MailItem->Save, then getprops InetAcct_GUID = { 0x00062008,
0x0000, 0x0000, { 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } };id =
0x8581; I don't know the reason. How could i get the sender string?
2. How could i set the account to send email in background? Say i have two
accounts A and B, A is the default account, when C send a mail to B, I want
to use B automatically reply a message to C. But the default account is A,
how could i use B to send it?
Any tips or advices will be good, thx.