AnsweredAssumed Answered

"Email Notification" Erroring Workflow due to Email Address Trying to Resolve

Question asked by sheila33496 on Oct 28, 2014
Latest reply on Apr 18, 2017 by sdspecy

We have an email address which is a real AD account with an email address associated to it. It has a Group Scope of Global and a Group Type of Security. When entering this email address into a Nintex Workflow Notification action, the email address (which I enter as an External Email ) tries to Resolve itself which results in returning "company\cer_superadmin" or just "cer_superadmin" and the following error:

 

"Failed to send notification. Cannot get the full name or e-mail address of user "cer_superadmin@company.com"."

 

I have tested the email address by sending directly to it from my email account and it works fine.

 

I found this information which helps a little.... but doesn't really explain what to do about it:

"You can assign a notification to an external email address, but even if you do so it will still try to resolve it first. This is because values that are entered into the action can be dynamic (item properties, variables, etc), so at runtime it tries to work out if its a user / group / external email, and attempting to resolve it is a part of this process."

 

Also, here is the information from the error logs (if this helps at all):

 

10/27/2014 16:24:41.70  w3wp.exe (0x264C)                        0x0C30 Nintex Workflow 2010           General                        0000 Unexpected  (http://company/CapitalExpenditure/_layouts/NintexWorkflow/preview.aspx?ListId=257f8efe-929f-4285-9f5e-a0bbec3dc0fd&ItemId=85&InstanceId=f1f79d0b-b5f9-4bba-9e21-376347d35610): Nintex.Workflow.NWActionExecutionException: Failed to send notification. ---> Microsoft.SharePoint.SPException: Cannot get the full name or e-mail address of user "COMPANY\cer_superadmin".     at Microsoft.SharePoint.Utilities.SPUtility.GetNTFullNameandEmailfromLogin(SPRequest request, String login, String& displayName, String& email)     at Microsoft.SharePoint.Utilities.SPUtility.GetFullNameandEmailfromLogin(SPWeb web, String login, String& displayName, String& email)     at Nintex.Workflow.HumanApproval.UserInfo.GetDisplayNameAndEmail(SPWeb web, String login, String& displayName, String& email)     at Nintex....

 

10/27/2014 16:24:41.70* w3wp.exe (0x264C)                        0x0C30 Nintex Workflow 2010           General                        0000 Unexpected ...Workflow.HumanApproval.Message.GetMailAddress(User user, NWWorkflowContext context, Encoding encoding, ConfigSettings configSettings)     at Nintex.Workflow.HumanApproval.Message.GetEmailAddressForUser(User user, NWWorkflowContext context, Encoding encoding, ConfigSettings configSettings)     at Nintex.Workflow.HumanApproval.Message.SendEmail(String subject, User user, NWWorkflowContext context, NWContextDataCollection ctxData, MailAddressCollection toAddresses)     at Nintex.Workflow.HumanApproval.Message.Send(NWWorkflowContext context, User user)     at Nintex.Workflow.Activities.SendMessageActivity.Execute(ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workfl...

 

10/27/2014 16:24:41.70* w3wp.exe (0x264C)                        0x0C30 Nintex Workflow 2010           General                        0000 Unexpected ...ow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()     --- End of inner exception stack trace --- (Build:2360)

 

Environment:

  • SharePoint 2010 Enterprise Edition
  • Nintex Workflow 2010

 

Hoping someone can help!

Outcomes