I came across very strange behavior of SharePoint workflow (Using Visual Studio). If I add Send Email Activity after Create Task activity, it gives me result- Error Occured . I thought, there will be problem for each activity after Create Task but Log To History works perfect. Then I also tried, to create a separate workflow which will only send mail with Send Email Activity, this also works fine.
If I add Send Mail after Create Task, it gives me error. Any solution ? Did anyone face this kind of issue?