[Mono-dev] sending smtp email under SSL

_KD_ kd-boss at yahoo.com.tw
Thu Jul 9 21:57:55 EDT 2009



I myself am experiencing a similar error

my code::
 TcpClient client = new TcpClient("login.yahoo.com", 443);

            SslStream sslStream = new SslStream(
client.GetStream(),
false,
new RemoteCertificateValidationCallback(ValidateServerCertificate),
null
);

            sslStream.AuthenticateAsClient("login.yahoo.com");

it returns ::
Certificate error: RemoteCertificateChainErrors

Though the exact same code authenticates in Windows. Im not shure if mono
builds against the currently installed OpenSSL libs or not, but if it does
it could be an error in the OpenSSL libs. I dunno, but help with this issue
would be appreciated by the both of us. :working: 
-- 
View this message in context: http://www.nabble.com/sending-smtp-email-under-SSL-tp14518813p24420639.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list