|
-
Jan 10th, 2001, 02:11 AM
#1
Thread Starter
New Member
the app send an email message but it won't attach a file to the email. Here is the code I am using to attach the file.
I don't know if I am using this right or not.
Dim objSession As MAPI.Session
Dim objMessage As MAPI.Message
'create a message and fill in its properties
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = txtSubject.Text
objMessage.Text = txtMessage.Text
objMessage.Attachments.Add "C:\file.dat"
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
|