|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem > DBWSendEMail |
Send an e-mail to the specified address.
Sub DBWSendEMail(SendTo, Subject, MailBody, DisplayMsg, AttachmentPath)
SendTo |
receiver |
|---|---|
Subject |
e-mail subject |
MailBody |
body of the e-mail message |
DisplayMsg |
Boolean. |
AttachmentPath |
path of document to attach to the e-mail. |
Email related commands and functions
Sub Main()
sendto = "[email protected]"
subject="try to send"
body = "hello world!" & vbcrlf & "how is it going?"
attach = "c:\foo.txt"
DBWSendEmail sendto,subject,body,FALSE,attach
end sub