Problem with sending message via outlook

Hi, I think that I am having problem sending the messages.

20.10.0-beta.149+Branch.release-v20.10.0.Sha.a2a49c5f6930512e44a38f06563aeda5139ff7c6

Message: Property accessor ‘Account’ on object ‘UiPath.Mail.Activities.Business.OutlookApplicationCard’ threw the following exception:‘Object reference not set to an instance of an object.’

Exception Type: System.Reflection.TargetInvocationException

RemoteException wrapping System.Reflection.TargetInvocationException: Property accessor ‘Account’ on object ‘UiPath.Mail.Activities.Business.OutlookApplicationCard’ threw the following exception:‘Object reference not set to an instance of an object.’ —> RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Mail.Outlook.OutlookAccountWithStoreDetectionService.GetSelectedStoreDisplayName()
at UiPath.Mail.Activities.Business.OutlookApplicationCard.get_Account()
— End of inner exception stack trace —
at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component)
at System.Activities.Activity.ReflectedInformation…ctor(Activity activity, ReflectedType reflectType)
at System.Activities.NativeActivity.CacheMetadata(NativeActivityMetadata metadata)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.CacheMetadata(NativeActivityMetadata metadata)
at System.Activities.NativeActivity.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.d__89.MoveNext()

Solutions?
Tnx in advance

@Petza

Welcome to forums

Can you share me the properties screen you are trying for?

Thanks

Hi,
I was able to fix the problem.
Tnx anyway for responding!

Cheers!

1 Like

how did you do it?

1 Like

Most likely there is a communication problem between Outlook and your outgoing mail server, so the email is stuck in Outbox because Outlook can’t connect to your mail server to send it. – check with your email address provider and make sure your mail server settings are up to date.
Best Regards
Apps4Rent | CloudDesktopOnline | O365CloudExperts