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


ADVERTISEMENT

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

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 View Related

Use CDOSYS

how to use CDOSYS... i am getting pain by changing my servers

View Replies View Related

Cdo, Cdosys

I am desperately trying to install a login script for my website. I keep getting this error:

error '80040211'
/register.asp, line 88

Here is what is on line 88:

objCDOSYSMail.Send

i spoke with my hosting company - they said CDOSYSMail.Send and objCDO.Send are the same thing and if one is supported they both are - is this true?

I don't know what to do to get this working. It's a remote SMTP, but they have assured me that isn't an issue because I have the correct outgoing SMTP info in place (Verio hosting)

View Replies View Related

Cdosys

How can i create an form in CDOSYS to send an email?

Win 2k and NT used CDONTS, but XP does not support it. Does anyone know how to utilise this using Win XP Pro with IIS version 5.1

View Replies View Related

From Name In CDOSYS

I know with CDOSYS there's a objMail.from class, but this is for the From email address of the sender, not the From Name. Is it possible to assign a from name and from email address as seperate values?

View Replies View Related

CDOSys

I have an asp registration form, generating a html email, using cdosys.
When a hotmail user registers they receive an empty email or so it
seems, until you forward the email then the contents appeas as if by
magic. Is this a problm in the way my asp page is generating the email
or is it a settings issue with the hotmail account

View Replies View Related

Using Cdosys

I have allready posted my problem at this forum and i got replies too.But they suggested me using cdont or cdo component for win 2000.But my os is XP
professional and it contain CDOSYS component for sending email in asp.Plz provide me solution a/c to Windows XP Professional CDOSYS component

View Replies View Related

Help CDOSYS

I keep getting this error when my website tries to create an object to send an email for the checkout email confirmation: Error creating object: 006~ASP 0177~Server.CreateObject Failed~800401f3. Do you have any idea of the reasons this could happen? I had an engineer configure the software for CDOSYS, and this is what he said: Andrew, I’ve replaced all the files and I still get the same error message. So this leads me to believe that we’re looking at the wrong site or where I am publishing to the wrong location. Either that or the host is doing some sort of an ASP caching.
I don't see how he could be publishing to the wrong location; i gave him the right ftp info. Do you know what an ASP caching is, or do you have any clue what i could do to try to fix this problem, or where this error came from in the first place?
URL URLI was told by somenone that the object is not installed and registered properly. Does this mean that the dll for CDLSYS is not installed server side, or that the error is a function of my server not being set up right?

View Replies View Related

Cdosys

I am getting this error, but have no attachment code!! What other paths could it be looking for. The only one I have is:

.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:inetpubmailrootpickup"

View Replies View Related

CDOSYS

i am using CDOSYS to send mails to the users from my application. Everything is working fine, mails are being sent to the user but in the mail the user receives, some extra characters such as '!' or spaces are coming between words. I tried defining a character set but still the problem exitss.

View Replies View Related

Cdosys

Does CDOSYS have all the same methods and properties that CDONTS does? I need to know 'cause I just put XP on my box and I heard CDONTS has been deprecated since Win2k anyway.

View Replies View Related

Cdosys

I am having difficulty with the cdosys for windows 2000, I can't seem to find a method that allows me to attach a file, I have been searching msdn and the page I needed was not available.

View Replies View Related

CDOSYS

Using CDOSYS to send email:

Code: ( text )

View Replies View Related

CDOSYS

I was using CDONTS to send ASP forms. They used to work fine, but now it seems that my webhost provider (not to mention some others), are changing the fotmat from CDONTS to CDOSYS. I have been looking at some of the examples, but they seem confusing. So, my questions is this...

What is the easiest way? I am more concern with the collection of the data from the form's fields. What is that I have to do in order to be able to collect the data sent from the fields?

View Replies View Related

CDO Take Two CDOsys

I have a form that I use to send an email using CDO. When I submit the form, it brings up a blank page and no email is sent. Can you look through the code and see what's wrong?

View Replies View Related

Email & CDOSYS

does anyone know why the code below wont work ?

It doesnt thow any errors, but no email is being sent!

'--------------------------------------------------------------
'-------- now use CDOSYS to send email because im using IIS5.1
'--------------------------------------------------------------
Dim objConfiguration
Dim objFields
Dim objMessage
Set objConfiguration = CreateObject("CDO.Configuration")
Set objFields = objConfiguration.Fields
With objFields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) ="localhost"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPAuthenticate) = cdoBasic
.Update
End With

Set objMessage = CreateObject("CDO.Message")
With objMessage
Set .Configuration = objConfiguration
.From = "mark@mark.com"
.To = "mark-wheeler@tiscali.co.uk"
.Subject = "Here comes a Subject"
.TextBody = "Here is a text body"
.Send
End With
Set objMessage = Nothing
Set objConfiguration = Nothing

View Replies View Related

CDOSYS: No Email Is Getting Sent

I am trying CDOSYS code to send out email. The problem is when I try to send email to gmail and hotmail account, it never works. Means, no email appears at gmail and hotmail account. But when I send it to yahoo mail, it works.

I run the code at localhost. I use Win XP Pro. I just wonder why this happen.
Can someone explain to me?

Below is the code that Im trying out: ....

View Replies View Related

CDOSYS Compatibility

If I code automated email sending functionality for website using CDOSYS it will work only for users with Windows 2000/XP. Is it correct?

Or Windows 2000/XP requirement is only related to the server side software and all my users will not have any problems using other systems on their computers?

View Replies View Related







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