 | SmtpTestMessageEnvelope(String, String) Method |
Sends message envelope to the SMTP server. Doesn't send or verify message contents.
It can be used to verify if SMTP server accepts sender and recipient addresses.
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic ISendMessageResult TestMessageEnvelope(
string from,
string to
)
Public Function TestMessageEnvelope (
from As String,
to As String
) As ISendMessageResult
public:
ISendMessageResult^ TestMessageEnvelope(
String^ from,
String^ to
)
member TestMessageEnvelope :
from : string *
to : string -> ISendMessageResult Parameters
- from String
- From address (FROM).
- to String
- To address (RCPT TO).
Return Value
ISendMessageResultResult of the sending operation. You can examine
Status property to check if the operation succeed.
See Also