Jump to content

The "SendUsing" configuration value is invalid.


Recommended Posts

Guest Alexandre Tavares
Posted

Hi, I need a Help!!!

 

In my website when a send e-mail occur this follow issue:

 

Error:

CDO.Message.1 error '80040220'

 

The "SendUsing" configuration value is invalid.

 

/csweb/edita_atendimento2.asp, line 218

 

Page code:

<%

Set myMail=Server.CreateObject("CDO.Message")

myMail.Subject="Sending email with CDO"

myMail.From="alexandret@domain.com.br"

myMail.To="alexandret@domain.com.br"

myMail.HTMLBody = "<h1>This is a message.</h1>"

myMail.Send

set myMail=nothing

Response.write "Send"

%>

 

 

It Web Server is:

-Name server QS13

-Windows Server 2003 Enterprise R2 x64

-Domain controller

-IIS Server.

-SQL Server 2005 enterprise x64

 

I need use local SMTP in server QS13 and not change my page code, because in

other server was working, in this SMTP sercvice is configured to use Smart

Host for other server call mail.domain.com.br.

 

I reinstall SMTP services again, but this service after installation appears

disabled on Services Manager. What could be happening for my service after

installation appear disabled on Services Manager? And when i start it, it

didn't work.

 

 

We did this troubleshoot, Result Log SMTPDiag:

 

Searching for Exchange external DNS settings.Computer name is QS13.Checking

SOA for domain.com.Checking external DNS servers.Checking internal DNS

servers.Checking TCP/UDP SOA serial number using DNS server [172.x.x.x].TCP

test succeeded.UDP test succeeded.Serial number: 36121Checking TCP/UDP SOA

serial number using DNS server [172.x.x.x].TCP test succeeded.UDP test

succeeded.Serial number: 36121SOA serial number match: Passed.Checking local

domain records.Starting TCP and UDP DNS queries for the local domain. This

test will try to

validate that DNS is set up correctly for inbound mail. This test can fail

for

3 reasons.

1) Local domain is not set up in DNS. Inbound mail cannot be routed to

local mailboxes.

2) Firewall blocks TCP/UDP DNS queries. This will not affect inbound

mail,

but will affect outbound mail.

3) Internal DNS is unaware of external DNS settings. This is a valid

configuration for certain topologies.Checking MX records using TCP:

domain.com. MX: mail.domain.com (10) A: mail.domain.com

[172.16.x.x]Checking MX records using UDP: domain.com. MX:

mail.domain.com (10) A: mail.domain.com [172.x.x.x]Both TCP and UDP

queries succeeded. Local DNS test passed.Checking remote domain

records.Starting TCP and UDP DNS queries for the remote domain. This test

will try to

validate that DNS is set up correctly for outbound mail. This test can fail

for

3 reasons.

1) Firewall blocks TCP/UDP queries which will block outbound mail.

Windows

2000/NT Server requires TCP DNS queries. Windows Server 2003 will use UDP

queries first, then fall back to TCP queries.

2) Internal DNS does not know how to query external domains. You must

either use an external DNS server or configure DNS server to query external

domains.

3) Remote domain does not exist. Failure is expected.Checking MX records

using TCP: domain.com. MX: mail.domain.com (10) A: mail.domain.com

[172.x.x.x]Checking MX records using UDP: domain.com. MX:

mail.domain.com (10)Both TCP and UDP queries succeeded. Remote DNS test

passed.Checking MX servers listed for receiver@domain.com.Connecting to

mail.domain.com [172.x.x.x] on port 25.Received:

220 mail.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959

ready at Thu, 18 Oct 2007 09:16:14 -0200

 

Sent:

ehlo domain.com

Received:

250-mail.domain.com Hello [172.x.x.x]

250-TURN

250-SIZE

250-ETRN

250-PIPELINING

250-DSN

250-ENHANCEDSTATUSCODES

250-8bitmime

250-BINARYMIME

250-CHUNKING

250-VRFY

250-X-LINK2STATE

250-XEXCH50

250 OK

 

Sent:

mail from: <sender@domain.com>

Received:

250 2.1.0 sender@domain.com....Sender OK

Sent:

rcpt to: <receiver@domain.com>

Received:

250 2.1.5 receiver@domain.com

Sent:

quit

Received:

221 2.0.0 mail.domain.com Service closing transmission channel

Successfully connected to mail.domain.com.

 

 

What can be happening, how we can fix it?

 

 

Tks,

Alexandre Tavares

  • Replies 0
  • Created
  • Last Reply

Popular Days


×
×
  • Create New...