Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-31-2017, 07:17 AM
Xandler Xandler is offline Scheduling a recurring email using VBA Windows 10 Scheduling a recurring email using VBA Office 2016
Novice
Scheduling a recurring email using VBA
 
Join Date: Jul 2017
Posts: 2
Xandler is on a distinguished road
Default Scheduling a recurring email using VBA

Okay, I'm using Outlook 2016 and I want to schedule a recurring e-mail to go out to a GROUP and not individual email addresses, but for some reason it will only deliver it to a single e-mail address (as I've tested multiple times already this morning), I'm wondering how I can edit the VBA code to make it send it to the group or more than 1 email address. The code I'm using is one I found off a tutorial on how to do the this so it may be wrong but it is as follows:



Code:
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
Any help to solve this conundrum I'm having would be appreciated!

The link to the tutorial I found can be located here: https://www.extendoffice.com/documen...ing-email.html
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling question mayachen1@gmail.com Project 4 05-06-2017 03:32 PM
Scheduling a recurring email using VBA Nurse Scheduling Help nishatian1 Excel 3 12-01-2015 02:22 PM
Scheduling of Tasks asmith1977 Project 0 01-27-2011 11:13 AM
Scheduling of presentations browe PowerPoint 0 12-14-2010 06:02 PM
Meeting scheduling - what rooms are available jgerrish Outlook 0 02-12-2010 02:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft