Logo Search packages:      
Sourcecode: nbsmtp version File versions  Download package

nbsmtp.h File Reference

Detailed Description

Function declaration for nbsmtp.c.

Fernando J. Pereda <ferdy@ferdyx.org>

Ricardo Cervera Navarro <ricardo@zonasiete.org>

This is part of nbsmtp. nbsmtp 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.

nbsmtp 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 nbsmtp; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

See COPYING for details.

Definition in file nbsmtp.h.

#include "servinfo.h"
#include "util.h"

Go to the source code of this file.


#define BUF_INC_HDR   100
#define BUF_SIZE   128
#define MAX_MSG_LEN   1024
#define MAX_RCPT_ADDR_LEN   128
#define MAX_RCPTS   100
#define SASL_CRAMMD5   2
#define SASL_DEFAULT   1
#define SASL_LOGIN   0
#define SASL_PLAIN   1


int nbsmtp_auth (servinfo_t *)
 Sends AUTH command to the server.
int nbsmtp_data (servinfo_t *, string_t *)
 Send the mail headers.
int nbsmtp_data_body (servinfo_t *)
 Send the mail body.
int nbsmtp_ehlo (servinfo_t *)
 Sends EHLO SMTP command.
int nbsmtp_header (servinfo_t *)
 Send received: by header.
int nbsmtp_helo (servinfo_t *)
 Sends HELO SMTP command.
int nbsmtp_rcpts (servinfo_t *, string_t *)
 Send Recipients to the server.

Generated by  Doxygen 1.6.0   Back to index