I used the same code that's in the article for a recent project, and it works great. However, I noticed in the code that the first recipient will not receive the email.
1. This is because after you fetch their email address, you then check the FETCH_STATUS to make sure it's valid.
2. You then print the email address and fetch a new one.
3. Then the email is sent.
It seems that you would want to send the email before fetching the next record. Otherwise, someone will be left out.
Jason