EmailMessage.SendMessage Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Uses the settings for the SMTP server and SMTP port to send the MailMessage that it is passed
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
PublicOverridableSubSendMessage ( _
messageAs MailMessage _
)
publicvirtualvoidSendMessage(
MailMessage message
)
public:
virtualvoidSendMessage(
MailMessage^ message
)
publicfunctionSendMessage(
message : MailMessage
)
Parameters
- message
Type: System.Net.Mail.MailMessage
MailMessage to send via SMTP
See Also
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |