|
-
Jun 26th, 2000, 09:05 PM
#1
Thread Starter
Member
I'm trying to use MS Outlook to send mail within a VB program, it will send just fine, but I can't seem to get it to place messages into the sent items folder.
Outlook is using a microsoft exchange server and not a dial-up account.
Can anyone help me?
-
Jun 26th, 2000, 10:01 PM
#2
Addicted Member
As far as I know, it's dependent on the settings in your e-mail program - you can't force it to save copies/not save copies in your sent items.
(at least, that's what I was told ages ago when I asked a similar question here)
Visual Basic 6 Enterprise Edition + SP4
-
Jun 26th, 2000, 10:03 PM
#3
Thread Starter
Member
Strange, Outlook does keep the messages in the sent items folder normally. Might it have anything to do with the fact that I'm using MAPI to connect to the exchange server?
-
Jun 27th, 2000, 01:09 AM
#4
I think thats the reason. If you use the outlook object, they will arrive in the send items folder.
-
Jun 27th, 2000, 02:14 AM
#5
Hyperactive Member
I have done some stuff using the outlook object, but how do you attach attachments to a mail??
-
Jun 27th, 2000, 07:43 PM
#6
Thread Starter
Member
As it turns out, I need to keep using MAPI since some users might not be using outlook. I noticed in the MAPI send-mail form you can check an option to place the message in the sent folder. Is there any way (possibly through API calls) to set this option in code without the user having to check it each time?
-
Jun 28th, 2000, 12:19 AM
#7
Thread Starter
Member
Yeah, maybe. I noticed that the MAPI Message object has a CopyTo method. This is supposed to copy the current message to a specified folder using the folder id. This looks like what I need but I don't know how to find the folder id. I've been searching MAPI references all over the place but to no avail.
-
Jun 28th, 2000, 01:46 AM
#8
Hyperactive Member
I have been doing the same so far its a no go on my end.
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
|