MyBB Community Forums

Full Version: SEND Email?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<form method="post">
<td width="40%" class="trow1"><strong>FeedBack</strong></td>
<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="feedback" /></td>
<td valign="top" width="40%" class="trow2"><strong>Message}</strong></td>
<td width="60%" class="trow2"><textarea cols="50" rows="10" name="message">{$message}</textarea></td>
<input type="hidden" name="action" value="do_email" />
<div align="center"><input type="submit" class="button" value="send email" /></div>

How to include name="feedback" input filed into message body?

I use:

my_mail($mybb->settings['adminemail'], '[' . $mybb->settings['bbname'] . ' ' . $pages['name'] . '] ' . $subject, $number, $message, $from, '', '', false, 'text', '', $email);

But don't understand how $message gets inserted into message body?

Have a request here: