# CDONTS Email via Database

**URL:** <https://forum.kirupa.com/t/cdonts-email-via-database/104547>\
**Category:** Uncategorized\
**Created:** [March 17, 2004, 8:10am UTC](https://forum.kirupa.com/t/cdonts-email-via-database/104547 "2004-03-17T08:10:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMC\_Web](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@SMC\_Web](https://forum.kirupa.com/u/SMC_Web)\
**Post date:** [March 17, 2004, 8:10am UTC](https://forum.kirupa.com/t/cdonts-email-via-database/104547/1 "2004-03-17T08:10:09Z")

</div>

Ok,

So after many hours of coding that have brought no joy, I finally decided to post.

I have created a form, that allows the admin of a website to send an HTML email to its members, via a database.

The form works fine when you send to one person, but as soon as there is more than 1 email address to send to it all goes ballistic.

There are around 10 emails sent to each person in the database, each growing in length.

The first one received has 1 copy of the information in, the second has 2 copies, the third has 3 and so on.

I cannot see a problem within my code as to why this would be happening.

The source of the file is attached [HERE](http://www.smc-web.co.uk/flash/email.html).

Please check it and highlight and corrections made. Thanks.

Steve
