How do I send attachments using the SEND EMAIL function?

QUESTION

How do I send email attachments using scripting? There doesn't appear to be any way of attaching files using the Send Email script command.

 

ANSWER

Either:

a) Use the Execute Shell Command or Execute File command to run a command line email utility such as blat.exe (http://www.blat.net/) to send the email. If you want to do this from the Kaseya server, you'll need to use the Get File command to copy the file up to the Kaseya server first.

or

b) Use the Get Variable > File Contents command to get the contents of a text file, and then insert this into the body of the Send Email command using the #variable#.

 

 

APPLIES TO

Scripting tab
Email
SMTP
NNTP
MAPI

Have more questions?

Contact us

Was this article helpful?
0 out of 2 found this helpful

Provide feedback for the Documentation team!

Browse this section