CDO 1.21

V

vb

Hi All,
I am developing a client application which will be running on PCs where
Outlook is installed. I am using CDO 1.21 to send emails. I want to see that
the addresses can be selected from the address book. There will be a
situation where "To" address can be selected from either the Outlook Address
Book or email address can be entered manually ( (e-mail address removed) - external
to company). CC and BCC addresses should be internal addresses only.

The way I am sending emails with "To" address as the external to the domain
is
olMessage.Recipients.Add "(e-mail address removed)". olMessage is of type
MAPI.Message.

This code is working on the dev machine but not any other machine. I am not
sure what is wrong/missing. The code is failing at olMessage.Send with "EFAIL
error".

Any ideas?

thanks
vb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top