A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

2003 Rules



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old March 11th 08, 05:45 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 2003 Rules



Did you look if VBA is deactivated? You can see that via
Help/Info/Deactivated Items.

--
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Thu, 6 Mar 2008 23:18:01 -0800 schrieb sean00:

This might help anyone that is helping.

The problem started when I entered the code below into my existing code.


Const cdoSendUsingPickup = 1 'Send message using the local SMTP service
pickup directory.
Const cdoSendUsingPort = 2 'Send the message using the network (SMTP over
the network).

Const cdoAnonymous = 0 'Do not authenticate
Const cdoBasic = 1 'basic (clear-text) authentication
Const cdoNTLM = 2 'NTLM

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = """Sean"" "
objMessage.To = "something@thencom"
objMessage.TextBody = "New Case created. Case # " + caseName

'==This section provides the configuration information for the remote SMTP
server.

objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

'Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"RTPEXMV01.hq.netapp.com"

'Type of authentication, NONE, Basic (Base64 encoded), NTLM
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") =

cdoBasic

'Your UserID on the SMTP server
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/sendusername") = "seanr"

'Your password on the SMTP server
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/sendpassword") =

"password"

'Server port (typically 25)
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

'Use SSL for the connection (False or True)
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False

'Connection Timeout in seconds (the maximum time CDO will try to establish

a
connection to the SMTP server)
objMessage.Configuration.Fields.item _
("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") =

60

objMessage.Configuration.Fields.Update

'==End remote SMTP server configuration section==

objMessage.Send

When I tested and noticed the script was not kicking off, I removed the
above and recompiled but still with no luck. Maybe the code below changed

a
setting ?

Thanks,

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 rules problem on SBS 2003 server [email protected] Outlook - General Queries 0 February 21st 08 07:30 PM
outlook 2003/ Exchange 2003 rules kacoquico Outlook - General Queries 4 April 20th 07 07:42 PM
Outlook 2003 SP2 Rules - connected to Exchange 2003 SP2 David Outlook - General Queries 2 January 23rd 07 01:37 PM
rules and alerts limits with outlook 2003 & Exchange 2003 Jeje Outlook - General Queries 2 June 9th 06 01:44 AM
Exchange 2003 + Outlook 2003: rules not running David Outlook - General Queries 3 February 22nd 06 07:48 AM


All times are GMT +1. The time now is 03:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.