# Help with $to

**URL:** <https://forum.kirupa.com/t/help-with-to/184445>\
**Category:** Uncategorized\
**Created:** [April 5, 2006, 6:50am UTC](https://forum.kirupa.com/t/help-with-to/184445 "2006-04-05T06:50:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![caro1966](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@caro1966](https://forum.kirupa.com/u/caro1966)\
**Post date:** [April 5, 2006, 6:50am UTC](https://forum.kirupa.com/t/help-with-to/184445/1 "2006-04-05T06:50:30Z")

</div>

Hello, I like to know if you can add two email-addresses in **$to** , how does it work?

Greetz Caro

---

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [April 5, 2006, 1:30pm UTC](https://forum.kirupa.com/t/help-with-to/184445/2 "2006-04-05T13:30:05Z")

</div>

How bout just do two different email functions, each with different emails?

---

<div class="post-metadata">

**Author:** ![skOOb](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@skOOb](https://forum.kirupa.com/u/skOOb)\
**Post date:** [April 5, 2006, 2:12pm UTC](https://forum.kirupa.com/t/help-with-to/184445/3 "2006-04-05T14:12:02Z")

</div>

PHP Manual

> to  
> Receiver, or receivers of the mail.

The formatting of this string must comply with » RFC 2822. Some examples are:

[user@example.com](mailto:user@example.com)  
[user@example.com](mailto:user@example.com), [anotheruser@example.com](mailto:anotheruser@example.com)  
User \<user@example.com\>  
User \<user@example.com\>, Another User \<anotheruser@example.com\>

hth, 🍺
