![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm running Outlook 2003 on Exchange 2003 server.
I would like to schedule an automated email that will be send out to the same recipients with the same msg everyday from Mon-Fri in the morning based on a reoccuring item I enter into my calendar. All I have so far is the following code. How do I tell Outlook to determine which reoccuring calendar item I want this message to be sent. Private Sub Application_Reminder(ByVal Item As Object) Dim objMsg As MailItem ' create new outgoing message Set objMsg = Application.CreateItem(olMailItem) ' your reminder notification address objMsg.To = " objMsg.CC = " objMsg.Subject = "Reminder: " & Item.Subject ' handle calendar items that can generate reminders Select Case Item.Class Case olAppointment '26 objMsg.Body = _ "Start: " & Item.Start & vbCrLf & _ "End: " & Item.End & vbCrLf & _ "Location: " & Item.Location & vbCrLf & _ "Details: " & vbCrLf & Item.Body End Select ' send the message objMsg.Send Set objMsg = Nothing End Sub |
Ads |
#2
|
|||
|
|||
![]()
A+P wrote:
I'm running Outlook 2003 on Exchange 2003 server. I would like to schedule an automated email that will be send out to the same recipients with the same msg everyday from Mon-Fri in the morning based on a reoccuring item I enter into my calendar. All I have so far is the following code. How do I tell Outlook to determine which reoccuring calendar item I want this message to be sent. Private Sub Application_Reminder(ByVal Item As Object) Dim objMsg As MailItem ' create new outgoing message Set objMsg = Application.CreateItem(olMailItem) ' your reminder notification address objMsg.To = " objMsg.CC = " objMsg.Subject = "Reminder: " & Item.Subject ' handle calendar items that can generate reminders Select Case Item.Class Case olAppointment '26 objMsg.Body = _ "Start: " & Item.Start & vbCrLf & _ "End: " & Item.End & vbCrLf & _ "Location: " & Item.Location & vbCrLf & _ "Details: " & vbCrLf & Item.Body End Select ' send the message objMsg.Send Set objMsg = Nothing End Sub news://msnews.microsoft.com/microsof...ok.program_vba may be a better group. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
email a calendar page | SUEP | Outlook - Calandaring | 1 | October 30th 06 04:30 PM |
is there a way to email and outlook calendar. | dakotagirl | Outlook - Calandaring | 1 | September 14th 06 03:02 AM |
Outlook calendar email | HKA | Outlook - Calandaring | 1 | April 19th 06 01:31 PM |
Dragging an email to the Calendar drops the email body text | yan | Outlook - Calandaring | 2 | February 1st 06 02:23 AM |
How Do I Email a Calendar | Debbie | Outlook - Calandaring | 0 | January 10th 06 12:15 AM |