**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/date.php');
include('../functions/smtp.php');
include('../functions/display_messages.php');
include('../functions/addressbook.php');
include('../functions/plugin.php');
- include('../src/load_prefs.php');
// Insert hidden data
function addr_insert_hidden() {
- global $body, $subject, $send_to, $send_to_cc, $send_to_bcc, $mailbox;
+ global $body, $subject, $send_to, $send_to_cc, $send_to_bcc, $mailbox,
+ $identity;
echo '<input type=hidden value="';
if (substr($body, 0, 1) == "\r")
. '" name=send_to_cc>' . "\n";
echo "<input type=hidden value=\"" . htmlspecialchars($send_to_bcc)
. '" name=send_to_bcc>' . "\n";
+ echo "<input type=hidden value=\"" . htmlspecialchars($identity)
+ . '" name=identity>' . "\n";
echo "<input type=hidden name=mailbox value=\"" .
htmlspecialchars($mailbox) . "\">\n";
echo "<input type=hidden value=\"true\" name=from_htmladdr_search>\n";