Tuesday, 28 August 2012

Adobe Reader: An Error Occurred While Sending Mail

Adobe Reader - An Error Occurred While Sending Mail

This error can occur when trying to attach a PDF file to an email from within Adobe Reader and may be caused by an installation of Mozilla Thunderbird.

Check the default E-mail editor is set correctly in Control Panel > Internet Options > Programs

Amend the following registry key:


From Mozilla Thunderbird to Microsoft Outlook

Also amend the following key for new users on the system:


DFS Replication: Not replicating some PDF files

DFS Replication not replicating some PDF files - issue likely to be caused by PDF application saving the file with a TEMP attribute.

The issue is explained in more detail here:

This can be caused by PDF Complete Special Edition, preinstalled on HP desktops.

To fix, start by using the following PowerShell command to scan the replicated folder to see affected files:

Get-ChildItem "X:\Directory" -Recurse | ForEach-Object -Process {if(($_.attributes -band 0x100) -eq 0x100) {Write-Output $_}}

Save a copy of the output to txt file using the following PowerShell command:

Get-ChildItem "X:\Directory" -Recurse | ForEach-Object -Process {if(($_.attributes -band 0x100) -eq 0x100) {Write-Output $_}} | Out-File X:\file.txt

Clear attribute on all affected files using the following PowerShell command:

Get-ChildItem X:\Directory -Recurse | ForEach-Object -Process {if (($_.attributes -band 0x100) -eq 0x100) {$_.attributes = ($_.attributes -band 0xFEFF)}}