|
-
Oct 12th, 1999, 08:46 AM
#1
Thread Starter
New Member
okay, what i'm trying to do is send email with attachment in VB using the MAPI controls. Here's my code:
MAPISession1.Action = 1
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Action = 6
MAPIMessages1.MsgIndex = -1
MAPIMessages1.MsgSubject = "any title"
MAPIMessages1.AttachmentPathName = sh$
MAPIMessages1.RecipDisplayName = "John Doe"
MAPIMessages1.Action = 2
Problem is, i always get "unspecified error" but when i remove the attachment everything works fine. Anybody have any ideas? please help, thanks.
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
|