About · Site feedback
welcome  Products  Scripts  Downloads  Forum  Contact us  Support  Resellers 
 
Scripts
 
PHP
JavaScript
Visual Basic
 
External downloads
If you use WSH or just VBScript / JScript, then the most important download to have is the Windows script host documentation (version 5.6).
 
Legal information
End User License Agreement
Non-commercial license
Disclaimer and legal notice
 
 
VB Script to send mail using Outlook 2000, 2003, 2007

Unlike sending using CDO, sending using Outlook Object Model (OOM) requires creating an Outlook object and a mail item.
The other problem is with the Outlook permissions alert which pops up when the script is run. This can be circumvented using a free application called ClickYes which is available at http://www.snapfiles.com/get/clickyes.html.
Set olApp = CreateObject("Outlook.Application")
' Create a mail item
Set oMailItem = olApp.CreateItem(0)
OMailItem.To = "test@headquarters.com"
oMailItem.Subject = "Testing with Outlook"
oMailItem.Body = "Testing mail sent using Outlook"
oMailItem.Send



 
This page was created with RTF to HTML converter
 
Rate this page

Products

 

News

ID3 Editor 1.29.51 is now available. Added chapters and chapter table of contents. Fixed log file issues under Big Sur, Monterey and Ventura. Added a check for ANSI fields just in case Unicode is used.

QS Disclaimer 4.7.17 is now available. This version fixes an issue with Exchange 2019 and Windows 2019.

RTF to HTML converter 1.3.11 is now available. This version adds line spacing and raw output.

Disc Image Professional 2.3.1 is now available. This upgrade adds multi-user support and fixes a Vista mount issue.

MSAD Login 3.1.0 is now available. This version includes TLS and Kerberos support.

Archive SE 1.1.5 is now available. This upgrade adds support for Tar and BZip2.

back to top  


Facebook  Twitter  Google+ 


Copyright © 1990-2024 Pa-software. All Rights Reserved.
Developer of Exchange Server e-mail disclaimers, compression, ISO CD/DVD disc image management, MP3 ID3 editing and Macintosh Active Directory integration.