Ok, I've looked for an answer but I'm failing to find it.
I have a W2k3 DC which is running IIS for my website, my second machine is w2k3 and is running exchange 2k3 and SQL 2k.
I've tried the various types of email (CDONT etc...) and I can't get this to work. I've also pointed the smtp server to both internal and external names/addresses and none of that has worked.
About a month ago I ran into a problem (at work) where a Winxp machine was not able to use cdonts to send email. The fix was to run the script at the bottom of the page and all worked well. I've tried this and this hasn't worked.
Anyone have a solution?
thanks,
Here's the script I ran to fix the problem at work:
Create a vbs file called mbaadd.vbs.
Copy and Paste the following code into it.
Option explicit
Dim objSMTP, objInst, objSD, objACL, objACE, objNew
Dim sAccount
sAccount = wscript.arguments(0)
wscript.echo "Updating SMTP service instances..."
Set objSMTP = GetObject("IIS://LOCALHOST/SMTPSVC")
For Each objInst In objSMTP
If objInst.class = "IIsSmtpServer" Then
wscript.echo objInst.ADSPath
set objSD = objInst.AdminACL
set objACL = objSD.DiscretionaryACL
set objNew = CreateObject("AccessControlEntry")
objNew.AccessMask = 9 ' read + enumerate
objNew.AceType = 0 ' ADS_ACETYPE_ACCESS_ALLOWED
objNew.AceFlags = 2 ' ADS_ACEFLAG_INHERIT_ACE
objNew.Trustee = sAccount
objACL.AddAce objNew
objSD.DiscretionaryACL = objACL
objInst.Put "adminACL", Array(objSD)
objInst.SetInfo
End If
Next
If the machine is a DC then run the following from a command prompt
cscript mbaadd.vbs domain\IUSR_Machinename
' IUSR_Machinename = the IUSR account with the customers machinename appended to
it.
If the