|
-
Jan 10th, 2001, 03:04 AM
#1
Thread Starter
New Member
how do I attach a file to the email.
I am using the CDO libary,
I dimmed the following:
dim objSession as MAPI.Session
dim objMessage as MAPI.Message
Create the Session:
Set objSession = CreateObject("Mapi.Session")
log onto session:
objSession.Logon SETTINGS
strUserName = objSession.CurrentUser
created the message and fill in its properties:
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = txtSubject.Text
objMessage.Text = txtMessage.Text
objMessage.Attachments.Add ??????
I don't know how assign and load the file I want into the message.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|