Aspose.Email.Examples.CSharp.Email.IMAP.SetSpecificIpAddress.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            using (SmtpClient client = new SmtpClient("smtp.gmail.com", 587, "[email protected]", "your.Password", SecurityOptions.Auto))
            {
                // set callback
                client.BindIPEndPoint += BindIPEndPointCallback;
                client.Noop();
            }
        }
        // get local endpoint callbak
SetSpecificIpAddress