Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 69
Registered: ‎11-11-2015
Accepted Solution

MailTrigger Error

when firering the MailTrigger i get a message that the email address is in wrong format. what am i doing wrong? which format does the email address need?

 

my settings:

 

trigger

 

   <WorkflowTrigger name="ReportMailTriggerMeldung" type="ReportFormMailTrigger" method="action">
        <Param name="From" value="test" />
        <Param name="Recipients" value="{FORM.Recipients}" />
        <Param name="Subject" value="test" />
        <Param name="Body" value="test" />
       <Param name="ReportName" value="Wachbericht" />
        <Param name="ReportFormat" value="pdf" />
        <Param name="FormName" value="B1_RD_ICAD_Berichte" />
      <Param name="ReportFileName" value="D_Meldung_Detail" />

 

recipient table:

 

  <FormTable name="Recipients" label="Empfänger" persisted="false" idfield="email" lov="SQL[select Email from RD_Kontakte]" selectionmode="multiple" rowcount="4">
    <FormTableField name="email" label="Email" />
    </FormTable>

 

error message:

 


06.09.2018 16:42:28 ERROR - Controller Trigger has raised an exception in Action FireData.
System.FormatException: Die angegebene Zeichenfolge besitzt nicht das für eine E-Mail-Adresse erforderliche Format.
   bei System.Net.Mail.MailAddressParser.ReadCfwsAndThrowIfIncomplete(String data, Int32 index)
   bei System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)
   bei System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
   bei Intergraph.Emea.Workflows.MailTrigger.Execute()
   bei Intergraph.Emea.Workflows.TriggerController.ExecuteTriggers(TriggerExecution triggerExecution, IEnumerable`1 workflowTriggerDescriptions, IWorkflowControllerContext workflowControllerContext, WorkflowData workflowData)
   bei Intergraph.Emea.Workflows.TriggerController.ExecuteTrigger(IEnumerable`1 triggerNames, WorkflowNodeDescription nodeDescription, IWorkflowControllerContext workflowControllerContext, WorkflowData workflowData)
   bei Intergraph.Emea.Workflows.TriggerController.FireData(List`1 triggerNames, DomainObject domainObject)
   bei lambda_method(Closure , ControllerBase , Object[] )
   bei System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

Contributor
Posts: 69
Registered: ‎11-11-2015

Re: MailTrigger Error

already solved it... my "from" parameter was the problem...

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.