Composing messages works great!
[squirrelmail.git] / src / compose_send.php
1 <HTML>
2 <META HTTP-EQUIV="REFRESH" CONTENT="0;URL=right_main.php">
3 <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
4 <?
5 include("../config/config.php");
6 include("../functions/strings.php");
7 include("../functions/page_header.php");
8 include("../functions/mailbox.php");
9 include("../functions/smtp.php");
10
11 sendMessage($smtpServerAddress, $smtpPort, $username, $domain, $passed_to, $passed_cc, $passed_bcc, $passed_subject, $passed_body, $version);
12
13 echo "<FONT FACE=\"Arial,Helvetica\">";
14 echo "<BR><BR><BR><CENTER><B>Message Sent!</B><BR><BR>";
15 echo "You will be automatically forwarded.<BR>If not, <A HREF=\"right_main.php\">click here</A>";
16 echo "</CENTER></FONT>";
17 ?>
18 </BODY></HTML>