2012-11-27 [wwp] 3.9.0cvs21
[claws.git] / src / send_message.h
index 08f5a0307bbd43c1a9a8743e7ad4fab755af2a73..826d54e9bfeef8a88c633129bc931db00d83e706 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2003 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 #ifndef __SEND_MESSAGE_H__
 #include "prefs_account.h"
 
 #define SMTP_PORT      25
-#if USE_OPENSSL
+#ifdef USE_GNUTLS
 #define SSMTP_PORT     465
 #endif
 
 gint send_message              (const gchar    *file,
                                 PrefsAccount   *ac_prefs,
                                 GSList         *to_list);
-#if 0
-gint send_message_queue                (const gchar    *file);
-#endif
 gint send_message_local                (const gchar *command,
                                 FILE *fp);
 gint send_message_smtp         (PrefsAccount *ac_prefs,
@@ -44,5 +41,6 @@ gint send_message_smtp_full   (PrefsAccount *ac_prefs,
                                 GSList *to_list, 
                                 FILE *fp, 
                                 gboolean keep_session);
+void send_cancel       (void);
 
 #endif /* __SEND_H__ */