# Send\_mail page events

**URL:** <https://forum.radsystems.io/t/send-mail-page-events/850>\
**Category:** PHPRad Classic\
**Created:** [May 4, 2022, 12:47am UTC](https://forum.radsystems.io/t/send-mail-page-events/850 "2022-05-04T00:47:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![busster8](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/b/ad7895/32.png) [@busster8](https://forum.radsystems.io/u/busster8)\
**Post date:** [May 4, 2022, 12:47am UTC](https://forum.radsystems.io/t/send-mail-page-events/850/1 "2022-05-04T00:47:48Z")

</div>

I have the send\_mail function working, but would like to have it formatted differently.

Ultimately I would like to be able to send an email to customers when orders have been placed for them. and attach a basic email signature at the bottom.

I can get the information in the $mailbody, but having difficulty getting line feeds between the information.

---

<div class="post-metadata">

**Author:** ![Wahome-mutahi100](https://forum.radsystems.io/user_avatar/forum.radsystems.io/wahome-mutahi100/32/16_2.png) [@Wahome-mutahi100](https://forum.radsystems.io/u/Wahome-mutahi100)\
**Post date:** [May 4, 2022, 2:05am UTC](https://forum.radsystems.io/t/send-mail-page-events/850/2 "2022-05-04T02:05:44Z")

</div>

What do you mean line feeds?

---

<div class="post-metadata">

**Author:** ![busster8](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/b/ad7895/32.png) [@busster8](https://forum.radsystems.io/u/busster8)\
**Post date:** [May 4, 2022, 3:16am UTC](https://forum.radsystems.io/t/send-mail-page-events/850/3 "2022-05-04T03:16:53Z")

</div>

Instead of having a body of the mail be:  
text text text

have the following:  
text  
text  
text

---

<div class="post-metadata">

**Author:** ![busster8](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/b/ad7895/32.png) [@busster8](https://forum.radsystems.io/u/busster8)\
**Post date:** [May 5, 2022, 11:36pm UTC](https://forum.radsystems.io/t/send-mail-page-events/850/4 "2022-05-05T23:36:26Z")

</div>

Is send\_mail the only email function in PHPRad? Is it possible to make it more robust?

---

<div class="post-metadata">

**Author:** ![ribaraki](https://forum.radsystems.io/user_avatar/forum.radsystems.io/ribaraki/32/493_2.png) [@ribaraki](https://forum.radsystems.io/u/ribaraki)\
**Post date:** [May 25, 2022, 4:30pm UTC](https://forum.radsystems.io/t/send-mail-page-events/850/5 "2022-05-25T16:30:59Z")

</div>

when I need a more robust emailing what I have used so far is emailqueue along with my applications, just insert a record by database or by API and all forget about queueing, sending as scheduled, prioritizing, etc. Take a look at: [GitHub - tin-cat/emailqueue: A fast, simple yet very efficient email queuing system for PHP/MySQL](https://github.com/tin-cat/emailqueue)
