Author |
Message |
tekman1
Joined: 03 Jun 2007 Posts: 3
|
Posted: Sun Jun 03, 2007 11:13 pm Post subject: Global_end script to e-mail profile log |
|
|
I have ViceSersa running on a Windows 2003 Small Business Server which is also runs Exchange 2003 for the site. I have created the Global_end.vbs script, but the script fails each time to tries to send the email. Here is what the log shows:
2007-06-03 13:02:07 : Exit Code: 0. OK.
2007-06-03 13:02:07 : Running script c:\program files\viceversa pro 2\GlobalScripts\Global_end.vbs
2007-06-03 13:02:13 : Script Output:
2007-06-03 13:02:13 : Microsoft (R) Windows Script Host Version 5.6
2007-06-03 13:02:13 : Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
2007-06-03 13:02:13 : User Name: administrator
2007-06-03 13:02:13 : Password: *
2007-06-03 13:02:13 : From E-Mail: administrator@ovcn.org
2007-06-03 13:02:13 : To E-Mail: ovcn@tekmanagement.com
2007-06-03 13:02:13 : SMTP Server: server01.ovcn.local
2007-06-03 13:02:13 : Send only if error: False
2007-06-03 13:02:13 : Port: 25
2007-06-03 13:02:13 : Ssl: False
2007-06-03 13:02:13 : Sending e-mail message to 'ovcn@tekmanagement.com' from 'administrator@ovcn.org'
2007-06-03 13:02:13 : c:\program files\viceversa pro 2\GlobalScripts\Global_end.vbs(109, 2) (null): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available
2007-06-03 13:02:13 : End Script Output
2007-06-03 13:02:13 : Script return code: 0
2007-06-03 13:02:13 : ************************************************************
2007-06-03 13:02:13 : END ID: 20076320159-22625-9092
2007-06-03 13:02:13 :
Any ideas on what is causing this transport error code?
Thanks,
Gerry _________________ Gerry |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
tekman1
Joined: 03 Jun 2007 Posts: 3
|
Posted: Mon Jun 04, 2007 5:19 pm Post subject: Global_end script to e-mail profile log |
|
|
I have tried all sorts of combinations of user, password and SMTP values but cannot find one that will work. For the user I am using just the user name, ie. administrator. The password is the administrator's login password. The SMTP server is the FQDN of the local 2003 server, ie. server01.ovcn.local. If I were setting up an email client such as Outlook Express I believe these settings would work. Can I use the IP address of the SMTP server instead of the name? Should the user name contain more than just the account name?
It just seems that this shouldn't be a problem, but it continues to fail. Are there any Exchange settings that could be causing this error? Do you have an example of a script that actually works on a Windows 2003 server?
Thanks,
Gerry _________________ Gerry |
|
Back to top |
|
|
tekman1
Joined: 03 Jun 2007 Posts: 3
|
Posted: Mon Jun 04, 2007 5:44 pm Post subject: Global_end script to e-mail profile log |
|
|
Just on a hunch I changed the authenication method in the script from cdoBasic to cdoAnonymous and the email then went through and was delivered.
End of problem. _________________ Gerry |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
|