|
-
August 20th, 2004, 06:20 AM
#4
Hi Jovan,
Just to check some code with you, are you using a reference to Micrsoft Outlook or are you using the MAPI Controls in VB ?
Below is example of code I use , using the reference to the MS Oulook Library.
Code:
Dim ol As Outlook.Application
Dim m_Item As Outlook.MailItem
Set m_Item = ol.CreateItem(olMailItem)
m_Item.Subject = "Email Subject"
m_Item.Body = "This is an example Email"
m_Item.Recipients.Add "Ken Judge"
m_Item.Send
Set m_Item= Nothing
Set ol = Nothing
One thing I have noticed is when I was checking this code, If I was in the Outbox and highlighted an email waiting to be sent, it would change it from being Italic to Standard, thought nothing of it, until I noticed the email was never sent until I re-clicked the Send/Receive button. Just something I noticed ....
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
|