--- parser3/src/classes/smtp/Attic/smtp.C 2002/12/05 12:55:02 1.16 +++ parser3/src/classes/smtp/Attic/smtp.C 2002/12/15 13:53:45 1.18.2.1 @@ -7,11 +7,13 @@ Parts of the code here is based upon an early gensock and blat */ -static const char* IDENT_SMTP_C="$Date: 2002/12/05 12:55:02 $"; +static const char* IDENT_SMTP_C="$Date: 2002/12/15 13:53:45 $"; #include "pa_exception.h" #include "smtp.h" +//#define DEBUG_SHOW + SMTP::SMTP(Pool& pool, const String& aorigin_string) : Pooled(pool), origin_string(aorigin_string) { the_socket = 0; @@ -334,7 +336,6 @@ void SMTP:: transform_and_send_edit_data(const char * editptr ) { const char *index; - const char *header_end; char previous_char = 'x'; unsigned int send_len; BOOL done = 0; @@ -503,7 +504,9 @@ static char *rsplit(char *string, char d void SMTP:: Send(const char *server, const char *service, const char *msg, char *from, char *to) { - //throw Exception("paf.debug",0,"%s|%s|%s", from, to, msg); +#ifdef DEBUG_SHOW + throw Exception("paf.debug",0,"from=%s|to=%s|msg=%s", from,to,msg); +#endif prepare_message( from, to, server, service);