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


ADVERTISEMENT

CDONTS.NewMail.1 Error '80020009'

Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.From = "myE-mailHere@myDomain.com"
Mail.To = "me@mycompany.com"
Mail.BCC= email
Mail.Subject = "Welcome to Kindis website"
Mail.BodyFormat = 0
Mail.MailFormat = 0
Mail.Body = "<h2>Hello</h2><br><b>This is my e-mail in HTML format</b>"
Mail.Send
Set Mail = Nothing <---- Line 121
%>

when i try sending the email i get this error:

CDONTS.NewMail.1 error '80020009'

Unable to connect to server

/kindis/register4.asp, line 121

does it have to be with the mail server im sending to or should i be including a file in this file?

View Replies View Related

Unable To Create Cdonts.newmail Object

I'm having a problem with cdonts.newmail. quite simply when i try to use the server.createobject method to create it it gives me an invalid progid error. it works fine on the test server so the problem is somewhere in the server settings and not with the code. both servers use win2k advanced server.

I'm not sure what information is relevent to this problem so if you need more information please just ask.

specifically I'm wondering if it's possible to dissable the object, preventing it to be created. if this can be done where would you do it?

View Replies View Related

Unable To Connect To Live Communication Server Through My Own UI

I am facing a problem that i am unable to connect to Live Communication Server using my own UI. Actually i want to access the API's in LCS through my own UI(which is a messenger UI),which i am using to implement chatting messenger in my project.

The main reson is that i dont know the code to connect to this LCS and what namespace shld i use so that i can access all the functionality of my LCS 2005.

The coding is to be done in c#. I could have used the MS OFFICE Communicator direcltly but i have to use my oen UI and thus i need to connect to this LCS...

View Replies View Related

Error: CDONTS.NewMail.1 (0x80020009) Component Is Disabled.

I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.

I also have included the original error and line of code I changed it from in case it was necessary?

ERROR 1

CDONTS.NewMail.1 (0x80020009)
Component is disabled
/thankyou.asp, line 61

Code:.....

View Replies View Related

Error: CDONTS.NewMail.1, ASP 0220 (0x80020009), This ASP File Must Be Transacted In Order To Use The ObjectContext Object.

Hey people,

I have just tested code I pulled from the chilli!Mail tutorial to email data via an ASP page.

It worked perfectly the first time the page was loaded, however now I am getting the following error:

Error Type:
CDONTS.NewMail.1, ASP 0220 (0x80020009)
This ASP file must be transacted in order to use the ObjectContext object.
/ContinuousImprovements/test.asp, line 29

I haven't seen this error before and am not too sure what it means, any help would be appreciated.

The code is below:...

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

Unable To Connect To MySQL

give me the steps and all the details from downloading installing & connecting to MySQL using ASP codes in Windows 2000 Server.

View Replies View Related

CDONTS.newMail Help

<%
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="usama_1987@hotmail.com"
Mail.From="usama_1987@hotmail.com"
Mail.Subject="Just testing my script"
Mail.Body="Hey! I am sending this email through an ASP Page and guess what? I haven’t learnt much yet, but know that ASP is very powerful."
Mail.Send
Set Mail=nothing
%>

This is the Code and when i Refresh nothing happens, and i didnt receive any emails.
i am using IIS 4.0.

View Replies View Related

CDONTS NewMail

When I use NewMail objec without att everything is ok, but when I try to send at I got Page Not Found Error.

View Replies View Related

CDONTS.NewMail

I'm sending email in the following code:

dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "example1@hotmail.com"
objCDO.From = "example2@hotmail.com.com"
objCDO.Importance = 2 'High importance!
Dim txtSubject
txtSubject = "Hello Scott! We were wanting your advice on some programming issues. Please come to Redmond at your earliest convenience for a very fat check!"

objCDO.Subject = "Attn: Scott, we need you!!"
objCDO.Body = txtSubject
objCDO.Send

I get no error but i don not get the mail too...

View Replies View Related

CDONTS.Newmail

I created an ASP application, everything worked in test-environment. Today we put it on the intranet server and now the mails aren't send anymore... I use the CDONT object to send the mails...

I've been looking around for a solution, but I can't find one for my problem... this is what I found and already checked:

-the domain addresses are both the same (to and from) and the domain is internal... the smtp server is working as well (it worked in test environment, so...)

-IIS versions on test and intranet are the same, both 5.

View Replies View Related

CDONTS NewMail

Is it possible to set the font size of the body of the text?

View Replies View Related

'CDONTS.NewMail'

I am using IIS5 on winXP, and when I using progrma writing with asp, I get the error

ActiveX component can't create object: 'CDONTS.NewMail'

whats wrong?

View Replies View Related

CDONTS.NewMail

I have a form mail that uses CDONTS ,but when i send the form it displays this message

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/homland.am/admin_SubscribedCust_email_processor.asp, line 25

Line 25 is -->Set mail = Server.CreateObject("CDONTS.NewMail")

View Replies View Related

Unable To Connect To Database From Frames Page

I have creaed a tree stucture using Frames. When selecting an option from the left side, an ASP page (Let us say page1.asp) opens.

In the ASP page, I am getting inputs from the user. On clicking Submit, i am opening another ASP (Page2.asp) which has the connection tags.

What happens now is, page1.asp gets loaded, when I click Submit, it says "Page cannot be displayed". Code:

View Replies View Related

CDONTS.Newmail With Message ID

Does anyone know if it is possible to send a message ID to the mail server using CDONTS? or even append something to the message ID that the mailserver assigns to the message.

I am starting to get duplicate message ID's which has been causing many problems down stream.

View Replies View Related

Alternative For CDONTS.NewMail

Is there an alternative for CDONTS.NewMail for sending email? according to this article , CDONTS.NewMail works only on Windows NT/2000 Operating Systems.

Is there an alternative class that works on Windows XP to send email?

View Replies View Related

Query About Using CDONTS.NewMail

I'm sending out a monthly newsletter to a whole bunch of clients of my company, by using the CDONTS.NewMail Object in ASP. I've added some email addresses of some of my co-workers to my database to see if the message comes out right in their mailboxes.

Most of them received it right, but there were a few cases where, if their Outlook settings were set to the "Rich Text" option in their Mail settings, it came out as scibberish code. Freaked me out!

I was under the impression that by using the CDONTS.NewMail object, and setting the MailFormat and BodyFormat to HTML it should appear right in the receipients inbox. I understand that if it is set to "Plain Text" that it would come out as plain text, but "Rich Text"? And how would I know how many people receives it this way?

In addition to this, I have added the option to receive a Plain Text version of my newsletter, but the problem is that most of the email addresses in my database were manually added, since the newsletter is being sent to selected corporate groups.

Thus, we set all entries to send it as HTML, and if they would like to receive Plain Text, they can update their subscription on our website by clicking a link provided within the distribution.

View Replies View Related

CDONTS.NewMail Object

The following is the code to send the email. It sent successfully. but I got the wrong result. I got this in my email:

------------------------------------------------------------------------------------
vi assign
=xxxxxxxxxx-com-john.mathews:email:11:11:/mailboxes/xxxxxxxxxx.com/johnmathews:::
------------------------------------------------------------------------------------

*** Why the dot "." is disappeared after john ? It should be "...../john.mathews"

*** What wrong on my code?

*** How to fix the problem?

View Replies View Related

CDONTS.NewMail Object

I am using the CDONTS.NewMail object to send e-mail programmatically. We upgraded our IIS server from NT to Windows 2003 Server. Now it does not appear that the CDONTS object is available on the 2003 Server? Is this correct? If so, how does one send e-mail programmatically on 2003 Server using "Classic ASP" (not .NET). Which object do I use?

View Replies View Related

Error: The Transport Failed To Connect To The Server

I'm using this coding but get some error. i can't understand this line

.Item(sch & "smtpserver") = "<enter_mail.server_here>"

mail server means which server im used help me

error:Error Type:
CDO.Message.1 (0x80040213)
The transport failed to connect to the server.

<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "<enter_mail.server_here>"
.update
End With

Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "basvbas@yahoo.com"
.To = "basvbas22@yahoo.com"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>

View Replies View Related

Error: The Transport Failed To Connect To The Server.

I have a form in my website and keep getting this error I was wondering if anyone could help out with this error message I keep getting

<!--#include file="email_validation.asp"-->
<%
Dim strMailFrom
Dim strMailTo
Dim strMailServer
Dim strMailSubject
' -------------------------------------------------------
' Stuff you need to change
' -------------------------------------------------------

..........

View Replies View Related

Can Connect To A Database On A Remote Server But With An Error

I eventually managed to create a connection between my IIS LocalHost ASP WebPages and my database located on a website on the net. Here is the solution:

Dim conn, connect
set conn=server.CreateObject ("adodb.connection")
connect = "Provider=MS Remote; Remote Server=http://www.example.com; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & server.mappath("database_filedatabase.mdb") & ";"
conn.Open connect

When I point my connection to my database on the net like in the code above I get the following error:

Error Type:
Microsoft ADO/RDS (0x800A2011)
Internet Server Error: Object/module not found.

Any Suggestions?

View Replies View Related

Send Method CDONTS.NewMail

I am running the following script for sending e-mail thro web

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "vkumar@ugs.com"
objCDOMail.To = "vkumar@ugs.com"
objCDOMail.Subject = "Library books"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = "hi"
objCDOMail.Send
Set objCDOMail = Nothing
-------------------------
I get the following error, when I call send method of CDONTS.NewMail object
---------------------
Microsoft VBScript runtime error '800a0046'
Permission denied

/cae/library/issueupdate.asp, line 61

----------------------------

I tried both the following. Everything looks fine. My OS is windows200
server

http://support.microsoft.com/defaul...kb;en-us;286301

http://support.microsoft.com/defaul...kb;en-us;197619

Can somebody give a clue, what is going wrong....

View Replies View Related

CDONTS.NewMail MIME Type Problem?

I've got an asp page with a CDONTS object sending HTML mails with proper attachments on them... thing is, some mail recipients get the full attach ok, and some don't (but still get the HTML ok)! (all recipients added to the same object... no more than 10 recipients)

i believe it's got something to do with MIME types and stuff, but i've got no ideia on how to solve this problem...

View Replies View Related

Send Method (CDONTS NewMail Object)

Is there a way to determin if the email message was sent? I have a numnber of applications that use CDONTS to send mail from both ASP and ASPX pages. If the server is down mail does not get sent. I do not see a way to determine this by code. Does anyone know of a way?

View Replies View Related

Sending Mail From ASP With CDONTS.NewMail Object

I use the following code to send email from an ASP page:

<%
Dim objSendMail
Set objSendMail = Server.CreateObject("CDONTS.NewMail")

objSendMail.From = "abc@abc.com"
objSendMail.To = "abc@abc.com"
objSendMail.Subject = "Form Results - Get a Quote"
objSendMail.Body = "This is the Body text of this test mail."
objSendMail.Send
Set objSendMail = Nothing
%>

Of course, the the email addresses above are real on my ASP page.

After the above code is executed, I don't receive any email.

What is the problem?

View Replies View Related

CDOnts.newmail Attachfile Don't Work When File Is Large

I am using the CDONTS.newmail object to send file as an attachment so I
used attachfile method. it seems the attach file wont work if the file size
more than 100 KB , does anybody know if there is a size limit or where to
change it I am using the SMTP server included with IIS 5.0.

PS when file is sent, it will show on the EMAIL as an attachment only with 0
bytes.

View Replies View Related

ActiveX Component Can't Create Object: 'CDONTS.NewMail'

Does someone know the cause of this error? I'm developing a simple christian site for our church and it needs to have an email functionality. When I submit the form I receive this error. Can anyone give me some tips?

View Replies View Related

Error '80020009'

I have a function that i am using that is recursive but i get an error when i use it. i have turned off friendly error messages but the error is still the same.

error '80020009'

Exception occurred. /Category_new.asp, line 93

Code:

View Replies View Related

Error '80020009

I am a designer who has inherited an ASP site to maintain (and who has somewhat limited skills in this area) and I have come to the end of my rope on this one, and was hoping that some munificent ASP guru could help me out. The page I am referring to has been working FINE for 3+ years and today comes up with an error message:

error '80020009'
Exception occurred.
/recipe-index.asp, line 91

Here is the totality of the section the error message refers to: Code:

View Replies View Related

80020009 Error

Before the addition of line 28, when a user login it either accepts it if it validates correctly. If the email or pw failed then it redirects to a "bad user name or password page."

After the addition of line 28, when a user login with the correct email and pw then it works normally...

however when a user uses a invalid login entry the error page does not show up... instead it gives a 80020009 Code:

View Replies View Related







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