CDOSYS error - Sender Denied
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
CDOSYS error - Sender Denied

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Candace
Guest





Posted: Fri Nov 04, 2005 5:58 pm    Post subject: CDOSYS error - Sender Denied Reply with quote

I am getting the following error message when I try to run the script. What
Exchange configuration changes should I make to correct this?

"The message could not be sent to the SMTP server. The transport error
code was 0x800ccc6f. The server response was 554 5.1.0 Sender Denied"
I made some suggested changes to the code. (See below).

'On Error Resume Next
RCP = "user1@domain.com"
FROM = "user2@domain.com"
SUBJ = "System Restart"
SG = "This system was successfully restarted."
Set NewMail = CreateObject("CDO.Message")
NewMail.Subject = SUBJ
Newmail.Sender = FROM
NewMail.To = RCP
NewMail.TextBody = MSG
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
= 2
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")
"192.168.1.18"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/authenticate")
= 1
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername")
"user2"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword")
"password"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
= 60
NewMail.Configuration.Fields.Update
NewMail.Send

Back to top
Glen Scales [MVP]
Guest





Posted: Mon Nov 07, 2005 1:58 am    Post subject: Re: CDOSYS error - Sender Denied Reply with quote

Looks like you falling fowl of Sender ID in SP2. Sender ID checks are part
of Exchanges connection filtering to bypass connection filtering on a
Exchange server you can add the IP address of the sender to the Global
Accept and Deny list in the Configuration tab under message Delivery under
Global Settings. see
http://www.microsoft.com/technet/prodtechnol/exchange/guides/E2k3TransnRouting/2f8d487f-2c6d-4e6f-abe5-67d562f1b27b.mspx

Cheers
Glen

"Candace" <Candace@discussions.microsoft.com> wrote in message
news:81450787-F223-4751-B27F-ABEDD6FB2793@microsoft.com...
Quote:
I am getting the following error message when I try to run the script.
What
Exchange configuration changes should I make to correct this?

"The message could not be sent to the SMTP server. The transport error
code was 0x800ccc6f. The server response was 554 5.1.0 Sender Denied"
I made some suggested changes to the code. (See below).

'On Error Resume Next
RCP = "user1@domain.com"
FROM = "user2@domain.com"
SUBJ = "System Restart"
SG = "This system was successfully restarted."
Set NewMail = CreateObject("CDO.Message")
NewMail.Subject = SUBJ
Newmail.Sender = FROM
NewMail.To = RCP
NewMail.TextBody = MSG
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
= 2
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")
"192.168.1.18"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/authenticate")
= 1
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername")
"user2"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword")
"password"
NewMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")
= 60
NewMail.Configuration.Fields.Update
NewMail.Send
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB