About 9,480,000 results
Open links in new tab
  1. What's the difference between Sender, From and Return-Path?

    What's the difference between an email Sender, From and Return-Path value? Example: I have a contact form where the user can input their email, would this be assigned to sender, from or return …

  2. How can I get the sender email address using Outlook.MailItem in …

    Jun 23, 2014 · 0 In C# you can access the sender's email address using the SendUsingAccount.SmtpAddress property of the Outlook MailItem. It returns a string object. VB.net …

  3. Explain this: CheckBox checkbox = (CheckBox)sender;

    Sep 23, 2010 · 1 The sender parameter (which is declared as plain Object) is cast to CheckBox as you apparently know that the sender of that event always is a CheckBox.

  4. MailMessage, difference between Sender and From properties

    Apr 19, 2010 · What's the difference between the Sender and the From properties in the MailMessage class? Are they both the same, and if not is there a reason to use Sender together with From?

  5. What is the use of "object sender" and "EventArgs e" parameters?

    May 25, 2021 · In case of Page_Load, Init and other page events, what is the use of these (object sender, EventArgs e) parameters? Examples would be more helpful.

  6. .net - C# What is the "object sender" of Form? - Stack Overflow

    I want to make If "sender" is from Button print: Hello From Button and if "sender" is from Form print: Hello World. I know we can do it it if else but what is the name of form?

  7. vba - Get sender email address - Stack Overflow

    Nov 14, 2013 · strSenderName = Sender.GetExchangeUser().PrimarySmtpAddress the sender name comes up as "empty". How I can extract the sender's email address?

  8. In a C# event handler, why must the "sender" parameter be an object?

    According to Microsoft event naming guidelines, the sender parameter in a C# event handler "is always of type object, even if it is possible to use a more specific type". This leads to lots of event

  9. Cast sender object in event handler using GetType ().Name

    sender.GetType().Name and then create the control at runtime and work with it? That way I only need one event handler function: less code, less errors, easier to maintain and DRY :-)

  10. Working with "object sender, EventArgs e" inside an Event Handler

    Jul 21, 2014 · The signature of an event handler in .Net is (or at least should be): (object sender, XXArgs e) where XXArgs is a class that inherits from EventArgs. sender is, well, the sender of the event. In …