+1 vote
by (8.6k points)

Smtp smtp = new Smtp();
smtp.Connect("smtp.gmx.net", 587, SslMode.Explicit);

// etc
smtp.Disconnect();

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (58.9k points)
selected by
 
Best answer

Smtp smtp = new Smtp();

smtp.Settings.SslAllowedSuites =  
TlsCipherSuite.RSA_WITH_3DES_EDE_CBC_SHA |
TlsCipherSuite.RSA_WITH_AES_128_CBC_SHA |
TlsCipherSuite.RSA_WITH_AES_256_CBC_SHA;

smtp.Connect("smtp.gmx.net", 587, SslMode.Explicit);

// etc

smtp.Disconnect();

...