Dart.Mail Namespace > Smtp Class > Send Method : Send(String,String,String,String) Method |
Public Overloads Function Send( _ ByVal toAddress As String, _ ByVal fromAddress As String, _ ByVal subject As String, _ ByVal text As String _ ) As SmtpResult
Dim instance As Smtp Dim toAddress As String Dim fromAddress As String Dim subject As String Dim text As String Dim value As SmtpResult value = instance.Send(toAddress, fromAddress, subject, text)
public SmtpResult Send( string toAddress, string fromAddress, string subject, string text )
public: SmtpResult* Send( string* toAddress, string* fromAddress, string* subject, string* text )
public: SmtpResult^ Send( String^ toAddress, String^ fromAddress, String^ subject, String^ text )
Exception | Description |
---|---|
ProtocolException | Bad SMTP protocol response received from server. |
System.Net.Sockets.SocketException | A socket failure. |
System.FormatException | Bad address format. |