From
Extend Office post:
In Microsoft Outlook, you can easily send a schedule recurring appointment, meeting or task to others. But if you just want to send a schedule recurring email without any appointment, meeting or task, how can you do? Unfortunately, Outlook provides no feature for sending schedule recurring email, but in our tutorial, we will show you how to send a schedule recurring email in Outlook.
Send A Schedule Recurring Email In Outlook With VBA Code
This tutorial is divided into four parts, you will succeed to send a schedule recurring email after finish these parts. Please do as follows.
First Part: Create a new appointment
1. Please navigate to the Calendar view by clicking Calendar in the Navigation Pane, and then create a new appointment by clicking New Appointment under Hometab.
3. In the Appointment dialog under Appointment tab. You need to:
A: Type in the Subject | B: Enter the recipients’ email addresses in the Location |
C: Configure the Start time and the End time | D: Select the reminder under the Reminder drop-down list. If you choose 15 minutes, it means it will remind you 15 minutes early when the email is sent. |
E: Compose your Appointment body. |
Note: The Appointment Subject will become the recurring email subject; and the Appointment body will become the recurring email body when the recipients received the email.
Second Part: Create a new category
Now you need to create a new category named “Send Schedule Recurring Email” as follows:
1. In the Appointment dialog, please click Categorize > All Categories in the Tags group under Appointment tab.
2. When the Color Categories dialog popping up, please click New button. In the Add New Category dialog, type “Send Schedule Recurring Email” in the Namefield; and then choose a color in the Color drop-down list. Then click OK.
3. Then you will see the “Send Schedule Recurring Email” category is listed out, please check the box, and then click OK button.
Third Part: Set the Recurrence
Now, it is time to set the recurrence for the appointment.
1. Click Recurrence in the Options group under Appointment tab. See screenshot:
2. In the Appointment Recurrence dialog, configure your Recurrence pattern. If you need an end time, please configure it under Range of recurrence. And then click OK.
3. When it returns to the Appointment dialog, please click Save & Close button. See screenshot:
Last: Use the VBA code for sending the Schedule Recurring Email
1. Please press Alt + F11 to open the Microsoft Visual Basic for Applications dialog.
2. Double click on Project1 > Microsoft Outlook Object > ThisOutlookSession in the left pane. See screenshot:
3. Copy and paste the following VBA code to the VBA editor. And then click Save button.
VBA: sending schedule recurring email
1
2
3
4
5
6
7
8
9
10
11
|
Private Sub Application_Reminder( ByVal Item As Object )
Dim MItem As MailItem
Set MItem = Application.CreateItem(olMailItem)
If Item.MessageClass <> "IPM.Appointment" Then Exit Sub
If Item.Categories <> "Send Schedule Recurring Email" Then Exit Sub
MItem. To = Item.Location
MItem.Subject = Item.Subject
MItem.Body = Item.Body
MItem.Send
Set MItem = Nothing
End Sub
|
When the Reminder popping up, the email will be automatically sent to the recipients which you have typed in the Location field in the first part. Then click Dismiss in the Reminder dialog. And the email will be sent recurring every day in this time. See screenshot:
Note: The VBA code was successfully tested in Outlook 2010.