Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Mon, 18 Aug 2008 10:38:01 -0700,    group: microsoft.public.inetsdk.programming.scripting.vbscript        back       


cdo.message is not getting sent when the .send is used   
I am trying to create a simple vbscript that sends an email.  My code has the 
following format:

     Set objEmail = CreateObject("CDO.Message")
     objEmail.From = "From address"
     objEmail.To = "To address"
     objEmail.CC = "CC address"
     objEmail.Subject = "Subject"
     Textbody = "Text body"
     objEmail.Send
     wscript.echo "Message Sent"

When I run the script it works correctly.  When someone from our Help Desk 
tries to run it, they see the "Message Sent" message, but the email doesn't 
get delivered.  It just seems to die.  We are both running Outlook 2007 with 
Exchange 2003.  I assume that there are some other permissions issues that I 
am missing.  Can anyone help??

Thanks in advance,
Mike
date: Mon, 18 Aug 2008 10:38:01 -0700   author:   Midwest Muskie

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us