Sends specified message to specified smart host.
| C# | Visual Basic | Managed C++ |
public static void QuickSendSmartHost ( string smartHost, int port, bool ssl, string hostName, string userName, string password, Mime message )
- smartHost (String)
- Smarthost name or IP.
- port (Int32)
- SMTP port number. Default SMTP port is 25 and SSL port is 465.
- ssl (Boolean)
- Specifies if to connected via SSL.
- hostName (String)
- Host name reported to SMTP server.
- userName (String)
- SMTP user name. Note: Pass empty string if no authentication wanted.
- password (String)
- SMTP password.
- message (Mime)
- Mime message to send.
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)