Hi,

I create a vb script that sents a mail with attachment after an installation is completed. The mail is sent and is in the outbox. Unfortunatly the mail isn't sent yet. User needs to click on mail and then click sent.
Does someone know some additional code how i can make outlook sent this mail.

Thx in advance
BaldEagle
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Found this.

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.Sender = "me@my.com"
objMessage.To = "test@paulsadowski.com"
objMessage.TextBody = "This is some sample message text."
objMessage.AddAttachment "c:\temp\readme.txt"
objMessage.Send
Answered 10/20/2005 by: Byoung4now
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity