Source for file mailout.php
Documentation is available at mailout.php
* Copyright (c) 1999-2006 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
* $Id: mailout.php,v 1.13.2.9 2006/02/03 22:27:52 jervfors Exp $
* @subpackage listcommands
/* SquirrelMail required files. */
require_once(SM_PATH .
'include/validate.php');
include_once(SM_PATH .
'functions/page_header.php');
include_once(SM_PATH .
'include/load_prefs.php');
include_once(SM_PATH .
'functions/html.php');
require_once(SM_PATH .
'functions/identity.php');
$out_string =
_("This will send a message to %s requesting help for this list. You will receive an emailed response at the address below.");
$out_string =
_("This will send a message to %s requesting that you will be subscribed to this list. You will be subscribed with the address below.");
$out_string =
_("This will send a message to %s requesting that you will be unsubscribed from this list. It will try to unsubscribe the adress below.");
html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) .
"\n" .
html_tag( 'th', _("Mailinglist") .
' ' .
_($action), '', $color[9] )
echo
'<form method="post" action="../../src/compose.php">';
echo
html_tag('p', '', 'center' ) .
_("From:") .
' ';
if (count($idents) >
1) {
echo
'<select name="identity">';
foreach($idents as $nr=>
$data) {
echo
'<option value="' .
$nr .
'">' .
$data['email_address'] .
">\n");
echo
'</select>' .
"\n" ;
echo
htmlspecialchars('"'.
$idents[0]['full_name'].
'" <'.
$idents[0]['email_address'].
'>');
.
'<input type="hidden" name="send_to" value="' .
htmlspecialchars($send_to) .
'">'
.
'<input type="hidden" name="subject" value="' .
htmlspecialchars($subject) .
'">'
.
'<input type="hidden" name="mailbox" value="' .
htmlspecialchars($mailbox) .
'">'
.
'<input type="submit" name="send" value="' .
_("Send Mail") .
'"><br /><br /></center>'
.
'</form></td></tr></table></p></body></html>';
Documentation generated on Sat, 07 Oct 2006 16:32:18 +0300 by phpDocumentor 1.3.0RC6