Follow

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#.


See http://kb.kaseya.com/article.aspx?p=11855&article=296884 for an issue and workaround for inserting Unicode text files into the body of the email.

 

APPLIES TO

Scripting tab
Email
SMTP
NNTP
MAPI

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.