![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#6
|
|||
|
|||
![]() 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 |
Display Modes | |
|
|
![]() |
||||
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 |