logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël CATANZARITI <mca...@apache.org>
Subject Re: SMTP Appender for VC++
Date Sun, 04 Jul 2004 20:54:05 GMT
Hello Picaso,

I am afraid libsmtp does not support the Ms compiler.
The SMTPAppender should be written with Microsoft CDO library, but I did not find time to
work on it.

Picaso wrote:
> I will really appreciate if someone can give me more details about acheiving
> smtp appender. I followed the earlier threads and downloaded libsmtp.h (i
> coudn't find libsmtp.lib/dll), glib.h/dll and other dependencies. Finally
> after giving all the header files, i get the error:
> smtpappender.cpp
> D:\log4cxx-0.9.7\src\smtpappender.cpp(138) : error C2664:
> 'libsmtp_add_recipient' : cannot convert parameter 2 from 'unsigned short *'
> to 'char *'
>         Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
> D:\log4cxx-0.9.7\src\smtpappender.cpp(339) : error C2065: '_dst' :
> undeclared identifier
> 
> And i m sure that even after this gets compiled, it's going to give me many
> linking errors since the dependent libraries are a chain of them and i might
> be missing some.
> Is there any source where i get libsmtp.h/libsmtp.dll specifically for
> windows?
> Thanks in advance
> Picaso
> 
> 

-- 
Michaël CATANZARITI
log4cxx project manager

	log4cxx user mailing list:
	log4cxx-user-subscribe@logging.apache.org

	log4cxx developer mailing list:
	mailto:log4cxx-dev-subscribe@logging.apache.org

Mime
View raw message