انتقل إلى المحتوى الرئيسي

كيفية طباعة جميع المرفقات في بريد إلكتروني واحد / متعدد في Outlook؟

كما تعلم ، سيتم فقط طباعة محتوى البريد الإلكتروني مثل الرأس والجسم عند النقر فوق ملف قم بتقديم > طباعة في Microsoft Outlook ، ولكن لا تطبع المرفقات. سنوضح لك هنا كيفية طباعة جميع المرفقات في بريد إلكتروني محدد بسهولة في Microsoft Outlook.


اطبع جميع المرفقات في رسالة بريد إلكتروني واحدة تلو الأخرى

يوفر لنا Microsoft Outlook ملفات طباعة سريعة التي يمكن أن تساعدك في طباعة المرفقات في رسالة بريد إلكتروني واحدة تلو الأخرى.

1. حدد رسالة البريد الإلكتروني التي ستطبع مرفقاتها لاحقًا.

2. انقر فوق مرفق واحد في هذا البريد الإلكتروني.

3. انقر على طباعة سريعة زر في الإجراءات مجموعة على مرفقات علامة التبويب.

لاحظ ال أدوات المرفقات لن يتم تنشيطه حتى تنقر على المرفقات في رسائل البريد الإلكتروني.

4. يظهر مربع حوار فتح مرفق البريد ، ويرجى النقر فوق ساعات العمل .

يرجى ملاحظة أن هذه الخطوة ستفتح المرفق المحدد ، وطباعة هذا المرفق المحدد في نفس الوقت.

لطباعة مرفقات أخرى في هذا البريد الإلكتروني ، يرجى تكرار الخطوة 2 إلى الخطوة 4.

حفظ / تصدير جميع المرفقات بسرعة من رسائل بريد إلكتروني متعددة في Outlook

عادة يمكننا حفظ المرفقات من بريد إلكتروني واحد مع تنشيط أدوات المرفقات وتطبيق احفظ كافة المرفقات ميزة في Outlook. ولكن ، ماذا لو قمت بحفظ المرفقات من عدة رسائل بريد إلكتروني ، أو من مجلد البريد بأكمله في Outlook؟ جرب Kutools for Outlook's انقاذ جميع خاصية (المرفقات).


حفظ المرفقات في رسائل بريد إلكتروني متعددة kto9

اطبع جميع المرفقات دفعة واحدة في رسالة بريد إلكتروني واحدة

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

1. حدد رسالة البريد الإلكتروني التي ستطبع مرفقاتها لاحقًا.

2. في Outlook 2010 أو الإصدارات الأحدث ، الرجاء النقر فوق قم بتقديم > طباعة > خيارات الطباعة. انظر الصورة التالية:

3. في مربع الحوار طباعة ، يرجى التحقق من طباعة الملفات المرفقة. ستتم طباعة المرفقات على الطابعة الافتراضية فقط الخيار في خيارات الطباعة والقسم الخاص به.

4. انقر على طباعة .

5. في مربع الحوار فتح مرفق البريد المنبثق ، يرجى النقر فوق ساعات العمل زر للمضي قدما. (ملاحظات: سيظهر مربع الحوار هذا لكل مرفق على حدة.)

الآن ستتم طباعة جميع المرفقات في رسالة البريد الإلكتروني المحددة هذه مرة واحدة.


اطبع جميع المرفقات والصور دفعة واحدة في رسائل بريد إلكتروني متعددة محددة

لطباعة جميع المرفقات في رسائل بريد إلكتروني متعددة بالإضافة إلى جميع الصور الموجودة في نص الرسالة في Outlook ، يرجى اتباع الخطوات التالية لتطبيق رمز VBA.

1. في القائمة البريدية ، يرجى الضغط CTRL or تغير مفاتيح لتحديد رسائل بريد إلكتروني متعددة ستتم طباعة مرفقاتها.

2. صحافة قديم + F11 مفاتيح معًا لفتح نافذة Microsoft Visual Basic for Applications.

3. في نافذة Microsoft Visual Basic for Applications ، انقر فوق الأدوات > مراجع حسابات. ثم تحقق من ملف وقت تشغيل البرمجة لـ Microsoft الخيار كما هو موضح أدناه. بمجرد الانتهاء ، انقر فوق OK.

4. انقر إدراج > وحدة، ثم قم بلصق رمز VBA أدناه في نافذة الوحدة النمطية الجديدة.

VBA: طباعة جميع المرفقات في رسائل بريد إلكتروني متعددة في Outlook

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/03
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        xFilePath = xTempFldPath & "\" & xAttachment.FileName
        xAttachment.SaveAsFile (xFilePath)
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

5. صحافة F5 مفتاح أو انقر فوق يجري زر لتشغيل رمز فبا هذا. سترى الآن أن جميع المرفقات في رسائل البريد الإلكتروني المحددة والصور الموجودة في نص الرسالة قد تم طباعتها.

ملحوظة:

  • ستظهر كل صورة مربع حوار منبثق ليطلب منك تأكيد الطباعة. بينما ستتم طباعة أنواع أخرى من الملفات مباشرة.
  • إذا كانت هناك صور في توقيع البريد الإلكتروني ، فستظهر مربعات حوار منبثقة أيضًا.
  • إذا كنت تحصل تم تعطيل وحدات الماكرو في هذا المشروع خطأ ، يرجى التحقق من هذا البرنامج التعليمي: كيفية تمكين وتعطيل وحدات الماكرو في Outlook؟

قم بطباعة جميع المرفقات دفعة واحدة في رسائل بريد إلكتروني متعددة محددة باستثناء الصور الموجودة في النص الأساسي

لطباعة المرفقات فقط في رسائل بريد إلكتروني متعددة ولكن الصور الموجودة في نص الرسالة في Outlook ، يرجى اتباع الخطوات التالية لتطبيق رمز VBA.

1. في القائمة البريدية ، يرجى الضغط CTRL or تغير مفاتيح لتحديد رسائل بريد إلكتروني متعددة ستتم طباعة مرفقاتها.

2. صحافة قديم + F11 مفاتيح معًا لفتح نافذة Microsoft Visual Basic for Applications.

3. في نافذة Microsoft Visual Basic for Applications ، انقر فوق الأدوات > مراجع حسابات. ثم تحقق من ملف وقت تشغيل البرمجة لـ Microsoft الخيار كما هو موضح أدناه. بمجرد الانتهاء ، انقر فوق OK.

4. انقر إدراج > وحدة، ثم قم بلصق رمز VBA أدناه في نافذة الوحدة النمطية الجديدة.

VBA: طباعة جميع المرفقات في رسائل بريد إلكتروني متعددة في Outlook

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function

5. صحافة F5 مفتاح أو انقر فوق يجري زر لتشغيل رمز فبا هذا. الآن سترى أن جميع المرفقات في رسائل البريد الإلكتروني المحددة قد تم طباعتها.

ملحوظة:

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

 


عرض توضيحي: اطبع أحد المرفقات أو جميعها في بريد إلكتروني في Outlook


معلومه- سرية: في هذا الفيديو، كوتولس تمت إضافة علامة التبويب بواسطة كوتولس لتوقعات. إذا كنت في حاجة إليها ، الرجاء الضغط هنا للحصول على نسخة تجريبية مجانية لمدة 60 يومًا دون قيود!


أفضل أدوات إنتاجية المكتب

كوتولس لتوقعات - أكثر من 100 ميزة قوية لتعزيز توقعاتك

🤖 مساعد بريد الذكاء الاصطناعي: رسائل بريد إلكتروني احترافية فورية مع سحر الذكاء الاصطناعي - بنقرة واحدة للردود العبقرية، والنغمة المثالية، وإتقان متعدد اللغات. تحويل البريد الإلكتروني دون عناء! ...

📧 أتمتة البريد الإلكتروني: خارج المكتب (متوفر لـ POP وIMAP)  /  جدولة إرسال رسائل البريد الإلكتروني  /  نسخة تلقائية/نسخة مخفية الوجهة حسب القواعد عند إرسال البريد الإلكتروني  /  إعادة التوجيه التلقائي (القواعد المتقدمة)   /  إضافة تحية تلقائية   /  تقسيم رسائل البريد الإلكتروني متعددة المستلمين تلقائيًا إلى رسائل فردية 

📨 إدارة البريد الإلكتروني: استدعاء رسائل البريد الإلكتروني بسهولة  /  حظر رسائل البريد الإلكتروني الاحتيالية حسب الموضوعات والآخرين  /  حذف رسائل البريد الإلكتروني المكررة  /  المزيد من خيارات البحث  /  توحيد المجلدات 

📁 المرفقات بروحفظ دفعة  /  فصل دفعة  /  ضغط دفعة  /  حفظ تلقائي   /  فصل تلقائي  /  ضغط تلقائي 

؟؟؟؟ واجهة ماجيك: 😊 المزيد من الرموز التعبيرية الجميلة والرائعة   /  عزز إنتاجية Outlook الخاص بك باستخدام طرق العرض المبوبة  /  تصغير Outlook بدلاً من الإغلاق 

؟؟؟؟ بنقرة واحدة عجائب: الرد على الكل بالمرفقات الواردة  /   رسائل البريد الإلكتروني لمكافحة التصيد  /  🕘إظهار المنطقة الزمنية للمرسل 

👩🏼‍🤝‍👩🏻 جهات الاتصال والتقويم: دفعة إضافة جهات الاتصال من رسائل البريد الإلكتروني المحددة  /  تقسيم مجموعة اتصال إلى مجموعات فردية  /  إزالة تذكير عيد ميلاد 

على مدى ميزات 100 في انتظار الاستكشاف الخاص بك! انقر هنا لاكتشاف المزيد.

 

 

Comments (24)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Is it possible to specify a network printer instead of always printing with the standard printer?
This comment was minimized by the moderator on the site
Dear all,

I had tried the VBA and the code runs but many popups are opening on screen to print images from the mail signature (apparently this is considered an attachment). Anyone knows how to solve it?

S.
This comment was minimized by the moderator on the site
If you don't want to print pictures in the body of a message, please use the code below:
Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function
This comment was minimized by the moderator on the site
Dear Amanda,

Thank you for the code. It worked!

S.
This comment was minimized by the moderator on the site
Hi there,

Sorry that printing images will bring up popups. You will have to confirm each to download all the images. If you don't need to print images, please click Cancel.

Amanda
This comment was minimized by the moderator on the site
I am using Microsoft 365 and this worked after deleting line 9. Thanks! This has saved a bit of time for me.
Rated 5 out of 5
This comment was minimized by the moderator on the site
hallo, ich möchte nur den Anhang der Mails von der angegebenen Adresse senden, wie kann ich das machen, danke
This comment was minimized by the moderator on the site
Vielen, vielen Dank dafür! Hat uns enorm viel Arbeit erspart.Auch ich musste - wie bereits in den Kommentaren geschrieben - die neunte Zeile "Dim xAttachment As Outlook.Attachment On Error Resume Next" entfernen, dann lief der Code einfandfrei durch.
This comment was minimized by the moderator on the site
Hi, this worked fine for me yesterday but now it is saying 'the macros in this project are disabled' Any advice how to enable them? 
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
on line 9 , removing "On Error Resume Next" worked for me.
This comment was minimized by the moderator on the site
Hi everyone, we updated the VBA code in the tutorial on 2022/08/03. If you still need to print all attachments, please check the new code. 😊
This comment was minimized by the moderator on the site
Hi, I have been using this shortcut for a few weeks now, printing all attachments from multiple emails at once, and I have recently been having to remove line 9 as Nilanka said, which has been working, but this no longer works. Im getting the warning box saying the macros in this project are disabled.....and so on... if someone has a solution to make this work as it has been prior to now, please lmk, as i am selecting about 60 emails all containing attachments to print. Thanks
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Thank you 
This comment was minimized by the moderator on the site
yes this just worked for me as well. Thank you!
This comment was minimized by the moderator on the site
the VBA code gives syntax is error
This comment was minimized by the moderator on the site
if a pdf has the same name the macro prints just one pdf, how can i change the code in order to modify the pdf name?
This comment was minimized by the moderator on the site
if you want to print all attachments together in 1 email here's what you do. first make a folder on your desktop....I named mine "print". go to the email with the attachments....highlight all of the attachments, right click, save all attachments to the print folder. Open the print folder.....highlight all of them.....right click.....print.



now if only I could figure out how to print all the attachments in 200 emails without opening each one and printing it.
This comment was minimized by the moderator on the site
Kutools for Outlook's Detach All (Attachments) feature can help you download all attachments from multiple emails with several clicks! https://www.extendoffice.com/product/kutools-for-outlook/outlook-detach-attachments.html
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