added drag bar

This commit is contained in:
JT Smith 2006-05-18 23:04:23 +00:00
parent dcad29dd8c
commit 5041f31025
6 changed files with 28 additions and 11 deletions

View file

@ -645,7 +645,7 @@ sub sendEmail {
}
if ($to =~ /\@/) {
my $mail = WebGUI::Mail::Send->create($self->session,{to=>$to, subject=>$subject, cc=>$cc, from=>$from, bcc=>$bcc});
$mail->addText($message);
$mail->addHtml($message);
$mail->addFooter;
$mail->queue;
} else {
@ -667,13 +667,13 @@ sub sendEmail {
});
my $mail = WebGUI::Mail::Send->create($self->session,{to=>$cc, subject=>$subject, from=>$from});
if ($cc) {
$mail->addText($message);
$mail->addHtml($message);
$mail->addFooter;
$mail->queue;
}
if ($bcc) {
WebGUI::Mail::Send->create($self->session, {to=>$bcc, subject=>$subject, from=>$from});
$mail->addText($message);
$mail->addHtml($message);
$mail->addFooter;
$mail->queue;
}