I am trying to look through an activity grid to send email notifications to my clients. I loop through the grid and get the customer entity and use that to get a new field I added to my table called "NotificationEmail", I copy this into a local ActionResult and then generate a notification report and put the contents of NotificationEmail ActionResult into the MailTo field. The potential bugs are
1) If there is a semicolon in the email address then I get a 501 error stating that the email address is malformed and the email address it shows starts with the first semicolon in the address and goes to the character before the next semicolon or end. For example, if the email address is: site1@client1.com;manager1@site1.com;other1@site1.com, the error message would show ";other1@site1.co"
2)If I put a message box to display the NotificationEmail to me just before the SendEmail instruction, the email displays correctly, I do not get a 501 error message and the email sends just fine.
3)If I put in a message box inside the loop, the loop only executes one time. It does not reloop and the message does not display for each row in the grid.
Can anyone confirm this behavior and is there a work around. The message box preventing a loop from occuring makes development very difficult. The email address problem makes the system much less useable.
Stephen Gissendaner
Clean2Play, ll
(205) 447-7447