# Mailing List?

**URL:** <https://forum.kirupa.com/t/mailing-list/101808>\
**Category:** Uncategorized\
**Created:** [February 14, 2004, 6:57am UTC](https://forum.kirupa.com/t/mailing-list/101808 "2004-02-14T06:57:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blork](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Blork](https://forum.kirupa.com/u/Blork)\
**Post date:** [February 14, 2004, 6:57am UTC](https://forum.kirupa.com/t/mailing-list/101808/1 "2004-02-14T06:57:45Z")

</div>

Can somebody explain how I create a mailing list? And also how they work? When they submit their Email Address into the form, it emails you their address, and you just write it down or whatever for when you send out an email for news?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 2:21am UTC](https://forum.kirupa.com/t/mailing-list/101808/2 "2004-02-19T02:21:32Z")

</div>

You can have a look at [http://www.hotscripts.com](http://www.hotscripts.com)

Good luck

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 5:46am UTC](https://forum.kirupa.com/t/mailing-list/101808/3 "2004-02-19T05:46:25Z")

</div>

I can’t believe I never thought about how friggin easy that would be… on a side note though, what would happen if there was an error sending an email? Ie: the e-mail address doesn’t actually exist?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2004, 8:03am UTC](https://forum.kirupa.com/t/mailing-list/101808/4 "2004-02-21T08:03:59Z")

</div>

im curious, if i was using php, would i be using the mail() function on every address on the database? or there are other functions out there? suppose that I have 500 people on the database…

thanks 😃

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2004, 8:36am UTC](https://forum.kirupa.com/t/mailing-list/101808/5 "2004-02-21T08:36:24Z")

</div>

```php

include 'config.php' /*Mysql Connection is done */
result = mysql_query("SELECT * FROM users"); /*Returns all the users. For ex:500 */

set_time_limit(0); /*Unlimited execution time for the script */

/*Sends mail to returned users */
while($rs=mysql_fetch_array($result)) {
mail($rs[email], "My Subject", "Line 1
Line 2
Line 3");
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2004, 9:16am UTC](https://forum.kirupa.com/t/mailing-list/101808/6 "2004-02-21T09:16:48Z")

</div>

ah thanks 😃
