claws-mail/src/send_message.h
Colin Leroy d9de0abf0c 2006-03-01 [colin] 2.0.0cvs95
* src/addr_compl.c
	* src/addrbook.c
	* src/addressbook.c
	* src/addrindex.c
	* src/folder_item_prefs.c
	* src/headerview.c
	* src/imap.c
	* src/inc.c
	* src/ldif.c
	* src/mainwindow.c
	* src/mh.c
	* src/msgcache.c
	* src/prefs_common.h
	* src/prefs_msg_colors.c
	* src/procheader.c
	* src/procheader.h
	* src/procmime.c
	* src/procmsg.c
	* src/procmsg.h
	* src/send_message.h
	* src/simple-gettext.c
	* src/summaryview.c
	* src/summaryview.h
	* src/syldap.c
	* src/textview.c
	* src/undo.c
	* src/common/ssl_certificate.c
	* src/common/utils.c
	* src/gtk/colorsel.c
	* src/gtk/gtksctree.c
	* src/gtk/gtkshruler.c
	* src/plugins/trayicon/trayicon.c
		#if 0 goes to /dev/null
2006-03-01 18:38:28 +00:00

46 lines
1.4 KiB
C

/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws 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
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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.
*/
#ifndef __SEND_MESSAGE_H__
#define __SEND_MESSAGE_H__
#include <glib.h>
#include "prefs_account.h"
#define SMTP_PORT 25
#if USE_OPENSSL
#define SSMTP_PORT 465
#endif
gint send_message (const gchar *file,
PrefsAccount *ac_prefs,
GSList *to_list);
gint send_message_local (const gchar *command,
FILE *fp);
gint send_message_smtp (PrefsAccount *ac_prefs,
GSList *to_list,
FILE *fp);
gint send_message_smtp_full (PrefsAccount *ac_prefs,
GSList *to_list,
FILE *fp,
gboolean keep_session);
#endif /* __SEND_H__ */