Send

This method submits the Smtp properties to the mail server for processing. Note that the Host and Port properties are optional if already specified in the Application Services configuration screen.

Syntax: Smtp.Send()

Example:

Smtp.Host = "smtp.company.com"

Smtp.Port = 25

Smtp.From = "MySelf@company.com"

Smtp.Cc = "User@company.com"

Smtp.Bcc = "Boss@company.com"

Smtp.To = "Ex-Employee@company.com"

Smtp.Subject = "I’m so sorry"

Smtp.Message = "Good bye./r/nCall me!"

Smtp.Attach = "C:\PinkSlip.PDF, C:\GetWell.PDF"

Smtp.Send

Smtp.Clear()