/ gwmail.h / Content
/*  GWhere.
 *  Copyright (C) 2000  Sébastien LECACHEUR
 *
 *  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */





#ifndef GW_TOOLS_MAIL_H
#define GW_TOOLS_MAIL_H



int gw_mail_check_msg ( char * msg, char * code);



int gw_mail_read_msg ( int sd);



int gw_mail_send_msg ( int sd, char * msg);



int gw_mail_attachment_encode_base64_and_send ( int sd, char * file );



int gw_mail_send_mail ( char * hostname, int server_port, char * from, char * to, char * cc, char * bcc, char * object, char * msg, char * file);



gboolean gw_mail_check_email_list ( const char * email_list);


#endif