SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Bug fix: Thread move now notifies thread starter

rated by 0 users
This post has 0 Replies | 1 Follower

Top 10 Contributor
Posts 2,260
icelava Posted: 05-08-2005 11:21 PM
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