PowerTCP Mail for .NET
HelloName Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Smtp Class : HelloName Property




Gets or sets the hostname presented to the server during the greeting

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The hostname presented to the server during the greeting")>
<CategoryAttribute("Behavior")>
Public Property HelloName As String
Visual Basic (Usage)Copy Code
Dim instance As Smtp
Dim value As String
 
instance.HelloName = value
 
value = instance.HelloName
C# 
[DescriptionAttribute("The hostname presented to the server during the greeting")]
[CategoryAttribute("Behavior")]
public string HelloName {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("The hostname presented to the server during the greeting")]
[CategoryAttribute("Behavior")]
public: __property string* get_HelloName();
public: __property void set_HelloName( 
   string* value
);
C++/CLI 
[DescriptionAttribute("The hostname presented to the server during the greeting")]
[CategoryAttribute("Behavior")]
public:
property String^ HelloName {
   String^ get();
   void set (    String^ value);
}

Property Value

A string value representing the hostname presented to the server during the greeting.

Remarks

The hello command (HELO) is sent when communication begins with the mail server. Typically the value presented after HELO is the domain.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.