SCSM 2016 and Advanced Email Send attachments not working
Hi all,
We are having a problem with attachments not sending with the advanced email send feature. The email itself sends out successfully, but any attachments do not go through.
From the console there is no error, just email sent successfully. Any ideas on what the issue could be?
Answers
Hello,
Have you checked the configuration on your exchange server? Are you setup to allow attachments? Do you have a limit on how many items you can attach and the file size of those items?
We're currently using Office 365 SMTP server for the setup. We tried both through a local SMTP relay, and direct to office 365 same result. Email sends no attachment.
No special security on the tenant, allows attachments, and emails are generally flowing normally.
After some further investigation we found that some users are getting an error. In all cases though email sends successfully without attachment. Here's the error.
Date: 1/24/2017 4:33:35 PM
Application: Send Email Form
Application Version: 7.5.7487.0
Severity: Error
Message: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
System.ApplicationException: Something wrong happened ---> System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AddAttachmentToIncident()
at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)
--- End of inner exception stack trace ---
at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)
at Microsoft.EnterpriseManagement.UI.WpfWizardFramework.PropertySheetDialogBase.bgw_DoAcceptWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at Microsoft.EnterpriseManagement.ConsoleFramework.BackgroundWorkerWithCulture.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AddAttachmentToIncident()
at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)
Hi Seth I appreciate the follow up but...
Were not a paying customer. Just leveraging the free tool and recently upgraded to 2016 where this issue started. So we do not have a login for the support portal.
I can send someone contact info if you'd still like to troubleshoot.
I just tested this in my lab using Microsoft Exchange and found the same issue. The email gets sent but there are no attachments.
What I'll do is raise this in our support portal under my name and include a link back to this thread. I'll get the developers to have a look at this when they are next available.
Thanks,
Tony
This is currently still an active issue. I'll ask the devs and find out how the process is going with it.
Thanks, Tony
Gary
I'm having the same issue. Don't know if I need to submit this as an incident. Any news about a fix?
Frederik
This app has now been updated and is available at softwaredownloads.cireson.com
Release notes found here: https://support.cireson.com/KnowledgeBase/View/1332#/
Regards, Tony
If i use the 2016.20 version of the app i get the error: Message: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
An email is sent without the attachment.
If i use the 2016.10 version the email is sent but without the attachment.
Is there a newer version than the 2016.20? Or a workaround for this?
Thanks in advance
The email is sent, including the attached png file. So for me only the error is still shown, but the app is working fine.
Regards,
Frederik
More details on the error.
Error only occurs from an open form. It does not occur from a view. (implies error is coming from IDataItem, not SDK).
Email sends correctly.
Attachment works.
Attachment related to ticket correctly.
Action log updates correctly.
Not sure what else the tool tries to modify.