I need to set up a job in SQL Server 2008 to run at the first of the month sending an email to our customers. However, I do not know how to loop through the results of the s
the problem is @recipients = @MailRecipients. It is expecting a string (an email address) and you are giving it a recordSet.
@recipients = @MailRecipients