CONTENT
  • CHANGES
Szukaj
counter

#top libsmtp


netutils - Narzędzia Sieciowe >> libnet - library network protocols >> libsmtp - Simple Mail Transfer Protocol

RFC 821 - Simple Mail Transfer Protocol
RFC 2821 - Simple Mail Transfer Protocol

#top Predefined Constants




#top Datatypes / MACROS


#top __SOCKADDR_COMMON


Definicja typu __SOCKADDR_COMMON znajduje się w pliku nagłówkowym bits/sockaddr.h.
Definicja typu __SOCKADDR_COMMON jest następująca:
/* This macro is used to declare the initial common members
   of the data types used for socket addresses, `struct sockaddr',
   `struct sockaddr_in', `struct sockaddr_un', etc.  */
#define __SOCKADDR_COMMON(sa_prefix) \
  sa_family_t sa_prefix##family



#top __socklen_t


Definicja typu __socklen_t znajduje się w pliku nagłówkowym bits/types.h.
Definicja typu __socklen_t jest następująca:
/* Duplicate info from sys/socket.h.  */
__STD_TYPE __U32_TYPE __socklen_t;



#top enum tlse_starttls_mode


Definicja typu enum tlse_starttls_mode znajduje się w pliku nagłówkowym netutils/libsocktls.h.
Definicja typu enum tlse_starttls_mode jest następująca:
enum tlse_starttls_mode {
	tlse_starttls_server=1,
	tlse_starttls_client=2
} tlse_starttls_mode; /* kind type of secure protocol: server or client */



#top enum tlse_proto_type


Definicja typu enum tlse_proto_type znajduje się w pliku nagłówkowym netutils/libsocktls.h.
Definicja typu enum tlse_proto_type jest następująca:
enum tlse_proto_type {
	tlse_proto_auto   =  0,
	tlse_proto_sslv3x =  2,
	tlse_proto_tlsv10 =  3,
	tlse_proto_tlsv11 =  4,
	tlse_proto_tlsv12 =  5,
	tlse_proto_tlsv13 =  6,
	tlse_proto_dtlsv09=  7,
	tlse_proto_dtlsv10=  8,
	tlse_proto_dtlsv12= 10,
	tlse_proto_NULL   =255
} tlse_proto_type; /* type of secure protocol to use. */



#top in_addr_t


Definicja struktury in_addr_t znajduje się w pliku nagłówkowym netinet/in.h.
Definicja struktury in_addr_t jest następująca:
/* Internet address.  */
typedef uint32_t in_addr_t;



#top in_port_t


Definicja struktury in_port_t znajduje się w pliku nagłówkowym netinet/in.h.
Definicja struktury in_port_t jest następująca:
/* Type to represent a port.  */
typedef uint16_t in_port_t;



#top sa_family_t


Definicja typu sa_family_t znajduje się w pliku nagłówkowym bits/sockaddr.h.
Definicja typu sa_family_t jest następująca:
/* POSIX.1g specifies this type name for the `sa_family' member.  */
typedef unsigned short int sa_family_t;



#top size_t


Definicja typu size_t znajduje się w pliku nagłówkowym /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h.
Definicja typu size_t jest następująca:
/* Unsigned type of `sizeof' something.  */

/* Define this type if we are doing the whole job,
   or if we want this type in particular.  */
#if defined (_STDDEF_H) || defined (__need_size_t)
#ifndef __size_t__  /* BeOS */
#ifndef __SIZE_T__  /* Cray Unicos/Mk */
#ifndef _SIZE_T /* in case <sys/types.h> has defined it. */
#ifndef _SYS_SIZE_T_H
#ifndef _T_SIZE_
#ifndef _T_SIZE
#ifndef __SIZE_T
#ifndef _SIZE_T_
#ifndef _BSD_SIZE_T_
#ifndef _SIZE_T_DEFINED_
#ifndef _SIZE_T_DEFINED
#ifndef _BSD_SIZE_T_DEFINED_    /* Darwin */
#ifndef _SIZE_T_DECLARED    /* FreeBSD 5 */
#ifndef ___int_size_t_h
#ifndef _GCC_SIZE_T
#ifndef _SIZET_
#ifndef __size_t
#define __size_t__  /* BeOS */
#define __SIZE_T__  /* Cray Unicos/Mk */
#define _SIZE_T
#define _SYS_SIZE_T_H
#define _T_SIZE_
#define _T_SIZE
#define __SIZE_T
#define _SIZE_T_
#define _BSD_SIZE_T_
#define _SIZE_T_DEFINED_
#define _SIZE_T_DEFINED
#define _BSD_SIZE_T_DEFINED_    /* Darwin */
#define _SIZE_T_DECLARED    /* FreeBSD 5 */
#define ___int_size_t_h
#define _GCC_SIZE_T
#define _SIZET_
#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
/* __size_t is a typedef on FreeBSD 5!, must not trash it. */
#else
#define __size_t
#endif
#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ long unsigned int
#endif
#if !(defined (__GNUG__) && defined (size_t))
typedef __SIZE_TYPE__ size_t;
#ifdef __BEOS__
typedef long ssize_t;
#endif /* __BEOS__ */
#endif /* !(defined (__GNUG__) && defined (size_t)) */
#endif /* __size_t */
#endif /* _SIZET_ */
#endif /* _GCC_SIZE_T */
#endif /* ___int_size_t_h */
#endif /* _SIZE_T_DECLARED */
#endif /* _BSD_SIZE_T_DEFINED_ */
#endif /* _SIZE_T_DEFINED */
#endif /* _SIZE_T_DEFINED_ */
#endif /* _BSD_SIZE_T_ */
#endif /* _SIZE_T_ */
#endif /* __SIZE_T */
#endif /* _T_SIZE */
#endif /* _T_SIZE_ */
#endif /* _SYS_SIZE_T_H */
#endif /* _SIZE_T */
#endif /* __SIZE_T__ */
#endif /* __size_t__ */
#undef  __need_size_t
#endif /* _STDDEF_H or __need_size_t.  */



#top SOCKET


Definicja typu SOCKET znajduje się w pliku nagłówkowym libsocknet.h.
Definicja typu SOCKET jest następująca:
#if defined(__WIN32__) || defined(WIN32) || defined(_WIN32)
/*typedef u_int SOCKET;*/
/*
C:/Dev-CPP/bin/../lib/gcc/mingw32/3.4.2/../../../../include/winsock.h:32: error:
  conflicting types for 'SOCKET'
../../libinc/datatypes.h:33: error: previous declaration of 'SOCKET' was here
*/
#else
typedef int SOCKET;
#endif



#top socklen_t


Definicja typu socklen_t znajduje się w pliku nagłówkowym bits/socket.h.
Definicja typu socklen_t jest następująca:
/* Type for length arguments in socket calls.  */
#ifndef __socklen_t_defined
typedef __socklen_t socklen_t;
# define __socklen_t_defined
#endif



#top socktls_session_t


Definicja struktury socktls_session_t znajduje się w pliku nagłówkowym libnet/libsocktls.h.
Definicja struktury socktls_session_t jest następująca:
typedef void* socktls_session_t;



#top struct _smtp


Definicja struktury struct _smtp znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Definicja struktury struct _smtp jest następująca:
struct _smtp {
	const char *self;
	short int argquiet;
	short int argdebug;
	
	short int isterm;
	char *C_NORMAL;
	
	char *C_SEND;
	char *C_LINE;
	
	char *C_OK;
	char *C_WARN;
	char *C_FAIL;
	char *C_ERR;
	
	
	
	short int argsocksend;
	short int argsockrecv;
	short int argsockinfo;
	short int argcommsend;
	short int argcommrecv;
	short int argdatasend;
	short int argdatarecv;
	
	short int argtlsinfo;
	short int argcertcheck;
	short int argcertverify;
	short int argcertinfo;
	short int argcertshow;
	
	
	
	struct URLInfo *urlsinfo, urlsdata;
	
	double dnsqtimeo;
	char  *dnsqaddr;
	char   ipaddr[DMAXHOST6ADDR];
	
	short int REUSEADDR;
	short int REUSEPORT;
	int SNDTIMEO;
	int RCVTIMEO;
	int SNDBUF;
	int RCVBUF;
	short int SNDLOWAT;
	short int RCVLOWAT;
	short int KEEPALIVE;
	short int NODELAY;
	
	char  *bindaddr;
	
	double timeoconn;
	double timeosock;
	
	char tlsname[DMAXHOSTNAME];
	struct addrinfo *addrlist;
	sa_family_t af_family;
	SOCKET osock;
	char *x509_cafile;
#ifdef HAVE_LIBTLS
	enum tlse_proto_type opt_proto_type;
	struct SOCKTLS_CTX_ST *ssl_ctx;
	socktls_session_t      ssl;
#endif
	
	/** @name proxy */
	short int proxytalk; /* proxyneed==1 - talking with proxy - not with the destination server */
	struct URLInfo viaxdata, *viaxinfo;
	short int proxytunnel;
	short int proxysocks;
	
	
	
	double dnsq;
	double conn;
	double bann;
	double starttls;
	double socktls;
	double auth;
	double quit;
	
	double helo;
	double mail;
	double rcpt;
	double datainit;
	double datasend;
	double rset;
	
	int    istatus;
	char   sstatus[256];
	
	unsigned int speed;
	long long int size;
	/* size_t filesize; */
	
	
	
	char *argnomail;
	char *argnotify;
	
	char heloname[DMAXHOSTNAME];
	int fdcont;
	char  boundary[64];
	char  boundalt[64];
	char  boundrel[64];
	
	char *headpree;
	char *headmessageid;
	char *headuseragent;
	char *headfrom;
	char *headto;
	char *headsubject;
	char *headdate;
	char *headpost;
	
	char *bodytext;
	char *bodyhtml;
	char *attachments;
};



#top struct addrinfo


Deklaracja struktury struct addrinfo znajduje się w pliku nagłówkowym netdb.h.
Deklaracja struktury struct addrinfo jest następująca:
/* Structure to contain information about address of a service provider.  */
struct addrinfo
{
  int ai_flags;         /* Input flags.  */
  int ai_family;        /* Protocol family for socket.  */
  int ai_socktype;      /* Socket type.  */
  int ai_protocol;      /* Protocol for socket.  */
  socklen_t ai_addrlen;     /* Length of socket address.  */
  struct sockaddr *ai_addr; /* Socket address for socket.  */
  char *ai_canonname;       /* Canonical name for service location.  */
  struct addrinfo *ai_next; /* Pointer to next in list.  */
};



#top struct in_addr


Deklaracja struktury struct in_addr znajduje się w pliku nagłówkowym netinet/in.h.
Deklaracja struktury struct in_addr jest następująca:
/* Internet address.  */
struct in_addr
  {
    in_addr_t s_addr;
  };



#top struct in6_addr


Deklaracja struktury struct in6_addr znajduje się w pliku nagłówkowym netinet/in.h.
Deklaracja struktury struct in6_addr jest następująca:
/* IPv6 address */
struct in6_addr
  {
    union
      {
    uint8_t u6_addr8[16];
    uint16_t u6_addr16[8];
    uint32_t u6_addr32[4];
      } in6_u;
#define s6_addr         in6_u.u6_addr8
#define s6_addr16       in6_u.u6_addr16
#define s6_addr32       in6_u.u6_addr32
  };



#top struct sockaddr


Deklaracja struktury struct sockaddr znajduje się w pliku nagłówkowym bits/socket.h.
Deklaracja struktury struct sockaddr jest następująca:
/* Structure describing a generic socket address.  */
struct sockaddr
  {
    __SOCKADDR_COMMON (sa_);    :* Common data: address family and length.  */
    char sa_data[14];       /* Address data.  */
  };



#top struct sockaddr_in


Deklaracja struktury struct sockaddr_in znajduje się w pliku nagłówkowym netinet/in.h.
Deklaracja struktury struct sockaddr_in jest następująca:
/* Structure describing an Internet socket address.  */
struct sockaddr_in
  {
    __SOCKADDR_COMMON (sin_);
    in_port_t sin_port;         /* Port number.  */
    struct in_addr sin_addr;        /* Internet address.  */

    /* Pad to size of `struct sockaddr'.  */
    unsigned char sin_zero[sizeof (struct sockaddr) -
               __SOCKADDR_COMMON_SIZE -
               sizeof (in_port_t) -
               sizeof (struct in_addr)];
  };



#top struct sockaddr_in6


Deklaracja struktury struct sockaddr_in6 znajduje się w pliku nagłówkowym netinet/in.h.
Deklaracja struktury struct sockaddr_in6 jest następująca:
/* Ditto, for IPv6.  */
struct sockaddr_in6
  {
    __SOCKADDR_COMMON (sin6_);
    in_port_t sin6_port;    /* Transport layer port # */
    uint32_t sin6_flowinfo; /* IPv6 flow information */
    struct in6_addr sin6_addr;  /* IPv6 address */
    uint32_t sin6_scope_id; /* IPv6 scope-id */
  };



#top struct sockaddr_un


Deklaracja struktury struct sockaddr_un znajduje się w pliku nagłówkowym sys/un.h.
Deklaracja struktury struct sockaddr_un jest następująca:
/* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket.  */
struct sockaddr_un
  {
    __SOCKADDR_COMMON (sun_);
    char sun_path[108];     /* Path name.  */
  };



#top struct SOCKTLS_CTX_ST


Definicja struktury struct SOCKTLS_CTX_ST znajduje się w pliku nagłówkowym libnet/libsocktls.h.
Definicja struktury struct SOCKTLS_CTX_ST jest następująca:
typedef struct SOCKTLS_CTX_ST SOCKTLS_CTX;



#top struct URLInfo


Definicja struktury struct URLInfo znajduje się w pliku nagłówkowym libnet/string.h.
Definicja struktury struct URLInfo jest następująca:
struct URLInfo {
	/* 12     + 3 + 64 + 1 + 64 + 1 + DMAXHOSTNAME + 1 + DMAXHOSTPORT + 8192 */
	/* scheme   :// user :   pass :   host           :   port           /path?query#anchor */
	char buffurls[12+3+256+1+256+1+/*DMAXHOSTNAME*/1025+1+/*DMAXHOSTPORT*/6+8192];
	char scheme[25];
	char host[/*DMAXHOSTNAME*/1025];
	char port[/*DMAXHOSTPORT*/6];
	int  iaport;
	char user[256];
	char pass[256];
	char *path;
	char *query;
	char *anchor;
};



#top uint8_t


Definicja typu uint8_t znajduje się w pliku nagłówkowym stdint.h.
Definicja typu uint8_t jest następująca:
/* Unsigned.  */
typedef unsigned char       uint8_t;



#top uint16_t


Definicja typu uint16_t znajduje się w pliku nagłówkowym stdint.h.
Definicja typu uint16_t jest następująca:
/* Unsigned.  */
typedef unsigned short int  uint16_t;



#top uint32_t


Definicja typu uint32_t znajduje się w pliku nagłówkowym stdint.h.
Definicja typu uint32_t jest następująca:
/* Unsigned.  */
#ifndef __uint32_t_defined
typedef unsigned int        uint32_t;
# define __uint32_t_defined
#endif



#top libsmtp Functions


#top smtp_conn


Deklaracja funkcji smtp_conn() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_conn() jest następująca:
SELECT ALL
int smtp_conn(struct _smtp *smtp, const char *self);

Funkcja smtp_conn()

Argumenty:
struct _smtp *smtp -
const char *self -

Zwracana wartość:
int -



#top smtp_close


Deklaracja funkcji smtp_close() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_close() jest następująca:
SELECT ALL
int smtp_close(struct _smtp *smtp);

Funkcja smtp_close()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_send


Deklaracja funkcji smtp_send() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_send() jest następująca:
SELECT ALL
int smtp_send(struct _smtp *smtp, const char *buffsend, const int buffsize);

Funkcja smtp_send()

Argumenty:
struct _smtp *smtp -
const char *buffsend -
const int buffsize -

Zwracana wartość:
int -



#top smtp_linerecv


Deklaracja funkcji smtp_linerecv() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_linerecv() jest następująca:
SELECT ALL
int smtp_linerecv(struct _smtp *smtp, char *buffrecv, const int buffsize);

Funkcja smtp_linerecv()

Argumenty:
struct _smtp *smtp -
char *buffrecv -
const int buffsize -

Zwracana wartość:
int -



#top smtp_banner


Deklaracja funkcji smtp_banner() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_banner() jest następująca:
SELECT ALL
int smtp_banner(struct _smtp *smtp, char *buffrecv, const int buffsize);

Funkcja smtp_banner()

Argumenty:
struct _smtp *smtp -
char *buffrecv -
const int buffsize -

Zwracana wartość:
int -



#top smtp_quit


Deklaracja funkcji smtp_quit() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_quit() jest następująca:
SELECT ALL
int smtp_quit(struct _smtp *smtp);

Funkcja smtp_quit()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_rset


Deklaracja funkcji smtp_rset() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_rset() jest następująca:
SELECT ALL
int smtp_rset(struct _smtp *smtp);

Funkcja smtp_rset()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_noop


Deklaracja funkcji smtp_noop() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_noop() jest następująca:
SELECT ALL
int smtp_noop(struct _smtp *smtp);

Funkcja smtp_noop()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_ping


Deklaracja funkcji smtp_ping() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_ping() jest następująca:
SELECT ALL
int smtp_ping(struct _smtp *smtp);

Funkcja smtp_ping()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_vrfy


Deklaracja funkcji smtp_vrfy() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_vrfy() jest następująca:
SELECT ALL
int smtp_vrfy(struct _smtp *smtp, const char *totoaddr);

Funkcja smtp_vrfy()

Argumenty:
struct _smtp *smtp -
const char *totoaddr -

Zwracana wartość:
int -



#top smtp_helo


Deklaracja funkcji smtp_helo() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_helo() jest następująca:
SELECT ALL
int smtp_helo(struct _smtp *smtp, const char *heloname);

Funkcja smtp_helo()

Argumenty:
struct _smtp *smtp -
const char *heloname -

Zwracana wartość:
int -



#top smtp_ehlo


Deklaracja funkcji smtp_ehlo() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_ehlo() jest następująca:
SELECT ALL
int smtp_ehlo(struct _smtp *smtp, const char *heloname);

Funkcja smtp_ehlo()

Argumenty:
struct _smtp *smtp -
const char *heloname -

Zwracana wartość:
int -



#top smtp_starttls


Deklaracja funkcji smtp_starttls() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_starttls() jest następująca:
SELECT ALL
int smtp_starttls(struct _smtp *smtp);

Funkcja smtp_starttls()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_socktls


Deklaracja funkcji smtp_socktls() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_socktls() jest następująca:
SELECT ALL
int smtp_socktls(struct _smtp *smtp);

Funkcja smtp_socktls()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_auth_plain


Deklaracja funkcji smtp_auth_plain() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_auth_plain() jest następująca:
SELECT ALL
int smtp_auth_plain(struct _smtp *smtp);

Funkcja smtp_auth_plain()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_auth_login


Deklaracja funkcji smtp_auth_login() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_auth_login() jest następująca:
SELECT ALL
int smtp_auth_login(struct _smtp *smtp);

Funkcja smtp_auth_login()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_auth_crammd5


Deklaracja funkcji smtp_auth_crammd5() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_auth_crammd5() jest następująca:
SELECT ALL
int smtp_auth_crammd5(struct _smtp *smtp);

Funkcja smtp_auth_crammd5()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_mailfrom


Deklaracja funkcji smtp_mailfrom() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_mailfrom() jest następująca:
SELECT ALL
int smtp_mailfrom(struct _smtp *smtp, const char *fromaddr);

Funkcja smtp_mailfrom()

Argumenty:
struct _smtp *smtp -
const char *fromaddr -

Zwracana wartość:
int -



#top smtp_rcptto


Deklaracja funkcji smtp_rcptto() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_rcptto() jest następująca:
SELECT ALL
int smtp_rcptto(struct _smtp *smtp, const char *totoaddr);

Funkcja smtp_rcptto()

Argumenty:
struct _smtp *smtp -
const char *totoaddr -

Zwracana wartość:
int -



#top smtp_datainit


Deklaracja funkcji smtp_datainit() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_datainit() jest następująca:
SELECT ALL
int smtp_datainit(struct _smtp *smtp);

Funkcja smtp_datainit()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -



#top smtp_datasend


Deklaracja funkcji smtp_datasend() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_datasend() jest następująca:
SELECT ALL
int smtp_datasend(struct _smtp *smtp, const char *datacont, const size_t datasize);

Funkcja smtp_datasend()

Argumenty:
struct _smtp *smtp -
const char *datacont -
const size_t datasize -

Zwracana wartość:
int -



#top smtp_head_pree


Deklaracja funkcji smtp_head_pree() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_pree() jest następująca:
SELECT ALL
int smtp_head_pree      (struct _smtp *smtp, const char *value);

Funkcja smtp_head_pree()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_message_id


Deklaracja funkcji smtp_head_message_id() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_message_id() jest następująca:
SELECT ALL
int smtp_head_message_id(struct _smtp *smtp, const char *value);

Funkcja smtp_head_message_id()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_user_agent


Deklaracja funkcji smtp_head_user_agent() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_user_agent() jest następująca:
SELECT ALL
int smtp_head_user_agent(struct _smtp *smtp, const char *value);

Funkcja smtp_head_user_agent()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_from


Deklaracja funkcji smtp_head_from() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_from() jest następująca:
SELECT ALL
int smtp_head_from      (struct _smtp *smtp, const char *value);

Funkcja smtp_head_from()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_to


Deklaracja funkcji smtp_head_to() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_to() jest następująca:
SELECT ALL
int smtp_head_to        (struct _smtp *smtp, const char *value);

Funkcja smtp_head_to()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_subject


Deklaracja funkcji smtp_head_subject() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_subject() jest następująca:
SELECT ALL
int smtp_head_subject   (struct _smtp *smtp, const char *value);

Funkcja smtp_head_subject()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_date


Deklaracja funkcji smtp_head_date() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_date() jest następująca:
SELECT ALL
int smtp_head_date      (struct _smtp *smtp, const char *value);

Funkcja smtp_head_date()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_head_post


Deklaracja funkcji smtp_head_post() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_head_post() jest następująca:
SELECT ALL
int smtp_head_post      (struct _smtp *smtp, const char *value);

Funkcja smtp_head_post()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_body_text


Deklaracja funkcji smtp_body_text() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_body_text() jest następująca:
SELECT ALL
int smtp_body_text      (struct _smtp *smtp, const char *value);

Funkcja smtp_body_text()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_body_html


Deklaracja funkcji smtp_body_html() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_body_html() jest następująca:
SELECT ALL
int smtp_body_html      (struct _smtp *smtp, const char *value);

Funkcja smtp_body_html()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_body_file


Deklaracja funkcji smtp_body_file() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_body_file() jest następująca:
SELECT ALL
int smtp_body_file      (struct _smtp *smtp, const char *value);

Funkcja smtp_body_file()

Argumenty:
struct _smtp *smtp -
const char *value -

Zwracana wartość:
int -



#top smtp_bodysend


Deklaracja funkcji smtp_bodysend() znajduje się w pliku nagłówkowym libnet/libsmtp.h.
Deklaracja funkcji smtp_bodysend() jest następująca:
SELECT ALL
int smtp_bodysend(struct _smtp *smtp);

Funkcja smtp_bodysend()

Argumenty:
struct _smtp *smtp -

Zwracana wartość:
int -









































Zmodyfikowany ostatnio: 2019/06/28 21:54:49 (5 lat temu), textsize: 33,8 kB, htmlsize: 65,3 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników