How To Replace CDONTS With CDOSYS And Set The Server Name Property

I was told that I need to replace CDONTS with CDOSYS. Code:

View Replies


ADVERTISEMENT

Missing CDONTS Property

I am using CDONTS in an ASP program to accept input from a Form and send an E-mail.
The form includes the following as well as some other information :

From (the name of the sender)
To ( the name of the recipient)
From E-Mail ( the senders E-Mail Address i.e. the Reply to address)
To E-Mail ( The recipient's E-Mail Address )

I am having trouble with two properties. What property do I use to set the From (the name of the sender) ? What property do I use to set the From E-Mail ( the senders E-Mail Address i.e. the Reply to address) ?

View Replies View Related

CDONTS To CDOSYS

I have an email script that used to work but now doesn't, my web host told me I have to use CDOSYS instead of CDONTS.If it's not to much trouble could someone look at my script below and make it CDOSYS compliant.Thanks

<%@LANGUAGE="VBSCRIPT"%>
<%
Dim usxCDO
Set usxCDO = Server.CreateObject("CDONTS.NewMail")
usxCDO.From = cStr(Request("email"))
usxCDO.To = "someone@somewhere.com"
usxCDO.Subject = "Subscription To Magazine"
usxCDO.Body = Chr(13) & Chr(10) &_
"Name: " & cStr(Request("name")) & Chr(13) & Chr(10) &_
"Company: " & cStr(Request("company")) & Chr(13) & Chr(10) &_
"Email: " & cStr(Request("email")) & Chr(13) & Chr(10) &_
"Instructions: " & cStr(Request("instructions")) & Chr(13) & Chr(10) &_
"A SUBSCRIPTION ORDER HAS BEEN PLACED."
If (cStr(Request("Submit")) <> "") Then

View Replies View Related

Cdonts To Cdosys

I'm trying to convert this code and after several attempts at tutorials I am still scratching my head I am using XP pro IIS

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
body = body & " Your username is: " & user & vbCrLf
body = body & " Your password is: " & PasswordTemp & vbCrLf

objCDO.To = email
objCDO.From = "user@wherever.com"
objCDO.Subject = "hello"
objCDO.Body = body
objCDO.Send

View Replies View Related

Cdonts And CDOSYS

I am using Cdonts and CDOSYS to send email. Script runs without any error, but some of the reason I am not receiving any e mails. I am using window 2000 on exchange 2000 sercer, Code:

View Replies View Related

CDONTS To CDOSYS

Is it necessary to set field configurations for CDOSYS?

I have yet to recode all my existing uses of CDONTS over to CDOSYS. In most
of the sample code I've seen on the usual ASP sites, there is code to set
field configurations for CDOSYS (usually using With... End With). However,
in a number of CDOSYS-related code samples offered within this news group,
the field configuration code is absent.

View Replies View Related

Cdonts And Cdosys

could someone please explain the difference between CDO, CDONTS and CDOSYS. I was just wondering why they don't just have one instead of many. Code:

View Replies View Related

CDONTS And CDOSYS

For send mail from a web page is there any benefit in using CDOSYS over CDONTS? Are the methods the same? How do you Set the object?

View Replies View Related

CDONTS, CDOSYS & JMail

I've been searching high and low for a decent comparitive analysis of the various e-mail components for IIS (specifically for use with ASP).

Here are a few that are pretty common: ASPMail - I've been using this, but it seems that if the SMTP server is backed up, it slows down ASP page that submits the mail, apparently because this version does NOT provide message queuing
ASPQMail - This component provides the queuing options, which theoretically would avoid ASP slowdown when the SMTP server backs up. Unfortunately my host doesn't offer this component.

CDONTS - Comes with IIS, so widely supported
CDOSYS - Comes with IIS 5 & later
JMail - A free component, also widely used. Documentation is poorly translated into English and difficult to follow.

Putting aside the fact that every web host supports a different set of mail components and "your mileage may vary"...

What is the best-performing solution?

View Replies View Related

CDONTS Or CDOSYS UTF-8 Email

I have a form that needs to handle international characters withing the UTF-8
character set. I have tried all the recommended strategies for getting utf-8
characters from form input to email message and I cannot get it to work. I
need to stay with classic asp for this.

Here are some things I tried:

'CDONTS
Call msg.SetLocaleIDs(65001)

'CDOSYS
msg.HTMLBodyPart.Charset = "utf-8"

I included the following meta tag in the email HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I also tried modifying the CharSet and CodePage of all involved Request and
Responses.

I was able to Response.Write the form content on post back to the screen and
it was properly rendered. However, none of my efforts can get the email to
render with the correct codebase. I have tried opening the email in Outlook
and Thunderbird. Neither one picks up on the UTF-8 charset meta tag.

View Replies View Related

CDOSYS And CDONTS Quirks

When using CDOSYS, if an email address contains a hyphen(-) prior to the @ sign, the form will fail. Can anyone reading this who uses CDOSYS test this same scenario in their environment? I wonder if this is a CDOSYS issue, or something specific to my situation.

When using CDONTS, we can only send to email addresses that are internal to our company. For example, any emails addressed to(E-Mail address blocked: See forum rules) go through fine. For all non widgetsRus email addresses, such as Internet addresses, the form submits but the delivery never occurs and so failure messages are returned.

This single form has been setup on two servers, on the one server it works fine and can be sent to non widgetsRus recipients. The same form on a different server does not. I know it's not the code so I'm wondering if there are some SMTP settings that could be the problem?

View Replies View Related

Blocking CDONTS/CDOSYS Mail

I run a web site that uses various forms to send email to customers. For example, I have a "Forgot your password?" script and a "Email this page" script.I've found out that when a user sends an email via my site to a Hotmail address, the email just "disappears." I'm assuming Hotmail is considering the email SPAM because it was send by my web server? The site uses ASP and I've tried using CDONTS and CDOSYS (which I specified a SMTP server for) and nothing seems to work for Hotmail.

A large portion of my customers user Hotmail, so banning it really isn't an option.Is there anything I can do to prevent Hotmail from blocking my site's emails?

View Replies View Related

Get .Send Status In CDONTS Or CDOSYS

I put the following code into my mailer: Code:

if objIndexMail.Send then
Response.Write("Mail Sent")
else
Response.Write("Failure. ")
end if

and it's coming up as Failure every time. Is there a way I can see the status of the .Send command, and why it came up as a failure? no errors are being generated, it's just not sending..

View Replies View Related

CDOSYS AND CDONTS On W2K3 Machine

I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from:

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")

I know that the new format is:

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

Is there something special that we have to have installed to make CDONTS work?

View Replies View Related

Hotmail Blocks Emails Sent W/ CDONTS/CDOSYS?

For some reason, the email scripts on my web site can't send emails to
Hotmail accounts. No error is generated, but no email is sent either. I've
done some searching on this matter, and it appears as though I'm not the
only one having this problem, but I have yet to find a solution :(

Below is my CDOSYS script that was *supposed to* resolve the problem by
passing the SMTP server's along with the email, but it doesn't work :(

Have any of you had success with sending emails to Hotmail accounts via CDO?
I don't have control over the server's setup because it's a hosted account...

View Replies View Related

Changing CDONTS Email Form To CDOSYS

i recently finished a tutorial on cdonts and finished putting together the page and form etc. now ive been reading and it seems cdonts is being discontinued and cdosys is taking over. does this mean that my cdonts will not work and i have to trnasfer it to cdosys ?

how can i transfer it to cdosys ? or do i have to make a completely new mail script?

Code: ....

View Replies View Related

How To Send CDONTS Or CDOSYS Email With Specified Attachment?

I am trying to get a asp-mailer setup that will send a specified attachment.
I have tried both CDONTS and CDOSYS methods ... both are giving me headaches.

And the best part is how incredibly helpful the error is: (Sarcasm Intended)

Error Type:
(0x80004005)
Unspecified error <-- They should change that error to ... "Good Luck!"
/knowledgetree/emailer-drivers.asp, line 90
I hilighted the above line in the code as well.

Here is the code I am working with: Code:

View Replies View Related

Use CDOSYS To Send Email On Different Server

I've set up a website contact page which uses CDOSYS to send form details to an email address.

However, the domain is set up such as the client is using their own mail server, and using my server only to host the website.

Ordinarily I would set up hosting with email and change the nameservers of the domain to point to my server, but in this case the client is keeping the nameserver details the same, but just updating the A record to point to my server to display the website.

Trouble is, the CDOSYS email doesn't seem to work with this set-up. Do I need to hard code their mail server IP somewhere to get it to work?

View Replies View Related

Adding Smtp Server Settings To CDOSYS

i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:

View Replies View Related

CDONTS On WIN2003 Server,

I am moved to WIN2003 Server, and the server admin is saying CDONTS is no more supportable on Win2003 I don't like the CDOSYS

and tell me in detail what I need to do to get the CDONTS on my win2003

View Replies View Related

CDONTS And Windows Server 2003 / IIS 6

I just set up an acct. with godaddy for a shared virtual dedicated server using Windows 2003 and IIS 6. None of my ASP scripts work to send emails using CDONTS. Research took me to how to install the cdonts.dll file and after doing so I don't get the error about not being able to create an ojbect but rather that of permissions on the line that has the .send. Other research led to me believe that windows 2003 does not support cdonts at all? I'd prefer to use CDO but I was told by Godaddy that the script below is not supported on a shared server - Code:

View Replies View Related

CDONTS Not Working On W2000 Server

I am trying to run a test sending mail using CDONTS on my W2K3 machine.

It works fine running from my WXP Pro, but I don't recieve the mail if
run the W2K3 machine.

Both machines have IIS configured essentially the same. Code:

View Replies View Related

Using CDONTS To Logon The IIS SMTP Server

Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.

View Replies View Related

CDONTS On WINDOWS 2003 Server

Some one has posted this question on 10th August, as CDONTS is not working
on windows 2003 serever. I have the same problem and I copied CDONTS.DLL
from Windows 2000 Server and registered on Win 2003 server but it giving the
error on line when I calling method send of the object.

Error is
Microsoft VBScript runtime error '800a0046'

Permission denied

I tried to register CDONTS as COM+ with Admin user right to execute but it
still giving same error.

View Replies View Related

Cdonts Using Exchange Server- Configuration

I am having a problem here to send my asp form to my email! I am using CDONTS under w2k and IIS! when i submit the form, all of the message (that suppose to go to my email), went to the queue folder under wwwroot!! nothing appear to my yahoo email also...
that means that my script is working...but only the configuration is need to be adjust here!

the thing is that i dont know how to configure, setup or setting the configuration for Exchange server! since my organization uses exchange server instead of the SMTP!

View Replies View Related

CDONTS And Windows Server 2003

if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server and if so, how can I send emails from ASP page.

View Replies View Related

Web Forms And SMTP On Server 2003 (CDONTS)

Not sure which forum this belongs in, so here it is here as well as in the IIS forum

I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:

this is the code: ....

View Replies View Related

CDONTS.NewMail.1 Error '80020009' Unable To Connect To Server

I get the follow error on a linux box that is running sun asp:

CDONTS.NewMail.1 error '80020009' unable to connect to server

The error occurs when the Send Command is Executed. Here is my code:

View Replies View Related

Replace Function Not Replacing What I Tell It To Replace

If I replace "a" with "b", and then I replace "b" with "a", shouldn't I get the same result? That is what I am trying to encode and decode with Replace() function, but it is giving me different things when I replace and replace again. Here is what I am talking about: Code:

View Replies View Related

Server.CreateObject("CDONTS.NewMail")

can i type the whole code and run it on my own computer using IIS 5.1 to send mails? cos i get an error message everytime i execute the codes:

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/news/newslettercreate.asp, line 22

can someone help me please?

View Replies View Related

Asp.net Property In Asp

there is a property in asp.net called autopostback, what i want is to set this property
on plain asp to give a combo the ability to postback the selected option.

Is this possible???? i need to set something like that to a dinamic combo, any ideas????

If it can be done in java or vbscript just please tell me, cause i don�t have a clue if is possible or not.

View Replies View Related

Adodbconnection - Property Value

I don't understand why but If I use vbscript the following code works
fine:

....connection string.....
dbConn.Open
msgbox dbConn.Property

but the corresponding code in asp:

...connection string.....
dbConn.Open
response.write dbConn.Property

returns the error "Arguments are of the wrong type, are out of
acceptable range, or are in conflict with one another" In both cases
connection to sql server is ok.

View Replies View Related

Textbox Property

I have a requirement like this.When the textbox gets focus..at this even i want to change the input langauge settings.like arabic.
Currently i have to do it manually by pressing the Alt+Shift key..to toggle between twon langauages

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved