SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Bug fix: Thread move now notifies thread starter

Latest post 05-08-2005 11:21 PM by icelava. 0 replies.
  • 05-08-2005 11:21 PM

    Bug fix: Thread move now notifies thread starter

    The basic overload of Emails.CreatePost(Post, EmailType) called by Emails.PostMoved() prior to EnqueuEmail() would result in a MailMessage with null value for the To address. This is because CreatePost() would call its more detailed overload passing null for the User referenced as the To address.

    In summary, a message won't get queued to notify thread starters of thread moves.

    To fix this, PostMoved() must call the more explicit overload

    EnqueuEmail(CreatePost(post, EmailType.MessageMoved, post.User, null, null, true));

    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

Page 1 of 1 (1 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems