LumiSoft Mail Server User API
SetSender Method (senderEmail, messageSize)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > SetSender(String, Int64)
Does MAIL FROM: command.
Syntax

C# | Visual Basic | Managed C++

    public void SetSender (
    	string senderEmail,
    	long messageSize
    )

    Public Sub SetSender ( _
    	senderEmail As String, _
    	messageSize As Long _
    )

    public:
    void SetSender (
    	String^ senderEmail,
    	long long messageSize
    )

Parameters

senderEmail (String)
  Sender email address what is reported to smtp server
messageSize (Int64)
  Message size in bytes or -1 if message size isn't known.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)