Composing messages works great!
[squirrelmail.git] / src / compose_send.php
index aba3ccf7e79cb73e247a77863d81ba83dd9aeeb7..b3d6a79cd0fc49e5dd63449e48040a3c21872a55 100644 (file)
@@ -1,3 +1,6 @@
+<HTML>
+<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=right_main.php">
+<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
 <?
    include("../config/config.php");
    include("../functions/strings.php");
@@ -5,6 +8,11 @@
    include("../functions/mailbox.php");
    include("../functions/smtp.php");
 
-   sendMessage($smtpServerAddress, $smtpPort, $passed_to, $passed_subject, $passed_body);
-   echo "<A HREF=\"right_main.php\">RETURN</A>";
-?>
\ No newline at end of file
+   sendMessage($smtpServerAddress, $smtpPort, $username, $domain, $passed_to, $passed_cc, $passed_bcc, $passed_subject, $passed_body, $version);
+
+   echo "<FONT FACE=\"Arial,Helvetica\">";
+   echo "<BR><BR><BR><CENTER><B>Message Sent!</B><BR><BR>";
+   echo "You will be automatically forwarded.<BR>If not, <A HREF=\"right_main.php\">click here</A>";
+   echo "</CENTER></FONT>";
+?>
+</BODY></HTML>
\ No newline at end of file