3w.ezer.com 9/2/2010 6:00:25 PM Learning Internet web w3 tutorials 3w.ezer.com:W3 ASP » email cdo.message.error:Learning asp sql html code in English

3w study

submit to 3000 search engines
You are reading :: English:: Learning ASP SQL VB HTML code

Learning .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

You are reading :: English English

Learning.Topic:
HOME
XML
VBscript
SQLserver
SQL
SearchEngine
Robots
php
Microsoft
JAVA
InternetProtocol
HTML
Ecommerce
CSS
ASP
. Active-Server-Flash
. Array
. Cache
. Connection
. Count
. Counter
. Distinct
. Email
»CDO.Message
»CDO.Message.error
»JMail.SMTPMail
»Persits.MailSender
»SMTPsvg.Mailer
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. server-createobject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time

SiteMap

3w....Learning.tutorials > ASP > email » cdo.message.error

3w learning

email >
cdo.message.error

Title:

CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid.


Description:

Collaboration Data Objects (CDO) can be used to send email from Windows shared hosting Web sites running IIS 6 or IIS 7. The following code sample demonstrates how to use CDO to create and send email. error message: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid.


Example Code:

<% sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing" smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver" ' Set the mail server configuration Set objConfig=CreateObject("CDO.Configuration") objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort objConfig.Fields.Item(smtpUrl)="relay-hosting.secureserver.net" objConfig.Fields.Update ' Create and send the mail Set objMail=CreateObject("CDO.Message") ' Use the config object created above Set objMail.Configuration=objConfig objMail.From="....@.....com" objMail.To="....@.....com" objMail.Subject="subject" objMail.TextBody="body" objMail.Send %> -------------------tip----------------------------- use Set objMail.Configuration=objConfig to connect old CDO with sendURL <% ' Create and send the mail Set objMail=CreateObject("CDO.Message") ' Use the config object created above ' Set objMail.Configuration=objConfig <--- important objMail.From="....@.....com" objMail.To="....@.....com" objMail.Subject="subject" objMail.TextBody="body" objMail.Send %>


Example Result:


help FAQ link http://help.securepaynet.net/topic/623?prog_id=ezer


..
...
...

[ 9/2/2010 ]

Web Tools
Page rank checker
Table Builder
Meta Builder
Mask Maker

www learning school add more scripts and tips memo
You are at >>3W.EZER.COM >> 3W.EZER.COM/ASP/EMAIL/CDO.MESSAGE.ERROR.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker Google SERP pageranking checker
back to top Ezer code adding :: Questions ;email