Kaseya Community

Email from Script - new line

  • Hi,

    Does anyone know how to put a carriage return into an email being sent by a script? If anyone has a list of formatting commands for those emails that would be even better.

    Regards,
    Chris

    Legacy Forum Name: Email from Script - new line,
    Legacy Posted By Username: chris@busy.co.nz
  • from a script like a VBS?

    have you treid vbCrLf
    ex:

    strMessage = "A MEssage" & vbCrLf & "1 lines later"

    you can always use the chr(13) & chr(10) [together like that = hitting enter once] if the above is not working

    ex:

    strMessage = "A Message" & chr(13) & chr(10) & "next line down"

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: jmejia
  • I think I did it before with a text document containing only an empty line. Then in the script I used Get Variable (File Content).

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: SMason