.NET


You can specify a Reply To address in an SMTP message by adding the Reply-To header with an address in the format:

“Display Name” <actualaddress@site.com&gt;

Use .Headers.Add(”Reply-To”, addressinformation) to add the correct header.

You can “upcast” (my term for treating a base class type as an inherited class type) the EventArgs in a method like OnBubbleEvent by checking the e argument (of type System.EventArgs) using the TypeOf keyword in Visual Basic.NET or the is keyword in C#.  More on this later.