| SmtpTestMessageEnvelope Method (SmtpMail) |
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.SMTP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public ISendMessageResult TestMessageEnvelope(
SmtpMail smtpMail
)
Public Function TestMessageEnvelope (
smtpMail As SmtpMail
) As ISendMessageResult
public:
ISendMessageResult^ TestMessageEnvelope(
SmtpMail^ smtpMail
)
member TestMessageEnvelope :
smtpMail : SmtpMail -> ISendMessageResult
Parameters
- smtpMail
- Type: Limilabs.Client.SMTPSmtpMail
SmtpMail message to test.
Return Value
Type:
ISendMessageResultResult of the sending operation. You can examine
Status property to check if the operation succeed.
See Also