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
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