Search found 4 matches

by Michael Baasch
Thu Dec 29, 2016 11:45 am
Forum: Scripts and Tips
Topic: objMsg.CreateHTMLBody
Replies: 1
Views: 4793

objMsg.CreateHTMLBody

Hi if i change line objMsg.Body = strBody to objMsg.CreateHTMLBody "file//e:/temp/mit/upload/16122016_0834.htm" i get this error >>microsoft VBScript runtime error: 438 object doesn't support this property or method objMsg. CreateHTMLBody :? VB Script VBStart Function CreateEmail(strTo, strSubj, str...
by Michael Baasch
Tue Jun 23, 2009 1:50 pm
Forum: Technical / Scripting
Topic: Creae a VB script to send Outlook Email with Macro Scheduler
Replies: 13
Views: 24143

Hej Bib

Sorry i hawe 20 fingers om 1 hand so i hawe type wrong.

if i use objMailItem.To = %xx%
or
objMailItem.To = "%xx%"
my code cant compile

only
objMailItem.To = "[email protected]" is OK
by Michael Baasch
Tue Jun 23, 2009 9:11 am
Forum: Technical / Scripting
Topic: Creae a VB script to send Outlook Email with Macro Scheduler
Replies: 13
Views: 24143

Using variables

Hi again I have tray... i have execute it but it dount work. i get error code vbscript comp error:1032 when i use let>recipters="mb@mitcom.dk" and objMailItem.To = %recipts% ' This is the primary recipient and when i use: let>mb@mitcom.dk and objMailItem.To = %recipts% ' This is the primary recipien...
by Michael Baasch
Mon Jun 22, 2009 8:44 pm
Forum: Technical / Scripting
Topic: Creae a VB script to send Outlook Email with Macro Scheduler
Replies: 13
Views: 24143

VBRun>SendOutlookMail

Hi

Can i use var in lines

let>mail="[email protected]"


objMailItem.To = %mail% ' This is the primary recipient

I have tray, but i get an error

Michael :)
Sign up to our newsletter for free automation tips, tricks & discounts