Solution.
BTW.. The solution to this question was a simple one. Extended Mapi (which Outlook redemption uses) does not work on Outlook installations that are installed with the IMO (internet mail only) option. Something I should have known :-)
George
These questions were totally different (other than having to do with Outlook redemption) and separated by 1 month.
One had to do with emailing attachements and I followed Paul's advice.. didn't think I had to reply to Paul and let him know I was doing so.
The other question had to do with a...
I have done some limited testing on reading address books and sending email using the redemption.dll.
I have run into a problem on a Windows 2000 machine running Outlook 2000.
When I execute the code below… The contact folders are listed with a ZERO (0) count even though there are contact...
This stuff is confusing to me but I got some code to work.. Just don’t ask me to explain it J Dmitry (redemption.dll author) is very good at support.
Here is the code I use.. I had to cut/paste from VB and skipped some code that does to apply to you. I also change the recipient address and...
HI..
First. I am new at this outlook programming stuff.
I have gotten the following sample send code working on my test PC using outlook redemption.
I do have a few questions however.
1. How can I now attach files to the email message? For example if I want to attach file c:\temp\ex.gif and...
That did it. Thanks.
The final working code is below.
One "final" question however.. When I run this I get Microsoft outlook dialog box that says "A program is trying to access e-mail addresses you have stored in Outlook. DO you want to allow this? If this is unexpected, it...
OK.. I made some changed to the code.. A little knowledge is a dangerous thing. Check the attached code out. I replaced the debug statments with the hex code in it with something that seems to work...
I also changed the case statement to make the distribution list a value of 5 (FIVE) when...
I made the change to CdoAddresslistPAB.
Making progress...
Is the Debug.Print "E-mail address: " & objAddrEntry.Fields(&H39FE001E).Value statement still valid now.. It is coming up with a runtime error. [Collaboration Data Objects [ MAPI_E_NOT_FOUND(8004010F)]]
I added
Debug.Print...
Thanks for the code.. I really appreciate the start.
I tried it out and have 2 questions.
1. VB does not like the format of the debug statements
Debug.Print "E-mail address: " & objAddrEntry.Fields (&H39FE0001E)
The field in the parens is supposed to be a variant. Where does this...
Thanks.. Now I am looking for code that will read the users addressbook, including the email distribution lists.
If you know of any on the web... much appreciated.
George
Thanks for the reply.
I am trying to figure out how I can distribute my application to external customers. If they don't have CDO, my program which references it will probably bomb out on startup. Since this is a old application, I can't expect everyone who upgrades will even pay attention to...
I need to write a VB program that will read the users address book.. display it and then allow them to send email with attachments.
I found MAPI code to send email with attachments however the only code I have found to display the addressbook needs CDO 1.21.
I have a couple of questions before...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.