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

nbsmtp.c File Reference


Detailed Description

nbsmtp specific functions

Author:
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.c.

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/param.h>
#include <netdb.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include <syslog.h>
#include <pwd.h>
#include "nbsmtp.h"
#include "util.h"
#include "base64.h"
#include "servinfo.h"
#include "smtp.h"
#include "fdutil.h"
#include "original.h"

Go to the source code of this file.

Functions

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

Variables

const char *const authors []
 nbSMTP authors


Generated by  Doxygen 1.6.0   Back to index