vovan
2009-02-24 14:21:24 UTC
Sorry if I'm posting in a wrong group.
I have a script:
Dim objMail
Set objMail = CreateObject("CDO.Message")
objMail.From = "***@srs-enterprises.com"
objMail.To = "***@optonline.net"
objMail.Subject = "That's a vbscript mail from
srsnjsrv.srs-enterprises.local"
objMail.Textbody = "Hello World"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"srsnjsrv.srs-enterprises.local"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusername") =
"chapranov"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendpassword") =
"developer8686"
objMail.Configuration.Fields.Update
objMail.Send
Set objMail=Nothing
We have 3 servers in the domain. MS Exchange is installed on srsnjsrv
server. I run this script from all servers and everything is fine - mails go
through. For me it looks like one of the machines is a server and 2 others
are clients in this particular situation. I'm trying to run this script from
any workstation in domain and nothing happens. No error messages, but no
emails too. Workstations are clients now.
Outlook installed on all workstations sends emails via Exchange with no
problem.
What is the difference between server machines and workstation machines when
they all are clients for Exchange?
What should be configured (installed, authorized, whatever) on Workstations
in order to make this script work on them as it works on server machines?
Thank you,
vovan
I have a script:
Dim objMail
Set objMail = CreateObject("CDO.Message")
objMail.From = "***@srs-enterprises.com"
objMail.To = "***@optonline.net"
objMail.Subject = "That's a vbscript mail from
srsnjsrv.srs-enterprises.local"
objMail.Textbody = "Hello World"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"srsnjsrv.srs-enterprises.local"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusername") =
"chapranov"
objMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendpassword") =
"developer8686"
objMail.Configuration.Fields.Update
objMail.Send
Set objMail=Nothing
We have 3 servers in the domain. MS Exchange is installed on srsnjsrv
server. I run this script from all servers and everything is fine - mails go
through. For me it looks like one of the machines is a server and 2 others
are clients in this particular situation. I'm trying to run this script from
any workstation in domain and nothing happens. No error messages, but no
emails too. Workstations are clients now.
Outlook installed on all workstations sends emails via Exchange with no
problem.
What is the difference between server machines and workstation machines when
they all are clients for Exchange?
What should be configured (installed, authorized, whatever) on Workstations
in order to make this script work on them as it works on server machines?
Thank you,
vovan