DotNetOpenMail 0.5.7 (beta)

SmtpAuthToken.Negotiate Method 

Return the 235 response code if valid, otherwise return the error.

[Visual Basic]
Public Function Negotiate( _ 
   ByVal smtpProxy As ISmtpProxy, _ 
   ByVal supportedAuthTypes As String() _ 
) _
    Implements ISmtpAuthToken.Negotiate As SmtpResponse
[C#]
public SmtpResponse Negotiate(
   ISmtpProxy smtpProxy,
   string[] supportedAuthTypes
);
[C++]
public: SmtpResponse* Negotiate(
   ISmtpProxy* smtpProxy,
   String* supportedAuthTypes __gc[]
);
[JScript]
public function Negotiate(
   ISmtpProxy smtpProxy,
   String[] supportedAuthTypes
): SmtpResponse;

Parameters

smtpProxy
The SmtpProxy being used
supportedAuthTypes
String array of EHLO-specified auth types

Return Value

Implements

ISmtpAuthToken.Negotiate

See Also

SmtpAuthToken Class | DotNetOpenMail.SmtpAuth Namespace