Sends specified message to specified smart host. NOTE: Message sending starts from message stream current posision.
| C# | Visual Basic | Managed C++ |
public static void QuickSendSmartHost ( string smartHost, int port, string hostName, string userName, string password, string from, string[] to, Stream messageStream )
- smartHost (String)
- Smarthost name or IP.
- port (Int32)
- SMTP port number. Normally this is 25.
- 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.
- from (String)
- From address reported to SMTP server.
- to (String[]())
- Message recipients.
- messageStream (Stream)
- Message stream. NOTE: Message sending starts from message stream current posision.
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)