SmtpClient.Add (gb.net.smtp)

Sub Add ( Data As String [ , MimeType As String, Name As String ] )

Adds an attachment to the mail.
  • Data is the mail data, usually got directly from the file you want to attach.

  • MimeType is the mime type of the attached data. By default, it is text/plain.

  • Name is the name of the attachment. It will be automatically generated if not specified.

At the moment, not all mime types are supported.