Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
CDO email questions
Hi all,
hope that this one is a simple problem. I have been scouring the web looking at CDO and MAPI emailing, and have encountered what may be a classification issue. 1. I call a new Message from CreateObject("CDO.Message") 2. I start a new MAPI.Session and log on successfully to the service. 3. I call the AddressBook, through the MAPI.Session, and then return the Recipient collection from the selected recipients. 4. The problem is that I can't use the recipient.add method to add the recipients from the objRecipColl from the Address Book to the CDO Message. I can do this if I create a MAPI.Message in the Outbox, but then I get all of the Email Warnings in outlook. 5. If i use the To, CC, BCC properties on the CDO message, will it resolve the EX addresses. When I use the send command? Ie. EX:/o=Company/ou=Division/cn=Recipients/cn=Me - I can't seem to get the recipients into the Message, so I'm thinking that a CDO.Message & a MAPI.Message have two different properties when it comes to the recipients. Although everywhere I read, it points towards the same Recipients.Add. I have successfully tested the .to property of the CDO Message, and are able to successfully send the emails. Same with the .Recipients.add of the MAPI message. Any ideas would be great, I have already checked through the MSDN site and Ron's website. So thus is why I believe it may be a classification problem. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using Macro how to create email link for the email addresses in aRange or Selection | Excel Worksheet Functions | |||
Answers to questions posing more questions in a workbook | Excel Worksheet Functions | |||
View Questions and Answer to questions I created | Excel Discussion (Misc queries) | |||
can I copy a column of email addresses, paste into email address? | New Users to Excel | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) |