Re: Emails being sent to strange recipients
privatevoidDoReminderJob(){try{string connectionString =ConfigurationManager.ConnectionStrings["UpdateDetailsConnectionString"].ConnectionString;//This query will fetch users that should be reminded...
View ArticleRe: Emails being sent to strange recipients
Hi,Unfortunately, not having any knowledge of C#, I have not idea if it's initialized or not. Where would I see if it was?Thanks, Mart
View ArticleRe: Emails being sent to strange recipients
Hi stabes,stabes newMail.SendMail(new[] { email }, "Membership Renewal Reminder", body);stabesCompiler Error Message: CS0165: Use of unassigned local variable 'body'According to the error message,...
View ArticleRe: Emails being sent to strange recipients
Thanks Mike. Doubled checked insertion - seems good. Got this message when testing -Compilation Error Description:An error occurred during the compilation of a resource required to service...
View ArticleRe: Emails being sent to strange recipients
It depends on how you pasted it in. Hopefully you correctly located the section of code that I intended to replace, but just for clarity, I have indicated it below: private void DoReminderJob() { try {...
View ArticleRe: Emails being sent to strange recipients
Thank you Mike for your help. What you say about the same incorrect first name being used sounds right, but I'll have to confirm. Incidentally, your re-written code had shades of blue, but when I...
View ArticleRe: Emails being sent to strange recipients
In the DoReminderJob method, the template is obtained from a file. Then for each member, a loop runs that replaces some placeholders (##FirstName## and ##DueDate##) with the current member's first name...
View ArticleEmails being sent to strange recipients
Hello all,Our association runs a fairly standard .Net membership management platform. We have an extra feature where an automatic monthly email is sent to members whose fees are due within the next...
View Article