Quantcast
Viewing all articles
Browse latest Browse all 25064

Email Activity in Visual Studio Workflows

Hi All,

I am trying to create a simple visual studio workflow to send an email. I create a Collection<String> variable and use AddToCollection<String> activity to add the TO address. Then i use the "Email" Activity to send the mail. However i am getting an "HTTP 400" exception when i run this workflow. PFB the stack trace

Instance '0eaf80ca-ab06-4b6d-97fc-54a508076da5' of workflow ff4179e7-b670
-4bc0-a2ee-2555909b90c9 Status: SystemSuspended; Details: RequestorId: 964bd77b-
6c2e-b168-0000-000000000000. Details: An unhandled exception occurred during the
 execution of the workflow instance. Exception details: System.ApplicationExcept
ion: HTTP 400

{"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["3"],"SPClientServic
eRequestDuration":["239"],"SPRequestGuid":["964bd77b-6c2e-b168-9771-f434d2800000"],"request-id":["964bd77b-6c2e-b168-9771-f434d2800000"],"X-FRAME-OPTIONS":["SAM
EORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireRead
Only"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-a
ge=0, private"],"Date":["Wed, 05 Jun 2013 06:46:25 GMT"],"Set-Cookie":["WSS_Keep
SessionAuthenticated={e01039e8-5093-4bbc-a189-261ff491e7d6}; path=\/"],"X-AspNet
-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
   at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(Co
deActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, Book
markManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.Execute
Body(ActivityExecutor executor, BookmarkManager bookmarkManager, Location result
Location).
Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Regards,

Muthu


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>