Перейти до основного матеріалу

Як надіслати графік періодичного електронного листа в Outlook?

У Microsoft Outlook ви можете легко надіслати іншим повторний графік зустрічей, зустрічей або завдань. Але якщо ви просто хочете надіслати регулярний електронний лист за розкладом без будь-якої зустрічі, зустрічі чи завдання, як ви можете це зробити? На жаль, Outlook не надає жодної функції для надсилання періодичних електронних листів за розкладом, але в нашому підручнику ми покажемо вам, як відправляти регулярні електронні листи за розкладом в Outlook.

Надішліть регулярний електронний лист за розкладом в Outlook із кодом VBA

Легко надсилайте розклад повторюваних листів у Outlook за допомогою чудового інструменту


Надішліть регулярний електронний лист за розкладом в Outlook із кодом VBA

Цей підручник розділений на чотири частини, після завершення цих частин вам вдасться надіслати регулярний електронний лист за розкладом. Будь ласка, виконайте наступне.

Частина 1: Створіть нову зустріч

1. Будь ласка, перейдіть до Календар переглянути, натиснувши Календар в Область переходів, а потім створіть нову зустріч, натиснувши Нове призначення при Головна Вкладка.

3 В Призначення діалогове вікно під Призначення вкладку. Тобі потрібно:

В: Введіть Тема B: Введіть адреси електронної пошти одержувачів у Місцезнаходження
C: Налаштуйте Час початку і Час закінчення D: Виберіть нагадування під Нагадування випадаючий список.
Якщо ви виберете 15 хвилин, це означає, що це буде нагадувати вам на 15 хвилин раніше, коли електронний лист буде відправлений.
E: Складіть своє тіло призначення.

примітки: Тема призначення стане повторюваною темою електронної пошти; та Призначення органу стане повторюваним тілом електронної пошти, коли одержувачі отримали електронне повідомлення.

Частина 2: Створіть нову категорію

Тепер вам потрібно створити нову категорію з назвою “Надіслати графік періодичного електронного листа”Наступним чином:

1 В Призначення діалогове вікно, натисніть Узагальнити > всі категорії в Теги група під Призначення Вкладка.

2 Коли Категорії кольорів спливаюче діалогове вікно, натисніть Нові кнопку. В Додати нову категорію діалогове вікно, введіть “Надіслати графік періодичного електронного листаІМ'Я поле; а потім виберіть колір у Колір випадаючий список. Потім клацніть OK.

3. Тоді ви побачите “Надіслати графік періодичного електронного листаКатегорія вказана, встановіть прапорець і натисніть OK кнопки.

Частина 3: Встановіть повторення

Тепер настав час встановити повторність зустрічі.

1. клацання Повторення в Опції група під Призначення вкладку. Дивіться знімок екрана:

2 В Рецидив призначення діалогове вікно, налаштуйте Повторення візерунок. Якщо вам потрібен час завершення, налаштуйте його під Діапазон рецидивів. А потім клацніть OK.

3. Коли він повернеться до Призначення діалогове вікно, натисніть Зберегти та закрити кнопку. Дивіться знімок екрана:

Частина 4: Використовуйте код VBA для надсилання електронної пошти за розкладом

1. Будь ласка, натисніть інший + F11 відкрити Microsoft Visual Basic для додатків діалог

2. Двічі клацніть на Project1 > Об'єкт Microsoft Outlook > ThisOutlookSession на лівій панелі. Дивіться знімок екрана:

3. Скопіюйте та вставте наступний код VBA у редактор VBA. А потім клацніть зберегти кнопки.

VBA: надсилання регулярного електронного листа за розкладом

Private Sub Application_Reminder(ByVal Item As Object)
'Updated by Extendoffice 20200522
Dim xMailItem As MailItem
Dim xItemDoc As Word.Document
Dim xNewDoc As Word.Document
Dim xFldPath As String
On Error Resume Next
If Item.Class <> OlObjectClass.olAppointment Then Exit Sub
If Item.Categories <> "Send Schedule Recurring Email" Then Exit Sub
Set xMailItem = Outlook.Application.CreateItem(olMailItem)
Set xItemDoc = Item.GetInspector.WordEditor
xFldPath = CStr(Environ("USERPROFILE"))
xFldPath = xFldPath & "\MyReminder"
If Dir(xFldPath, vbDirectory) = "" Then
    MkDir xFldPath
End If
xFldPath = xFldPath & "\AppointmentBody.xml"
xItemDoc.SaveAs2 xFldPath, wdFormatXMLDocument ' wdFormatXML
Set xNewDoc = xMailItem.GetInspector.WordEditor
VBA.DoEvents
xNewDoc.Application.Selection.HomeKey
xNewDoc.Activate
xNewDoc.Application.Selection.InsertFile FileName:=xFldPath, Attachment:=False
With xMailItem
    .To = Item.Location
    .Recipients.ResolveAll
    .Subject = Item.Subject
    .Send
End With
Set xMailItem = Nothing
VBA.Kill xFldPath
End Sub

4. клацання Tools > посилання відкрити посилання - Проект діалогове вікно. У діалоговому вікні позначте Бібліотека об’єктів Microsoft Word та натисніть кнопку OK кнопки.

5 Натисніть кнопку інший + Q клавіші одночасно, щоб закрити Microsoft Visual Basic для додатків вікна.

Коли Нагадування спливаючи, електронний лист буде автоматично надісланий одержувачам, яких ви ввели в поле Розташування в першій частині. Потім клацніть відхиляти в Нагадування діалогове вікно. І електронне повідомлення буде надсилатися щотижня в цей час. Дивіться знімок екрана:

примітки: Код VBA був успішно протестований в Outlook 2010 та пізніших версіях.


Легко надсилайте розклад повторюваних листів у Outlook за допомогою чудового інструменту

Для багатьох користувачів Outlook вищевказаний метод надто нудний, щоб його можна було правильно обробляти. Тут настійно рекомендую Запланувати автоматичну відправку особливість Kutools для Outlook. За допомогою цієї функції ви можете легко створювати кілька повторюваних електронних листів і планувати їх регулярне надсилання через щоденні, щотижневі, місячні чи щорічні інтервали. Будь ласка, зробіть наступне, щоб це зробити.

До завантажити Kutools для Outlook і спробуй.

1. клацання Кутулс > Запланувати автоматичну відправку > Створіть розклад автоматичних надсилань.

2. Після цього відкриється вікно повідомлення, і вам потрібно:

2.1) Виберіть одержувачів електронної пошти в папці До, Копія or Бек необхідних полів, а потім заповніть електронний лист предмет;
2.2) Скласти тіло електронної пошти;
2.3) Клацніть Повторення під Kutools Повторюється вкладку. Дивіться знімок екрана:

3. Тепер Повторення електронних листів з'явиться діалогове вікно, потрібно вказати повторюваний час, повторюваний шаблон і діапазон рецидивів для електронної пошти, а потім натисніть кнопку OK кнопки.

4. Тепер він повертається у вікно повідомлення, клацніть Зберегти та закрити кнопку, щоб зберегти повторювані налаштування та закрити вікно.

Порада: Ви можете повторити вищезазначені кроки з 1 по 4, щоб створити кілька повторюваних листів, як вам потрібно.

5. Тепер увімкніть цю функцію, натиснувши Кутулс > Запланувати автоматичну відправку > Увімкнути

6. На відкритті Kutools для Outlook діалогове вікно натисніть кнопку ОК.

Після завершення вищезазначених налаштувань повторювані електронні листи будуть автоматично надсилатися після досягнення зазначеної дати та часу.

Примітка: Ви можете легко керувати своїми повторюваними електронними листами наступним чином.

1. клацання Кутулс > Запланувати автоматичну відправку > Керуйте розкладом автоматичних надсилань.

2 В Редагувати розклад автоматичних надсилань вікно, можна створити new повторювана електронна пошта, редагувати, видаляти, ввімкнути or від існуючий повторюваний електронний лист, як вам потрібно. Або ви можете натиснути кнопку Ввійти , щоб переглянути історію надсилання повторюваних листів.

Натисніть, щоб дізнатись більше про цю функцію.

  Kutools для Outlook включає 100+ потужних функцій для Microsoft Outlook. Безкоштовно спробувати без обмежень протягом 60 днів. Завантажити зараз!


Найкращі інструменти продуктивності офісу

Kutools для Outlook - Понад 100 потужних функцій, які покращать ваш Outlook

🤖 AI Mail Assistant: Миттєві професійні електронні листи з магією штучного інтелекту – геніальні відповіді одним клацанням, ідеальний тон, багатомовна майстерність. Трансформуйте електронну пошту без зусиль! ...

???? Автоматизація електронної пошти: Поза офісом (доступно для POP та IMAP)  /  Розклад надсилання електронних листів  /  Автоматична копія/прихована копія за правилами під час надсилання електронної пошти  /  Автоматичне пересилання (розширені правила)   /  Автоматично додавати привітання   /  Автоматично розділяйте електронні листи кількох одержувачів на окремі повідомлення ...

📨 Управління електронною поштою: Легко відкликайте електронні листи  /  Блокуйте шахрайські електронні листи за темами та іншими  /  Видалити повторювані електронні листи  /  розширений пошук  /  Консолідація папок ...

📁 Вкладення ProПакетне збереження  /  Пакетне від'єднання  /  Пакетний компрес  /  Автозавантаження   /  Автоматичне від'єднання  /  Автокомпресія ...

???? Магія інтерфейсу: 😊Більше красивих і класних смайликів   /  Підвищте продуктивність Outlook за допомогою вкладок  /  Згорніть Outlook замість того, щоб закривати ...

👍 Дива в один клік: Відповісти всім із вхідними вкладеннями  /   Антифішингові електронні листи  /  🕘Показувати часовий пояс відправника ...

👩🏼‍🤝‍👩🏻 Контакти та календар: Пакетне додавання контактів із вибраних електронних листів  /  Розділіть групу контактів на окремі групи  /  Видаліть нагадування про день народження ...

більше Особливості 100 Чекайте на ваше дослідження! Натисніть тут, щоб дізнатися більше.

 

 

Comments (171)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Bonjour,
J'utilise outlook depuis peu, et j'ai découvert cette manipulation pour envoyer un mail récurrent. Cela a très bien fonctionné la première fois, mais je ne comprends pas, ça ne fonctionne plus. Cela a peut-être de l'importance, mais comme je travaille sur 2 ordinateurs différents, le code VBA a aussi été intégré sur ma deuxième session outlook. Auriez-vous une explication je vous prie ?
Merci d'avance
This comment was minimized by the moderator on the site
Hi Pink,
Which Outlook version are you using? Is there a reminder dialog box popping up afterwards?
This comment was minimized by the moderator on the site
This feature does not work for me no matter what I do and from the above thread, it doesn't look like they are attempting to fix it much less address it--I don't see any responses from the developer.

It's too bad because everything else with this product works very well.
This comment was minimized by the moderator on the site
Hi Rhonda Corn,
Can you provide the emails under the following folder path?
You can compress it and send it to
C:\Users\User Name\AppData\Roaming\ExtendOffice\OutlookKutools\KTORecurringEmail
This comment was minimized by the moderator on the site
How do I get this to run 2 different scheduled emails?
This comment was minimized by the moderator on the site
Hi, 
When I put recipients names into "location" it changes "appointment" to "meeting" invite, is this working as intended? It doesn't allow me to "save and close", but rather "send" the invite now which is not what I want to do.
This comment was minimized by the moderator on the site
Hi,Appointments are not changed to meetings when entering content into the Location field. 
This comment was minimized by the moderator on the site
I scheduled the reoccurring email however instead of sending email on the 30th it sent it today. I checked the settings and is set to send email on 30th at 10 am. Instead it sent the email on the 17th at 5:45 PM
This comment was minimized by the moderator on the site
Hi Leah,Sorry for the trouble, the problem you described cannot be reproduced. Here suggest using the relevant function of KTO to send a schedule recurring email.
This comment was minimized by the moderator on the site
I’m trying to set up a recurring email to be sent. However, it’s not working for some reason. It acts like it’s trying, but I get this error message:
This comment was minimized by the moderator on the site
Hi,You need to enable the Microsoft Word Object Library mentioned in step 4 of the post to avoid this error.
This comment was minimized by the moderator on the site
It is enabled
This comment was minimized by the moderator on the site
It is enabled already
This comment was minimized by the moderator on the site
I had the same problem.  I had a look in the available references list and found a second Microsoft Word 16.0 Object Library that was not enabled. Once I enabled that one, it solved the problem for me!
This comment was minimized by the moderator on the site
Hello, 
Several errors to easily solve if the mail stays in "draft" : 
-> Add .Save juste before .Send
-> Don't close everything too fast or the script wouldn't have the time to send the mail that it has been cleaned... so find a way to delay those 2 rows 
Set xMailItem = Nothing
VBA.Kill xFldPath
Maybe with a thread sleep/wait ? Is the killing mandatory ? wouldn't this be killed when outlook is closed ? For my usecase, it was ok to remove them
This comment was minimized by the moderator on the site
I followed the instruction in this article "How to send a schedule recurring email in Outlook" multiple times, to no avail. I get the popup reminder box but, the e-mail is never sent. I've tried with Kutools for Outlook installed and uninstalled. Still no success in sending a scheduled recurring email in Outlook.

Thanx,
RLB
This comment was minimized by the moderator on the site
I have had the same situation. It was working fine for almost a year and then suddenly stopped working. I've tried recopying the code, delete it completely and start over. Same results- popup reminder box happens, I click ok, and the email is never sent.
This comment was minimized by the moderator on the site
Hi tarnold,Make sure that the category name you created in step 2 is the same as the name specified in the code.
Can you try the VBA below and give me feedback on error you encountered later? Because this problem needs to be reproduced in my case. Or you can also try the third party tool mentioned in the post. Sorry for the inconvenience.

<div data-tag="code">Private Sub Application_Reminder(ByVal Item As Object)
'Updated by Extendoffice 20220114
Dim xMailItem As MailItem
Dim xItemDoc As Word.Document
Dim xNewDoc As Word.Document
Dim xFldPath As String
If Item.Class <> OlObjectClass.olAppointment Then Exit Sub
If Item.Categories <> "Send Schedule Recurring Email" Then Exit Sub
Set xMailItem = Outlook.Application.CreateItem(olMailItem)
Set xItemDoc = Item.GetInspector.WordEditor
xFldPath = CStr(Environ("USERPROFILE"))
xFldPath = xFldPath & "\MyReminder"
If Dir(xFldPath, vbDirectory) = "" Then
MkDir xFldPath
End If
xFldPath = xFldPath & "\AppointmentBody.xml"
xItemDoc.SaveAs2 xFldPath, wdFormatXMLDocument ' wdFormatXML
Set xNewDoc = xMailItem.GetInspector.WordEditor
VBA.DoEvents
xNewDoc.Application.Selection.HomeKey
xNewDoc.Activate
xNewDoc.Application.Selection.InsertFile FileName:=xFldPath, Attachment:=False
With xMailItem
.To = Item.Location
.Recipients.ResolveAll
.Subject = Item.Subject
.Send
End With
Set xMailItem = Nothing
VBA.Kill xFldPath
End Sub
This comment was minimized by the moderator on the site
Crystal,
Sorry for the delay.  I copied your script into VBA.  My category is "Recurring Email", so I made it match in your script.  I set up a recurring email to test it.  The reminder window pops up at the correct time.  I waited a couple of minutes and then clicked 'dismiss'.  The window closes.  No errors.  No email sent.
This comment was minimized by the moderator on the site
Hi Crystal, when using the code above I have this error: 
Erreur de compilation: Type défini par l'utilisateur non défini
it's concerning this lineDim xItemDoc As Word.Document

any ideas?
This comment was minimized by the moderator on the site
Hi Marie-Eve Noel,You need to enable the Microsoft Word Object Library mentioned in step 4 of the post to avoid this error.
This comment was minimized by the moderator on the site
At least yours work for a while. Mine never worked. Contacted Support and was told to post here. I suppose we'll have to wait on the author to respond.
This comment was minimized by the moderator on the site
Hi RodmanB,
Can neither of the two methods described in the article solve the problem?
VBA code and Kutools for Outlook are two different ways to handle the task.I need to know more specific about your issue, such as your Excel version.
This comment was minimized by the moderator on the site
Hi Crystal,
I am using MSOffice 365 for all of the Office products- Outlook, Excel, etc. As I posted 6month ago, it was working fine with my previous MSOffice desktop software.  When I switched to Office 365, it stopped working and I am having the same/similar situation as RodmanB.  The reminder popup occurs, I dismiss it and nothing happens.  The email is not in the draft folder, not in the sent folder, nothing.
This comment was minimized by the moderator on the site
Crystal,   Thanks for help. I replaced the VBCode and made a different test email. It preformed just as the other; reminder pops up, .wav file plays but the email is not sent. I'll install Kutools for Outlook and try that way tomorrow and, will respond with results.
This comment was minimized by the moderator on the site
Crystal,   Unable to install Kutool for outlook, demo license expired. Not willing to buy  just to debug this feature. So, have a great day and thanks for the help.
Thanx,RLB
This comment was minimized by the moderator on the site
Hi have implemented this and there's a couple of issues.1 - if i don't have Outlook opened, the email is not sent --> i guess this is normal, not a big deal anyway.2 - even the appointment appears just once a day and the email sent properly then, i see that the email is sent randomly other extra times during the day. For example, my schedule is daily at 9:00 and this is sent at 9:00 (OK) and also at 17:13 (NOK). I am not being able to identify why, any idea?
thanks.
This comment was minimized by the moderator on the site
What would the VBA code be for this but sending from the recipients of the appointment, not the "location" of the appointment as coded above? I need to send to 20+ people and cannot add enough names as the location fields is limited on characters. Many thanks
This comment was minimized by the moderator on the site
Hi J,You can try the second method "the Schedule auto send feature of Kutools for Outlook" mentioned in the post.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations