Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help sending email from Access 2003 with external attachments 2

Status
Not open for further replies.

BrooksR

Programmer
Feb 24, 2001
98
US
Trying to find a reliable method to do this.

1. SendObject will not work with external files and supposedly is not reliable after A97.

2. Have been trying CDO samples without luck. Got error:
"the SendUsing configuration is invalid"
then tried a sample which included:
objMessage.Configuration.Fields.Item(" = 2
objMessage.Configuration.Fields.Item(" = "email IP"
objMessage.Configuration.Fields.Item(" = 25
objMessage.Configuration.Fields.Update

and got the error: ""the transport failed to connect to the server"
Does CDO require Exchange Server? I don't have Exchange on my PC. CDO would be fine if it can be made to work.

3. Would Outlook 2003 be a good option? What reference do I need to set for the object Outlook.Application?

Any ideas or suggestions appreciated!
 
You have to replace 'email IP' with the IP address of your smtp server.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks, Remou. CDO is installed. I get no errors when referring to the CDO objects.

For the Outlook code, what reference do I need to set for Outlook.Application to work?

Brooks
 
PH, THANKS!!!

That did it.

CDO was already on my machine.

Where does CDO come from? Windows XP? Office 2003?

Where do I install it from if my end users don't have it?

Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top