SgDotNet
Singapore Professional .NET User Group -For Cool Developers
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
Wikis
Groups
Forums
»
SgDotNet Community Projects
»
Community Server
»
Bug fix: Thread move now notifies thread starter
Bug fix: Thread move now notifies thread starter
rated by 0 users
This post has 0 Replies | 1 Follower
Posts
2,260
Reply
icelava
Posted: 05-08-2005 11:21 PM
rated by 0 users
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
Previous
|
Next
Page 1 of 1 (1 items) |
RSS
Copyright SgDotNet 2004-2008