Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsSMTP Class Reference

#include <dsSMTP.h>

List of all members.

Public Methods

 dsSMTP ()
 dsSMTP (const char *relay, int port=25)
 ~dsSMTP ()
void Connect (const char *relay, int port=25)
void Close ()
void Send (const char *to, const char *from, const char *mes, const int len)
void Send (const char *to, const char *from, std::istream &mes)
void Send (const char *to, const char *from, const char *mes)
void ETRN (const char *relay, const char *domain)


Detailed Description

Class to send mail by smtp, nothing more


Constructor & Destructor Documentation

dsSMTP::dsSMTP   [inline]
 

dsSMTP::dsSMTP const char *    relay,
int    port = 25
[inline]
 

dsSMTP::~dsSMTP   [inline]
 


Member Function Documentation

void dsSMTP::Close  
 

Send QUIT command and close socket

void dsSMTP::Connect const char *    relay,
int    port = 25
 

Open conection to relay and send HELO command

void dsSMTP::ETRN const char *    relay,
const char *    domain
 

void dsSMTP::Send const char *    to,
const char *    from,
const char *    mes
[inline]
 

void dsSMTP::Send const char *    to,
const char *    from,
std::istream &    mes
 

void dsSMTP::Send const char *    to,
const char *    from,
const char *    mes,
const int    len
 

Send message it self. You can add custom header to message: eg: Subject: test
is test


The documentation for this class was generated from the following files:
Generated on Mon May 16 18:27:00 2005 for libdms4 by doxygen1.3-rc2