Gå til hovedindhold

Hvordan sender jeg en tidsplan for tilbagevendende e-mail i Outlook?

I Microsoft Outlook kan du nemt sende en tidsplan for tilbagevendende aftale, møde eller opgave til andre. Men hvis du bare vil sende en tidsplan med tilbagevendende e-mail uden nogen aftale, møde eller opgave, hvordan kan du gøre det? Desværre giver Outlook ingen funktion til afsendelse af planlægende tilbagevendende e-mail, men i vores vejledning viser vi dig, hvordan du sender en tidsplan, der gentager e-mail i Outlook.

Send en tidsplan for tilbagevendende e-mail i Outlook med VBA-kode

Send nemt planlagte tilbagevendende e -mails i Outlook med et fantastisk værktøj


Send en tidsplan for tilbagevendende e-mail i Outlook med VBA-kode

Denne vejledning er opdelt i fire dele, og det lykkes dig at sende en tilbagevendende e-mail efter afslutning af disse dele. Gør som følger.

Del 1: Opret en ny aftale

1. Naviger til Kalender visning ved at klikke Kalender i Navigationsrude, og opret derefter en ny aftale ved at klikke på Ny Aftale under Home fane.

3. i Tid dialog under Tid fanen. Du skal:

A: Indtast Emne B: Indtast modtagerens e-mail-adresser i Lokation
C: Konfigurer Start tid og Sluttidspunkt D: Vælg påmindelsen under Påmindelse rulleliste.
Hvis du vælger 15 minutter, betyder det, at det minder dig 15 minutter tidligt, når e-mailen sendes.
E: Komponer din ansættelsesorgan.

Bemærk: The Udnævnelsesemne bliver det tilbagevendende e-mail-emne; og Udnævnelsesorgan bliver det tilbagevendende e-mail-organ, når modtagerne modtog e-mailen.

Del 2: Opret en ny kategori

Nu skal du oprette en ny kategori med navnet “Send tidsplan tilbagevendende e-mail" som følger:

1. i Tid dialog, klik venligst Kategoriser > alle kategorier i Tags gruppe under Tid fane.

2. Når Farvekategorier dialog vises, skal du klikke Ny knap. I Tilføj ny kategori dialog, skriv “Send tidsplan tilbagevendende e-mail"I Navn Mark; og vælg derefter en farve i Farve rulleliste. Klik derefter på OK.

3. Så vil du se “Send tidsplan tilbagevendende e-mail”Kategori er angivet, bedes du markere afkrydsningsfeltet og derefter klikke på OK .

Del 3: Indstil gentagelsen

Nu er det tid til at indstille gentagelsen af ​​aftalen.

1. klik Gentagelse i Indstillinger gruppe under Tid fanen. Se skærmbillede:

2. i Udnævnelse gentagelse dialog, skal du konfigurere din Gentagelse mønster. Hvis du har brug for en sluttid, skal du konfigurere den under Omfang af gentagelse. Og klik derefter på OK.

3. Når det vender tilbage til Tid dialog, klik venligst Gem og luk knap. Se skærmbillede:

Del 4: Brug VBA -koden til at sende den planlagte tilbagevendende e -mail

1. Tryk venligst andre + F11 at åbne Microsoft Visual Basic til applikationer dialogen.

2. Dobbeltklik på Project1 > Microsoft Outlook-objekt > Denne OutlookSession i venstre rude. Se skærmbillede:

3. Kopier og indsæt følgende VBA-kode til VBA-editoren. Og klik derefter på Gem .

VBA: afsendelse af en plan for tilbagevendende e-mail

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. klik Værktøjer > Referencer at åbne Referencer - Projekt dialog. Kontroller i dialogboksen Microsoft Word-objektbibliotek valg og klik på OK .

5. Tryk på andre + Q taster på samme tid for at lukke Microsoft Visual Basic til applikationer vindue.

Når Påmindelse dukker op, sendes e-mailen automatisk til de modtagere, som du har skrevet i feltet Placering i første del. Klik derefter på Luk i Påmindelse dialog. Og e-mailen sendes tilbagevendende hver dag i denne tid. Se skærmbillede:

Bemærk: VBA-koden blev testet med succes i Outlook 2010 og de senere versioner.


Send nemt planlagte tilbagevendende e -mails i Outlook med et fantastisk værktøj

For mange Outlook -brugere er ovenstående metode for kedelig til at blive håndteret korrekt. Her kan varmt anbefales Planlæg automatisk afsendelse træk ved Kutools til Outlook. Med denne funktion kan du nemt oprette flere tilbagevendende e -mails og planlægge, at disse e -mails skal sendes regelmæssigt med daglige, ugentlige, månedlige eller årlige intervaller, som du har brug for. Gør venligst følgende for at få det gjort.

Gå til download Kutools til Outlook og prøv.

1. klik Kutools > Planlæg automatisk afsendelse > Opret tidsplan for automatisk afsendelse.

2. Derefter åbnes et meddelelsesvindue, og du skal:

2.1) Vælg e -mail -modtagere i Til, Cc or Bcc felter, som du har brug for, og udfyld derefter e -mailen emne;
2.2) Skriv e -mail -brødteksten;
2.3) Klik Gentagelse under Kutools Tilbagevendende fanen. Se skærmbillede:

3. Nu er Gentagelse af e -mails dialogboksen dukker op, skal du angive tilbagevendende tid, tilbagevendende mønster og rækkevidde af tilbagefald for e -mailen, og klik derefter på OK .

4. Nu vender den tilbage til meddelelsesvinduet, klik Gem og luk knappen for at gemme de tilbagevendende indstillinger og lukke vinduet.

tips: Du kan gentage ovenstående trin 1 til 4 for at oprette flere tilbagevendende e -mails, som du har brug for.

5. Tænd nu for funktionen ved at klikke Kutools > Planlæg automatisk afsendelse > Aktiver.

6. I åbningen Kutools til Outlook dialogboksen, klik OK.

Når ovenstående indstillinger er afsluttet, sendes de tilbagevendende e -mails automatisk, når den angivne dato og klokkeslæt når.

Bemærk: Du kan nemt administrere dine tilbagevendende e -mails som følger.

1. klik Kutools > Planlæg automatisk afsendelse > Administrer tidsplan for automatisk afsendelse.

2. i Mange auto send tidsplan vindue, kan du oprette ny tilbagevendende e -mail, rediger, slet, tænde for or off en eksisterende tilbagevendende e -mail efter behov. Eller du kan klikke på Log ikon for at se afsendelseshistorikken for de tilbagevendende e -mails.

Klik for at vide mere om denne funktion.

  Kutools til Outlook indeholder mere end 100 kraftfulde funktioner til Microsoft Outlook. Gratis at prøve uden begrænsning i 60 dage. Download nu!


Bedste kontorproduktivitetsværktøjer

Kutools til Outlook - Over 100 kraftfulde funktioner til at superlade din Outlook

🤖 AI Mail Assistant: Øjeblikkelige pro-e-mails med AI-magi – et klik for geniale svar, perfekt tone, flersproget beherskelse. Forvandl e-mailing ubesværet! ...

📧 Email Automation: Ikke til stede (tilgængelig til POP og IMAP)  /  Planlæg Send e-mails  /  Auto CC/BCC efter regler ved afsendelse af e-mail  /  Automatisk videresendelse (avancerede regler)   /  Tilføj automatisk hilsen   /  Opdel automatisk e-mails med flere modtagere i individuelle meddelelser ...

📨 Email Management: Genkald nemt e-mails  /  Bloker svindel-e-mails af emner og andre  /  Slet duplikerede e-mails  /  Avanceret søgning  /  Konsolider mapper ...

📁 Vedhæftede filer ProBatch Gem  /  Batch adskilles  /  Batch komprimere  /  Automatisk gem   /  Automatisk afmontering  /  Automatisk komprimering ...

🌟 Interface Magic: 😊 Flere smukke og seje emojis   /  Boost din Outlook-produktivitet med fanebaserede visninger  /  Minimer Outlook i stedet for at lukke ...

👍 Wonders med et enkelt klik: Besvar alle med indgående vedhæftede filer  /   Anti-phishing e-mails  /  🕘Vis afsenderens tidszone ...

👩🏼‍🤝‍👩🏻 Kontakter og kalender: Batch Tilføj kontakter fra udvalgte e-mails  /  Opdel en kontaktgruppe til individuelle grupper  /  Fjern fødselsdagspåmindelser ...

Over 100 Features Afvent din udforskning! Klik her for at finde mere.

Læs mere       Gratis download      Køb
 

 

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