|
-
Dec 15th, 1999, 03:19 AM
#1
Thread Starter
Addicted Member
I want to create a system where I can email a user. Can I write this in code. Example: the time is 12:00 am. Send Steve and email that says the time is 12:00. I know how to do everything but create and send the email?
Thanks for any help
-
Dec 15th, 1999, 03:29 AM
#2
Hyperactive Member
Hi,
Check out "Automating OutLook with OLE" in the tips section of this board. Page 4 shows some code.
Al.
------------------
A computer is a tool, not a toy.
-
Dec 15th, 1999, 04:35 PM
#3
Lively Member
This is how I would send an email through Outlook 98. (Remember and reference the Microsoft Oulook 98 Object Model in your project)
Code:
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olMailItem)
myItem.To = "Steve"
myItem.Body = "The time is 12.00 am"
myItem.Send
------------------
Ishamel
[email protected]
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
|