s_smtp Struct Reference

#include <shared.h>

Collaboration diagram for s_smtp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores data for sending an e-mail via SMTP protocol.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 411 of file shared.h.

Public Member Functions

 s_smtp ()

Public Attributes

string data
 Lines of message headers and body delimited with CR+LF.
list< string > data_lines
 Lines of message headers and body as array.
string helo
 "HELO xxx" string
string mail_from
 "MAIL FROM: xxx" string
unsigned short port
 Port (usually 25).
string rcpt_to
 "RCPT TO: xxx" string
string server
 Server's host.


Constructor & Destructor Documentation

s_smtp::s_smtp  )  [inline]
 

Definition at line 420 of file shared.h.

References data, data_lines, helo, mail_from, port, rcpt_to, and server.

00421     {
00422         server="";
00423         port=0;
00424         helo="";
00425         mail_from="";
00426         rcpt_to="";
00427         data="";
00428         data_lines.clear();
00429     }


Member Data Documentation

string s_smtp::data
 

Lines of message headers and body delimited with CR+LF.

Definition at line 417 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

list<string> s_smtp::data_lines
 

Lines of message headers and body as array.

Definition at line 418 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

string s_smtp::helo
 

"HELO xxx" string

Definition at line 414 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

string s_smtp::mail_from
 

"MAIL FROM: xxx" string

Definition at line 415 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

unsigned short s_smtp::port
 

Port (usually 25).

Definition at line 413 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

string s_smtp::rcpt_to
 

"RCPT TO: xxx" string

Definition at line 416 of file shared.h.

Referenced by logic_process_line(), and s_smtp().

string s_smtp::server
 

Server's host.

Definition at line 412 of file shared.h.

Referenced by logic_process_line(), and s_smtp().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:49 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo