Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "monitor1@fabrikam.com"
objEmail.To = "admin1@fabrikam.com"
objEmail.Subject = "Atl-dc-01 down"
objEmail.Textbody = "Atl-dc-01 is no longer accessible over the network."
objEmail.Send
'==========================================================================
'
' NAME: SendOutlookEmail.vbs
'
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL: [URL unfurl="true"]http://www.thespidersparlor.com[/URL]
' DATE : 1/21/2007
' COPYRIGHT (c) 2007 All Rights Reserved
'
' COMMENT:
'
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
' ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED To
' THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
' PARTICULAR PURPOSE.
'
' IN NO EVENT SHALL THE SPIDER'S PARLOR AND/OR ITS RESPECTIVE SUPPLIERS
' BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
' DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
' WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
' ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
' OF THIS CODE OR INFORMATION.
'==========================================================================
Dim objOL, objEmail, strMsg
Const olMailItem = 0
'Create a new message
Set objOL = CreateObject("Outlook.Application")
Set objEmail = objOL.createitem(olMailItem)
'Address the message
objEmail.To = "DestinationEmailAddress@company.com"
'Uncomment the following two lines and include email addresses for CC and BCC
'objEmail.cc = ""
'objEmail.bcc = ""
'Set up Subject Line
objEmail.subject = "Message subject text goes here"
'Add the body
strMsg = "Body text goes here" & vbcrlf
objEmail.body = strMsg
'Use the following to add an attachment
'objEmail.attachments.add("C:\Folder\AttachmentFileName.txt")
'objEmail.display 'Use this to display the message before sending.
'(comment out next line if using display)
objEmail.Send
'Clean up
Set objEmail = nothing
Set objOL = nothing