Note: The other languages of the website are Google-translated. Back to English
تسجيل الدخول  \/ 
x
or
x
حساب جديد  \/ 
x

or

كيفية إرسال بريد إلكتروني متكرر لجدول زمني في Outlook؟

في Microsoft Outlook ، يمكنك بسهولة إرسال موعد أو اجتماع أو مهمة متكررة إلى الآخرين. ولكن إذا كنت تريد فقط إرسال بريد إلكتروني متكرر لجدول زمني دون أي موعد أو اجتماع أو مهمة ، فكيف يمكنك أن تفعل؟ لسوء الحظ ، لا يوفر Outlook أي ميزة لإرسال بريد إلكتروني متكرر للجدول الزمني ، ولكن في البرنامج التعليمي الخاص بنا ، سوف نوضح لك كيفية إرسال بريد إلكتروني متكرر لجدول زمني في Outlook.

إرسال بريد إلكتروني متكرر لجدول زمني في Outlook مع رمز VBA

أرسل رسائل البريد الإلكتروني المتكررة بسهولة في برنامج Outlook باستخدام أداة رائعة


إرسال بريد إلكتروني متكرر لجدول زمني في Outlook مع رمز VBA

ينقسم هذا البرنامج التعليمي إلى أربعة أجزاء ، ستنجح في إرسال بريد إلكتروني متكرر بعد الانتهاء من هذه الأجزاء. الرجاء القيام بما يلي.

الجزء 1: إنشاء موعد جديد

1. الرجاء الانتقال إلى عرض بالنقر في ال جزء التنقل، ثم قم بإنشاء موعد جديد بالنقر فوق موعد جديد تحت الصفحة الرئيسية علامة التبويب.

3. في ال احجز كشف حوار تحت احجز كشف التبويب. تحتاج إلى:

ج: اكتب ملف الموضوع ب: أدخل عناوين البريد الإلكتروني للمستلمين في ملف الموقع:
ج: تكوين وقت البدء و نهاية الوقت د: حدد التذكير أسفل ملف تذكير قائمة منسدلة.
إذا اخترت 15 دقيقة ، فهذا يعني أنه سيذكرك قبل 15 دقيقة عند إرسال البريد الإلكتروني.
هـ: قم بتكوين هيئة موعدك.

ملاحظة: ال موضوع التعيين سيصبح موضوع البريد الإلكتروني المتكرر ؛ و ال هيئة التعيين سيصبح نص البريد الإلكتروني المتكرر عندما يتلقى المستلمون البريد الإلكتروني.

الجزء 2: قم بإنشاء فئة جديدة

أنت الآن بحاجة إلى إنشاء فئة جديدة باسم "إرسال بريد إلكتروني متكرر جدولة" على النحو التالي:

1. في ال احجز كشف الحوار ، الرجاء الضغط صنف > جميع الاقسام في ال الشعارات مجموعة تحت احجز كشف علامة التبويب.

2. عندما فئات اللون يظهر مربع الحوار ، الرجاء الضغط جديد زر. في ال إضافة فئة جديدة الحوار ، اكتب "إرسال بريد إلكتروني متكرر جدولة"في الإسم حقل؛ ثم اختر لونًا في اللون قائمة منسدلة. ثم اضغط OK.

3. ثم سترى "إرسال بريد إلكتروني متكرر جدولة"تم إدراج فئة" ، يرجى تحديد المربع ، ثم النقر فوق OK .

الجزء 3: ضبط التكرار

الآن ، حان الوقت لتعيين تكرار الموعد.

1. انقر تكرار في ال الخيارات مجموعة تحت احجز كشف التبويب. انظر لقطة الشاشة:

2. في ال تكرار الموعد الحوار ، تكوين الخاص بك تكرار نمط. إذا كنت بحاجة إلى وقت انتهاء ، فالرجاء تهيئته ضمن نطاق التكرار. ثم انقر فوق OK.

3. عندما يعود إلى احجز كشف الحوار ، الرجاء الضغط حفظ وإغلاق زر. انظر لقطة الشاشة:

الجزء 4: استخدم رمز فبا لإرسال البريد الإلكتروني المتكرر لجدول زمني

1. الرجاء الضغط قديم + F11 لفتح ميكروسوفت فيسوال باسيك للتطبيقات الحوار.

2. انقر نقرًا مزدوجًا فوق Project1 > كائن Microsoft Outlook > هذه الجلسة في الجزء الأيمن. انظر لقطة الشاشة:

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. انقر أدوات > مراجع لفتح مراجع - مشروع الحوار. في مربع الحوار ، تحقق من مكتبة كائنات Microsoft Word الخيار وانقر فوق OK .

5. اضغط على قديم + Q مفاتيح في نفس الوقت لإغلاق ميكروسوفت فيسوال باسيك للتطبيقات نافذة.

عندما تذكير عند ظهوره ، سيتم إرسال البريد الإلكتروني تلقائيًا إلى المستلمين الذين كتبتهم في حقل الموقع في الجزء الأول. ثم اضغط إغلاق في ال تذكير الحوار. وسيتم إرسال البريد الإلكتروني بشكل متكرر كل يوم في هذا الوقت. انظر لقطة الشاشة:

ملاحظة: تم اختبار رمز VBA بنجاح في Outlook 2010 والإصدارات الأحدث.


أرسل رسائل البريد الإلكتروني المتكررة بسهولة في برنامج Outlook باستخدام أداة رائعة

بالنسبة للعديد من مستخدمي Outlook ، فإن الطريقة المذكورة أعلاه مملة للغاية بحيث لا يمكن التعامل معها بشكل صحيح. هنا نوصي بشدة جدولة الإرسال التلقائي سمة من سمات كوتولس لتوقعات. باستخدام هذه الميزة ، يمكنك بسهولة إنشاء عدة رسائل بريد إلكتروني متكررة ، وجدولة رسائل البريد الإلكتروني هذه لإرسالها بانتظام على فترات يومية أو أسبوعية أو شهرية أو سنوية حسب حاجتك. يرجى القيام بما يلي لإنجازه.

انتقل إلى (تحديث البرنامج) في MyCAD قم بتنزيل Kutools for Outlook وجرب.

1. انقر كوتولس > جدولة الإرسال التلقائي > إنشاء جدول الإرسال التلقائي.

2. ثم يتم فتح نافذة رسالة ، وتحتاج إلى:

2.1) حدد مستلمي البريد الإلكتروني في إلى CC or مخفية الحقول حسب حاجتك ، ثم املأ البريد الإلكتروني موضوعات؛
2.2) إنشاء نص البريد الإلكتروني ؛
شنومكس) انقر تكرار تحت Kutools المتكررة التبويب. انظر لقطة الشاشة:

3. الآن تكرار رسائل البريد الإلكتروني ينبثق مربع الحوار ، تحتاج إلى تحديد الوقت المتكرر, نمط متكرر و نطاق التكرار للبريد الإلكتروني ، ثم انقر فوق OK .

4. الآن يعود إلى نافذة الرسالة ، انقر فوق حفظ وإغلاق زر لحفظ الإعدادات المتكررة وإغلاق النافذة.

نصائح: يمكنك تكرار الخطوة 1 إلى 4 أعلاه لإنشاء عدة رسائل بريد إلكتروني متكررة حسب حاجتك.

5. الآن قم بتشغيل الميزة بالنقر فوق كوتولس > جدولة الإرسال التلقائي > تمكين.

6. في الافتتاح كوتولس لتوقعات مربع الحوار، انقر فوق حسنا.

بعد الانتهاء من الإعدادات المذكورة أعلاه ، سيتم إرسال رسائل البريد الإلكتروني المتكررة تلقائيًا عند حلول التاريخ والوقت المحددين.

ملاحظة: يمكنك بسهولة إدارة رسائل البريد الإلكتروني المتكررة على النحو التالي.

1. انقر كوتولس > جدولة الإرسال التلقائي > إدارة جدول الإرسال التلقائي.

2. في ال Mange جدول الإرسال التلقائي نافذة ، يمكنك إنشاء جديد البريد الإلكتروني المتكرر ، تعديل الحذف، شغل or علي بريد إلكتروني متكرر موجود حسب حاجتك. أو يمكنك النقر فوق سجل رمز لعرض محفوظات الإرسال لرسائل البريد الإلكتروني المتكررة.

انقر لمعرفة المزيد عن هذه الميزة.

  كوتولس لتوقعات يتضمن أكثر من 100 ميزة قوية لبرنامج Microsoft Outlook. تجربة مجانية بدون قيود خلال 60 يومًا. تحميل الآن!


Kutools for Outlook - يجلب 100 ميزة متقدمة إلى Outlook ، ويجعل العمل أسهل كثيرًا!

  • CC السيارات / BCC حسب القواعد عند إرسال البريد الإلكتروني ؛ إعادة توجيه تلقائي رسائل بريد إلكتروني متعددة حسب الطلب ؛ رد آلي بدون خادم صرف ، والمزيد من الميزات التلقائية ...
  • تحذير BCC - إظهار الرسالة عند محاولة الرد على الكل إذا كان عنوان بريدك في قائمة BCC; تذكير عند فقدان المرفقات، والمزيد من ميزات التذكير ...
  • رد (الكل) بكل المرفقات في محادثة البريد; الرد على العديد من رسائل البريد الإلكتروني في ثوان؛ إضافة تحية تلقائية عند الرد إضافة التاريخ إلى الموضوع ...
  • أدوات المرفقات: إدارة جميع المرفقات في جميع الرسائل ، فصل تلقائي, ضغط الكل، إعادة تسمية الكل ، حفظ الكل ... تقرير سريع ، عد الرسائل المختارة...
  • رسائل البريد الإلكتروني غير الهامة القوية حسب العرف قم بإزالة الرسائل المكررة وجهات الاتصال... تمكنك من أداء أذكى وأسرع وأفضل في Outlook.
لقطة kutools outlook kutools tab 1180x121
لقطة kutools outlook kutools plus tab 1180x121
 
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    SM · 28 days ago
    If you are having trouble with the email not sending after you get the reminder, look in your drafts folder. If the email is there then go back to the categories step and change the category to "Send Scheduled Recurring Email". The original instructions read "schedule" and not "scheduled". As soon as I did this, Outlook sent the email from my drafts folder and everything worked.
  • To post as a guest, your comment is unpublished.
    JM · 1 months ago
    hello, thank you this great code! It works like a charm. Is it possible to format the body of the email for HTML format?

  • To post as a guest, your comment is unpublished.
    Durgeshwaran N · 1 months ago
    I tried the above VBA Code, I am getting reminder everytime,
    But receipient does not receive my mail,
    Please assist
  • To post as a guest, your comment is unpublished.
    tarnold · 2 months ago
    I had a 2016 desktop version and everything worked great. I switched to Office 365 and it stopped working. Is there a setting (VBA Code?) that needs to be changed?
    Anyone else having this problem?
  • To post as a guest, your comment is unpublished.
    Günter · 3 months ago
    I'm useing a german Version of outlook. Whats i have to change in the VBA-code?

  • To post as a guest, your comment is unpublished.
    Mabpetroc · 3 months ago
    For me.  I needed to add 2x : 

    If Item.Class <> OlObjectClass.olAppointment Then 
    End If

    If Item.Categories <> "Send Schedule Recurring Email" Then Exit Sub
    End If

  • To post as a guest, your comment is unpublished.
    Prateek · 3 months ago
    how to add CC and BCC
  • To post as a guest, your comment is unpublished.
    pheadjack75 · 4 months ago
    this saves the email into the Drafts folder without a header or timestamp. How do I get it to include that header and timestamp; and saved in the Sent folder ?
  • To post as a guest, your comment is unpublished.
    Raj · 5 months ago
    I am facing issue with Email Body. in my received email it completely blank. what could be wrong
    • To post as a guest, your comment is unpublished.
      Natalia · 3 months ago
      Same for me, I don't know how to fix it 
      • To post as a guest, your comment is unpublished.
        Mabpetroc · 3 months ago
        scroll down - the question has been covered. :-)
  • To post as a guest, your comment is unpublished.
    JayPie · 6 months ago
    Is there a way to modify the code to only send the email if you hit "dismiss" and don't send the email if you "dismiss all" or some other button?
    I want to be able to chose each day if I send the email, but still want to be reminded each day.
    • To post as a guest, your comment is unpublished.
      Ryan Vargas · 13 days ago
      Would like to know this as well.
  • To post as a guest, your comment is unpublished.
    rayray4105 · 7 months ago
    For me the VBA halted on 'CStr(Environ("USERPROFILE"))'.

    I have moved both lines starting with 'xFldPth' just below 'On Error Resume Next' which resulted in the code to be fully executed
  • To post as a guest, your comment is unpublished.
    katie · 9 months ago
    This was working for me for several months. All of the sudden, the reminders are still appearing, but the emails are no longer being sent. Any ideas?
    • To post as a guest, your comment is unpublished.
      Fishy · 9 months ago
      Same here. Have you found what make it stop working?
    • To post as a guest, your comment is unpublished.
      FishyD · 9 months ago
      Same here, it was working great and over the last day or so, just broke.
  • To post as a guest, your comment is unpublished.
    Sohail · 9 months ago
    I am using Office 2016. I am unable to click on CATEGORIZE when doing through NEW APPOINTMENT but Categorize function properly when using NEW EMAIL.
  • To post as a guest, your comment is unpublished.
    Julia · 9 months ago
    Hi. How do I add attachments? I need to pull specific files each month and attach to the email. Is there a way to do this?
    • To post as a guest, your comment is unpublished.
      Matt · 1 months ago
      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:=True
      With xMailItem
      .To = Item.Location
      .Recipients.ResolveAll
      .Subject = Item.Subject
      .Send
      End With
      Set xMailItem = Nothing
      VBA.Kill xFldPath
      End Sub
  • To post as a guest, your comment is unpublished.
    Phoebe · 10 months ago
    The emails are being generated but are going to draft folder and not being sent out automatically. How would I fix this?
  • To post as a guest, your comment is unpublished.
    Tellett · 1 years ago
    This didn't work for me until I realized that naming the category "Send Scheduled Recurring Email" instead of "Send Schedule Recurring Email" mattered. It was a comment below that brought it to my attention. Thanks!
  • To post as a guest, your comment is unpublished.
    yang · 1 years ago
    Doesn't work for Outlook 2016
  • To post as a guest, your comment is unpublished.
    Tony · 1 years ago
    I followed the instructions, but I get a .dll error when I check microsoft word 16.0 object library. I don't know if it matters, but the other object libraries show up as 14.0
  • To post as a guest, your comment is unpublished.
    Terri · 1 years ago
    often the location bar is unable to contain all of the email addresses for me, I can certainly use a distribution list or group contact but how do I unpack it so the resulting email shows the addresses individually?
  • To post as a guest, your comment is unpublished.
    sangeeta · 1 years ago
    It worked very well with MS Office 365 -outlook but then stopped working. I cant figure out what changed. Did anyone else run into similar problem? Any suggestion on how to debug what is going on?
  • To post as a guest, your comment is unpublished.
    ofek · 1 years ago
    I can confirm it works on Outlook 2019 as well
  • To post as a guest, your comment is unpublished.
    Kristen · 1 years ago
    Hi, been using this without issue for a few years. Suddenly in the last couple of months, it stopped sending the email. Reminder still goes out to me at least. I came here and and see the code has been updated, which I did and now I get "userdefined type not identified" error that others seem to have gotten. Is there a fix for this or no?
  • To post as a guest, your comment is unpublished.
    odhinto@gmail.com · 1 years ago
    I have followed all the instructions: I enabled Macros; I configured the appointment as instructed and added the VBA Macro....I checked all the references as instructed.
    The email is not being sent, and I'm not getting any compiler errors. What could be the problem? I'm using Outlook 2016.
    • To post as a guest, your comment is unpublished.
      Ricky · 1 years ago
      I can't get it to work either in Outlook 2016
  • To post as a guest, your comment is unpublished.
    Andrey · 1 years ago
    Is there a way to send the email from certain different e-mail (SendAs or SendOnBehalfOfName)?
  • To post as a guest, your comment is unpublished.
    Scott · 1 years ago
    Every time any reminder pops up, i am getting a VBA error of "userdefined type not identified".
    • To post as a guest, your comment is unpublished.
      Jon · 1 years ago
      Pardon me if this is something you already know, but without having other details besides what you posted, I suggest you make sure both microsoft office 16.0 object library AND microsoft word 16.0 object library are selected from step 4 above.
      • To post as a guest, your comment is unpublished.
        Nicola · 1 years ago
        This worked for me thank you

  • To post as a guest, your comment is unpublished.
    joaquimlmpires@gmail.com · 1 years ago
    Hi. I know this is an old post but I'm trying to use it to send a periodic email.

    I'm able to complete all the steps but the code line:
    Dim xItemDoc As Word.Document
    prompts a compile error: "userdeffined type not defined "

    I replaced with:
    Dim xItemDoc As DocumentItem

    compiles ok but emai does not get sent.

    anyone can help?

    thank you
  • To post as a guest, your comment is unpublished.
    Ron · 1 years ago
    I get the reminder but no email, ideas?
    • To post as a guest, your comment is unpublished.
      Scott · 1 years ago
      Same issue here
  • To post as a guest, your comment is unpublished.
    Marjorie · 1 years ago
    I received the email, however the body of the email is blank. I have put text and a signature in the body but when the email comes the body of the email is blank.
    • To post as a guest, your comment is unpublished.
      Jarrett · 1 years ago
      Try adding ".Body = Item.Body" under the line ".Subject = Item.Subject" in the VBA Code mentioned in this article.
      • To post as a guest, your comment is unpublished.
        Tony Fecteau · 1 years ago
        I have same issue, where on the code we have to adding
        ".Body = Item.Body" under the line ".Subject = Item.Subject"
        • To post as a guest, your comment is unpublished.
          Marcio Filho · 5 months ago
          Thank you very much Tony, you helped me a lot :D
  • To post as a guest, your comment is unpublished.
    Katie · 1 years ago
    I have followed all instructions and made sure the object library was checked etc but get the error 'compile error user type not defined' when it's time for the reminder.
    Any solutions to this?

    Thanks!
    • To post as a guest, your comment is unpublished.
      Mads · 1 years ago
      I get the same error. What's the solution here?
  • To post as a guest, your comment is unpublished.
    Vinay · 1 years ago
    It worked for me on Testing but when I made the changes to send it actually it didn't worked. Is there any specific modifications I needed to make? I see my Macro is disabled but it's on office system so I can't change it but assuming it worked for the first time it should work alright again; right?
  • To post as a guest, your comment is unpublished.
    tricia · 1 years ago
    how can this be sent to emails that change on a weekly basis?
    • To post as a guest, your comment is unpublished.
      OrionStar · 1 years ago
      If they change every week then it's not able to work really. What changes? if it's an attached file that should be fine because it grabs the file each time.
  • To post as a guest, your comment is unpublished.
    anne · 1 years ago
    this is not working for me
  • To post as a guest, your comment is unpublished.
    Sai Swaroop · 2 years ago
    I Tried using the above code it works very fine. But the problem is in the body of the email I am including Pictures, text and Hyperlinks to that. By the time mail reaching to the receiver everything is converting as a Text. Can anyone help me on this
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Hi,
      Sorry for the inconvenience. The code has been updated to solve the problem. Please have a try and thank you for your comment.
      • To post as a guest, your comment is unpublished.
        Vinodh Kumar · 1 years ago
        Hi,
        I am facing the same issue. can you please post the updated code.

        Also is there any way to include email address as CC ?

  • To post as a guest, your comment is unpublished.
    Aarti · 2 years ago
    superb works for me thanks yaa
  • To post as a guest, your comment is unpublished.
    Priyank · 2 years ago
    It did work on my laptop before. I somewhat messed up my VBA. now it's not working..
    How do I restart of clear my VBA?

    I am not a programmer. I just wanted automatic email generated and googled it. Tried various things and then came across this post.

    It really worked well before. Please help
  • To post as a guest, your comment is unpublished.
    aerin.melvin@gmail.com · 2 years ago
    How do you add an attachment to go with the email that is sent?
  • To post as a guest, your comment is unpublished.
    Aerin · 2 years ago
    Is there a way to make this BCC?
  • To post as a guest, your comment is unpublished.
    Jan · 2 years ago
    I got to the VBA code copied, pasted, and saved fine. But no reminder popped up for me to dismiss. Will this still send?
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Hi Jan,
      Please go to the Sent Items folder to check for the sending email.
  • To post as a guest, your comment is unpublished.
    Tomy · 2 years ago
    It's great work, tks
  • To post as a guest, your comment is unpublished.
    john · 2 years ago
    This is limited on the number of email addresses you can add in the locations. Any work arounds?
  • To post as a guest, your comment is unpublished.
    Kevin · 2 years ago
    This still works. Just tested on Office 2016/ O365. Make sure macros are enabled. Make sure you are pasting the code under "application" and "Reminder" as shown in the screen shot.
    • To post as a guest, your comment is unpublished.
      Daniele · 2 years ago
      Good, now it works!
      I've just one problem. If my Outlook client application is close, it don't work ...any solutions?
  • To post as a guest, your comment is unpublished.
    anitanashgh · 2 years ago
    I am getting a "compile error: invalid outside procedure" every time ANY reminder pops up, not just the one's for the scheduled send. Also, my scheduled send doesn't work. Any ideas? I copied and pasted the code from above. Thanks.
  • To post as a guest, your comment is unpublished.
    Anita · 2 years ago
    Not working for me.... :(
  • To post as a guest, your comment is unpublished.
    Kathrin · 2 years ago
    It didn't work for me either :/.Is there any update available?
  • To post as a guest, your comment is unpublished.
    Simon Hogh · 2 years ago
    This still works? :D
  • To post as a guest, your comment is unpublished.
    Simon · 2 years ago
    Does this still work? Unfortunately it doesn#t work for me...
  • To post as a guest, your comment is unpublished.
    SS · 2 years ago
    Does this go out as an invite? Does the recipient have to accept the invite?
    • To post as a guest, your comment is unpublished.
      Rebeccah · 2 years ago
      It's in the location field rather than in an invitee field, so, no - no invite goes out to the location address(es). No reminders to the location address(es) normally, either. This code is triggered by the application_reminder event for this appointment and adds functionality to it, to

      - create an e-mail message

      - put the appointment location address(es) in the To field of the e-mail message.

      - put the appointment subject line in the Subject field of the e-mail message.

      - put the appointment body in the Body field of the e-mail message.

      - send the e-mail message.
  • To post as a guest, your comment is unpublished.
    Johan · 2 years ago
    If I want multiple of these emails, each with a seperate category/calendar activity like "Send Schedule Recurring Email", "Send Schedule Recurring Email 2" & "Send Schedule Recurring Email 3" etc. How would I go about doing that? Do I copy this code all together for each category/calendar activity, or just add each "Send Schedule Recurring Email x" in the existing code? If so, how do I seperate them? Comma? < > ?
    • To post as a guest, your comment is unpublished.
      Rebeccah · 2 years ago
      Replace
      If Item.Categories <> "Send Schedule Recurring Email" Then Exit Sub
      with
      If Left(Item.Categories,29) <> "Send Schedule Recurring Email" Then Exit Sub


      Or, if your category names are all different, then
      If Item.Categories <> "First category name" AND Item.Categories <> "Second category name" AND Item.Categories <> "something completely different" Then Exit Sub
  • To post as a guest, your comment is unpublished.
    DTM · 3 years ago
    Just wanted to add my Thanks out here.
    I was struggling with my own version of this and found this and others.
    This is the best version of this I saw. Specifically what I like about it is - this works if you have multiple different emails you want to send. Because, it does not use "hardcoded" variables like the body or emails addresses pulling them from the appointment detail, you do not need to create different micros for each email or edit the code for every little detail that might change. You can even use this for non-reoccurring emails that you want o schedule (yes, you could do a delayed send). that's all controlled by the reoccurrence of the appointment.
    The one con is like any macro based solution, outlook does have to be open (running).

    A couple changes someone might want to make.
    If you do not want replies going to everyone who got the email, change .To - to .BCC.
    If you want to Review or make miner changes before it is sent, change .send to .display
  • To post as a guest, your comment is unpublished.
    Mel · 3 years ago
    I tried this but I cannot get my tests to work.