how to send attached e-mails with cdosys.
how to send attached e-mails with cdosys.
Collapse
X
-
objCDO.To = "someone@xyz.co m"
objCDO.From = "me@abc.com "
objCDO.Subject = "My Resume, per Request"
objCDO.Body = "xxxxxxxxxxxxxx xxxx"
objCDO.Importan ce = 2 'High importance!
objCDO.AttachFi le "\\server\xx\xx .doc","xx.doc"
objCDO.Send 'Send off the email!
'Cleanup
Set objCDO = Nothing
You can use attach the file using Attach file option
Comment