CDONTS Doesn't Always Send To A Specific Address?

When I use CDONTS on a Win2k iis5 server, I do not always get the mail that the form is sending to me (sometimes it ends up in the badmail folder but then I get the message undeliverable mail from the server?) The problem is not consistent, so it is rather baffling.

Secondly, I can't seem to send to some linux based mailservers, It just absolutely refuses to deliver the mail (and oddly enough, also not to hotmail.com addresses), and then lastly,

Is there any way to force CDONTS to use a different smtp server (can you assign a new/other server to handle the mail?)

View Replies


ADVERTISEMENT

CDONTS Doesnt Work Always

I am using CDONTS to send mail to the user from my ASP application.
However, the code doenst works all the time. I am able to get mails but
nothing happnes most of the time. The code works maybe once in 20 tries.
What could be the reason?

View Replies View Related

CDONTS Doesnt Seem To Work

i posted earlier, and the response seemed to be there is
another dll i need to use the cdonts object, i used it
fine for awhile on my old setup, i upgraded to 2k3 and it
errors up as if cdonts isnt an object. So is there a dll
i need to have to use the cdonts object in iis 6 or do i
need to rewrite my code to use cdo? (if so, please provide
asp 3 example on how to send an email with recepient,
sender, body and subject)

View Replies View Related

CDONTS Object Doesnt Recognize Simplified Chinese Characters

When we send a mail using the code below,we do not get simplified chinese characters if they are present in the body but we get junk in the mail and we need to change the mails encoding to simplified chinese to see the Chinese characters.

'CDONTS object
set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.MailFormat = 0
objMail.SetLocaleIDs(65001)
objMail.From = sFromEmail
objMail.To = sToEmail
objMail.Subject = sSubject
objMail.Body = sMessage
objMail.Send
set objMail = Nothing

View Replies View Related

Specific Machine's IP Address

Let say I wanted to get an IP address of a machine called mybox. How can I do it in ASP?

View Replies View Related

How To Send A Querystring To A URL Address

I need help with sending a query string to a URL address without a form post. I need to send data to a web service so that the web service can process that data. I tried to use the response.write function and it seems that this is not working. So here is
the code I used:

getData = getData & x_Description // this is my data string:

Url= http://www.server.com/oem/gateway/post.cfc & getData // this is the URL address where I need to send the data to

response.write (Url) // this should write to the URL and attach the data as a query string.

View Replies View Related

Send Form Data To An Email Address?

What I am trying to do is create a page on my company's internet site so that our customers can fill out a form, click a submit button and then have the data they entered be emailed to me. I have already created the form within Dreamweaver MX. How do I setup the Submit button to automatically email the information to me?

View Replies View Related

Form Setup To Send The Results To An Email Address

I have a webpage with ASP that is a form. I have the form setup to send the results to an email address (using the Frontpage feature). We have published the page to the web, but it will not send email. It simply does nothing. This is the code:

<form name="Datasheet" method="POST" action="DataSheet.asp" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="ray.clark@721-file.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan -->

View Replies View Related

CDONTS.Send Ignored

I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored.

I think is it ignored because it throws no errors, neither does the rest of
the code setting:

objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its
properties.

Do I need to somehow set IIS5 to make objCDONTS. Send work?

View Replies View Related

CDONTS.Send

I have a page that sends user comments with CDONTS, works fine.Until I put a URL (http://192.168.0.1).If I use http://domain.com it works fine.Why with the numeric URL, CDONTS does not send the mail?

View Replies View Related

How Can We Send E-Mails With ASP Without Using CDONTS?

Can somebody tell me, How can we send e-Mails with ASP without using CDONTS?
Because some one told me that, it's possible to send e-Mails without using CDONTS. But i don't know how.

View Replies View Related

Send Mail In ASP Using CDONTS

I had to write a page in ASP which sends an email. I googled and was able to write the following code:

<html>
<body>
<%
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.To = "XXXXXXXXXXXX@XXXXXX.COM"
Mail.From = "YYYYYYYYY@YYYYY.COM"
Mail.Subject = "Test MAIL Subject"
Mail.Body = " Body Body Body Body Body Bodyody Body Body"
If Mail.Send Then
Response.Write("Mail has been sent successfully")
Else
Response.Write("Mail Sending Failed")
End If
Set Mail = nothing
%>
</body>
</html>

When I run this script on a shared hosting server, It's saying "Mail
Sending Failed". I had never written ASP code before and couldn't find
what the reason is.. I also checked whether CDONTS.NewMail component
is available.

View Replies View Related

Send Email With Cdonts

I've tried to send a mail using CDONTS.DLL but the mail goes in to
C:InetpubmailrootQueue"

Here is my code

Dim Mailer
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.To = "testemail@hotmail.com"
Mailer.From = "expediteur@email.com"
Mailer.Subject = "Titre du message"
Mailer.Body = "Le texte qui sera envoyé"
Mailer.Importance = 0
Mailer.BodyFormat = 0
Mailer.MailFormat = 0
if not Mailer.Send then
response.write ("mail envoye")
else
response.write ("Mail non envoyé. Erreur : ") & Err.Description
end if
Set Mailer = Nothing


I work with win xp pro, do can I use CDONTS or CDO?
I work on local (the webserver is located:C:Inetpubwwwroot)

View Replies View Related

Send Mail With CDONTS

I just found out that CDONTS was indeed installed on our web server so I've been playing around with some easy sample codes. However, when I run the code, nothing happens. I get no errors, it seems like everything went OK, but no email! Are there firewall issues with CDONTS? If so, how can I work around them?

View Replies View Related

CDONTS TO SEND MAIL

I'm not sure if CDONTS is loaded or what is wrong. On a new 2003 Web server w/FP extentions but mail is not being sent. In and ASP page I have:

set objSendMail = CreateObject("CDONTS.NewMail")

Which worked fine when I was using an NT 4 and IIS 4 or 5

View Replies View Related

Can Not Send Attachment With CDONTS

Set mail = Server.CreateObject("CDONTS.Newmail")
mail.From = janki@yahoo.co.in
mail.To = sender@yahoo.com
mail.Subject = "Subject"
mail.Body = "newsletter"
mail.AttachFile = "C: est.zip"
mail.BodyFormat = 0 'CdoBodyFormatHTML
mail.Send
Set mail = Nothing
this code is not working please help.....

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

How Do I Use CDONTS.new To Send An Email With Attachment?

Can someone give me some sample code to use CDONTS.new to send email with an attachment?

I've got sample code from the following website;

http://msdn.microsoft.com/library/e...sp?frame=true

But, I'm having trouble GETTING the relevant field from my HTML form! I can't seem to be able to get the field property. It just comes up as a blank.

View Replies View Related

How To Send Name Of Email Sender Using CDONTS.

I'm not new about send email with CDONTS. But one thing I don't
know.. How to send name of email sender with email. As All command
I used to use is as follow.

Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From="tom@hotmail.com"
myMail.To="paul@hotmail.com"
myMail.Subject="Hello :-)"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send

when the reciever recieve email. Such as in hotmail box. It will show
tom@hotmail.com as sender. But I want it to show name such as
...Tom Hariton not tom@hotmail.com But I don't know that command
to add in the script.

View Replies View Related

How To Send A Mail With Atachment By CDONTS?

i am devloping a carrer page. i want 2 give the facility 2 user to upload the resume and send to the mail id. for example in yahoo mail. one can attach resume and send to the desired id. i want to do it in cdonts. so can anybody help me?????

View Replies View Related

Problem Using CDONTS To Send Mail

i have create a web pages which is a register form for customer, and then when the customer fill up the form and click submit, it will send a mail to the customer for comfirmation. below is the coding i use: Code:

View Replies View Related

How To Send Hyperlink In CDONTS Email

I am trying to send and hyperlink thru my CDONTS email, does anybody know how to send hyperlink in CDONTS email,

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

CDONTS To Send Order Form To Emails

I know this question is stupid. But i need some advice for this. I
am trying to develop a website, which will allow the user send to order form
to the admin email. I am planning to use the CDONTS component method.
Can I just to localhost server to test, whether the form can be send
up to the admin's email. Or I must have the Hosting server to do that. Can
Anyone suggest me, how to I test my scripts can be successfully run (at
localhost), before I host it on the Web Servers.

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

Using CDONTS To Send Japanese (UTF-8) Email Message

I'm having no luck sending an email message from an asp page with UTF-8 encoding so that Japanese characters can be correctly rendered.

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 Do I Install/find SMTP To Send Web Mails Using CDO/CDONTS In XP Pro?

I want to send e-mails from my asp pages but don't know how to achieve that. I have tried to create CDO/CDONTS server objects but without luck. I guess I don't have SMTP installed or not configured appropriately.

Can you help me here? What do I need to do (and if complicated how is it done) to get an SMTP server up an running?

View Replies View Related

Send Email By Cdonts And Want To Get In In 1255 ISO-Logical Encoding

I work with asp and send email by cdonts and want to get in in 1255
ISO-Logical encoding.

every email i got the numbers shows backwords , i need to goto to
encoding and replace to ISO-Logical 1255

how to do it right?

View Replies View Related

Cdonts Email Script Won't Send Email

i used the following script but it won't send the email. any suggestions why?

<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing

%>

View Replies View Related

Doesnt Retun All Columns

I have a query in ASP that does a select * from table
It doesnt retun all columns!
When i use objRS("columnname") I get blank. This only effects some colums and I fix it by using

select *,missingcolumn1,missingcolumn2 from table

View Replies View Related

SQL Db Doesnt Support The Cookie

I wrote the code for Members of Register. and i use cookie in this code, My database is SQL server. SQL server dosent support the cookies in my codes i dont know why this cause but my codes are working without any cause .

View Replies View Related

Why FileSystem Doesnt Work Wit My IIS 5.01 On XP

I have got a problem wit da FILESYSTEM in ASP coding. Before I use window 98 installing PWS. Everything works fine....

And now, I use Window XP professional ( Laplop ), everything is updated ( Service Pack, .NET component, ASP.net stuff...

All my ASP code with FileSystem which used to be properly ran cant be executed on my XP server.

There is no message error on da page, but the browser icon keeps spinning and da content is blank, it means u dont see anything happens. I wanna ensure dat all da code is right, cos it work properly with PSW and other servers. I even tested with a simple code, but It still doesnt work..... Code:

View Replies View Related







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