DotNetOpenMail 0.5.7 (beta)

SmtpProxy.Ehlo Method 

Send the EHLO string. Throw a MailException if we can't connect.

[Visual Basic]
Public Function Ehlo( _ 
   ByVal localHostName As String _ 
) _
    Implements ISmtpProxy.Ehlo As EhloSmtpResponse
[C#]
public EhloSmtpResponse Ehlo(
   string localHostName
);
[C++]
public: EhloSmtpResponse* Ehlo(
   String* localHostName
);
[JScript]
public function Ehlo(
   String localHostName
): EhloSmtpResponse;

Return Value

the SMTP response

Implements

ISmtpProxy.Ehlo

See Also

SmtpProxy Class | DotNetOpenMail Namespace