Search found 4 matches

by cyberic68
Tue Jan 27, 2015 4:43 pm
Forum: Technical / Scripting
Topic: All scheduled macros don't run when there is an error in one
Replies: 1
Views: 2078

All scheduled macros don't run when there is an error in one

Hi I am now working with the version 14, I have multiple macro that run overnight. This morning, one of them didn't work and has received an error, due to a typo error of myself. Unfortunately all others macros that were scheduled after, didn't run, due to the error received. Previously, I'm was wor...
by cyberic68
Fri Jan 23, 2015 2:25 am
Forum: Technical / Scripting
Topic: Script Issue : Sending email with an Attachment via Outlook
Replies: 1
Views: 4029

SOLVED-Script Issue:Sending email with an Attachment via Out

Solved !!!

With Outlook it's a bit different, instead of this line

objMsg.AddAttachment "C:\daily_report.txt"

you need this

objMsg.Attachments.Add "C:\daily_report.txt"

That's it, it works perfectly

Eric
by cyberic68
Thu Jan 22, 2015 8:20 pm
Forum: Technical / Scripting
Topic: Script Issue : Sending email with an Attachment via Outlook
Replies: 1
Views: 4029

Script Issue : Sending email with an Attachment via Outlook

Hi I would like to use this script to send email with an Attachment via OutLook, I'm getting an VBScript runtime error 438 with it, due to the fact that the line about the .AddAttachment seems not to be recognized (see below) If I remove that Line about the .AddAttachment, everything works ok, I rec...
by cyberic68
Thu Oct 16, 2014 1:14 pm
Forum: Technical / Scripting
Topic: The transport lost its connection to the server
Replies: 0
Views: 7921

The transport lost its connection to the server

Hi, I'm trying to use this script to sent email and attachment files, but from time to time I getting this error message and it failed to send the email. CDO.Message.1 :2147220974 The transport lost its connection to the server. Line 33, Column 8 Here's my script ====================================...
Sign up to our newsletter for free automation tips, tricks & discounts