Email Using CDONTS Not Working,though It Is Installed

I ran some script and confirmed tht CDONTS exists on the server...which runs on Win2k and has IIS 5.0 When i run my email script,no error is displayed ,but i NEVER get the emails im trying to send. What could be the problem.

View Replies


ADVERTISEMENT

Cdonts Email Form Not Working.

Can anyone take a look at this code and see where I may be going wrong?

************************************************** *
html page:
<form method=Post action=get.asp>
valley secretary<br>
<input type="text" name="t1" size="20"><p>
<input type=submit value=Submit></form>
************************************************** *
asp page:
<%
Dim t1name,t1
t1name = "valley secretary"
t1 = Request.Form("t1")
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "kklimarchuk@supremecouncil.org"
ObjMail.From = "kklimarchuk@supremecouncil.org"
ObjMail.Subject = "Form Submission"
ObjMail.Body = t1name & vbcrlf&_t1
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You"
%>

Here are the two pages html and calling the asp. As you can see I am new to this. I also had our Network Admin make sure CDONTS was installed correctly on IIS. Any help would be awesome. I have been trying to create an email form for months now......

View Replies View Related

CDONTS Text Based Email Message Not Working

I'm trying to send email through a form I created and everything works except the email portion. It's not sending the text message. Code:

View Replies View Related

Check ActiveX Control Is Installed (and Working)?

How do I tell if an ActiveX control is installed (and working)?

View Replies View Related

CDONTS Not Working

I'm using IIS 5 on a win xp machine for all my testing, before I upload to our live server. I've installed the SMTP service and it's running with no errors.

Dose anyone know anything about the above set-up not supporting "CDONTS.NewMail" for sending email using ASP..?

I get the following error message: "Server object, ASP 0177 (0x800401F3) Invalid class string".

View Replies View Related

CDONTS Not Working

I have set up a simple form that takes a users email, name, address etc. It is working fine when I test it using various email addresses with a yahoo.com or hotmail.com etc style address - but when I test it with a .ws ending email (a valid account), the message never arrives at its intended location?

It seems to only work occasionally - it's not consistently working? Does anyone have any ideas why this could be?

View Replies View Related

Mail (CDONTS) Not Working

can anyone see why this wouldn't work...it's driving me nuts

Set objcdmail = Server.CreateObject("CDONTS.NewMail")
objcdmail.From = "me@mydomain.com"
objcdmail.To = "me@mydomain.com"
objcdmail.Subject = "test"
objcdmail.Body = "testing"
objcdmail.send
Set objcdmail = Nothing

I have copied this from another page that I have. The original page takes
the details from a form on another page, so the results above are all
request.form("whatever") etc, and the original works!!

but if I try to put fixed values in as above it fails to work and I can't
see why?

I've even tried a response.write to check the values..and they look right,
but no mail is sent

I'm running win XP pro but have taken the CDONTS.DLL from my win 2000 pc and
done the regsv32 etc etc

maybe I should try to use CDOSYS but

a) I haven't a clue how and so
b) I copied a script directly from a help page which didn;'t work either!
c) the eventual host server is running NT4

View Replies View Related

Working With Unicode E-mail Using ASP And CDONTS

Can anybody tell me how to send unicode mails using ASP and CDONTS.

Here is what I tried but it will display ??? for special characters in outlook.

I want to send email in lithunian and russian languages.

MY Server is MS 2003 running IIS6 .....

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

CDONTs - Problem Formatting An Email, From Form To Email

I am having a problem formatting an email message which comes from a form.

I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.

The code for my processing page is below:-

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

Email Through CDONTS Using ISP Email Server

I am using CDONTS component to send email in ASP.

The code is some thing like this:

Dim Mail
Set Mail = Server.CreateObject("CDONTS.Newmail")
mail.From = "abc@hotmail.com"
mail.to = "xyz@hotmail.com"
mail.subject = "Test Email Subject"
mail.body = "This is Email body message"
mail.send

Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".

View Replies View Related

Email All Not Working

I have a .asp page which returns a list of people according to a search. When the page is built by the apps server, it loops through the email addresses and puts them into a mailto href.Everything works fine for most of the time, but if the search returns a large number of record (600?) it stops working, with no error.Is there a limit on the number of character in an href? If so, how could I get around this problem?

View Replies View Related

ASP Email Form And CDOSYS Ain't Working

I contacted my hosting people and they said they're running Windows 2003, which uses CDOSYS and not CDONT. So, I followed the advice on the sitepoint site for converting to CDOSYS and have concocted the following script: ....

View Replies View Related

Cdonts, Not Getting The Email

what does it mean when I don't get an error, but I also don't recieve the email?

View Replies View Related

Email By CDONTS

I'm doing a website for a Japanese client and he needs to send out batch emails to his subscribers every month. So I used CDONTS to create and send the emails.

The problem is when I send out the emails in my company's internal server,everything turns out fine but when I use the external mail server, the Japanese email suject turns garbled. I've been trying to get this done for ages and my deadline is nearing now.

View Replies View Related

Email Through CDONTS

I am using CDONTS component to send email in ASP. The code is some thing like this:

Dim Mail
Set Mail = Server.CreateObject("CDONTS.Newmail")
mail.From = "abc@hotmail.com"
mail.to = "xyz@hotmail.com"
mail.subject = "Test Email Subject"
mail.body = "This is Email body message"
mail.send

Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".

View Replies View Related

CDONTS Email To AOL

I'm having an issue sending email to AOL accounts using CDONTS on my server. The emails always fail. Has anyone else had this problem? Email is always delivered to other accounts problem free, I just dont know why AOL is rejecting the mail.

View Replies View Related

CDONTS Email

I am trying have a feed back page and created an ASP page to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer") .

View Replies View Related

Email Using CDONTS

I am trying to send an email using CDONTS, and I am having troubles with newlines. There was a past thread a while back that said to use vbNewLine to insert a break in the message, but I still can't get it to work.

I used vbNewLine, vbCrLf, chr(10) & chr(13) and my text still continues to flow right along. I want to keep it plain text rather than HTML.

View Replies View Related

CDO + CDONTS Email Routine?

Just curious... Some webapps that I develop could be deployed on older NT
systems OR Win2K3...

Is there a simple test for CDO/CDONTs that I can use in code so I could
implement both routines and use the one that's existing on the server?

View Replies View Related

CDONTS Email Not Sending

my CDONTS email isn't sending.. I think the code is set up correctly but I'm not positive. Is there a way to specify a mail server, if necessary? It seems to be going through without a hitch but the emails are never arriving, to any box I send them to. So perhaps our server needs some sort of authentication before permitting outgoing mails, I'm not really sure. Is there a way to check this?

I have our form set up on a standard html page, with a "action=process.asp" command..

here's the process.asp file..

<%
'Option Explicit
Dim objIndexMail
Set objIndexMail = Server.CreateObject("CDONTS.NewMail")
objIndexMail.From = Request.Form("email")
objIndexMail.To = "me@myemail.com"
objIndexMail.Cc = "me@myhotmail.com"

objIndexMail.Subject = "New Inquiry from" & Request.Form("parents")

Response.Write("Ready to create body")

objIndexMail.Body = "bunch of body text here"

Response.Write("body Created")

objIndexMail.Send
Response.Write("Sent")

Set objIndexMail = Nothing
Response.Write("Thank You")
%>


it gets to the thank you message every time, but nothing ever arrives in my mailboxes...

View Replies View Related

Email/CDONTS Question

I am rather new to cdonts and using email. I am planing an email site, however I am not sure how the email is stored on the server nor do i know how to read it from the server. I would guess that it is stored in a database, if so how would it be populated?

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

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

Email Options With CDONTS 1.2

I am trying to help out my friend by creating a invoicing page in ASP for his business, basically consisting of 3 pages :
(no sensitive info will be asked for.. )

1.info submission page -cust enters his info
2.info summary -cust info summarised plus quote calculated
3.invoice page -quote emailed for invoicing.

At present I have made the initial set up and it works fine. However, I am using CDONTS 1.2 to email the gathered cookies with the following code:

View Replies View Related

Formatted Email Using CDONTS

I am using the following set of commands to send a formatted email:

"AllTopQuestions" actually pulls out formatted text (including all html tags and inverted commas). - - If this text is ascii and not formatted, the mail goes out fine. But, once the text in the database gets formatted, the outgoing mail contains no body at all. Code:

View Replies View Related

Cdonts Email Form

I made an contact form, and an asp script for the email, but my messages get sent to the mail/queue folder in inetpub. I have a hunch it has something to do with the email address I put in the "from" area since it's just made up.

I'm using cdonts object, and registered the dll, and it works fine. I also opened port 25 on my router, and tested if it really was open, and it is. Code:

View Replies View Related

Sending Email Using CDONTS

Can someone review and give me some hints. Also when I define my mail object using, "Dim objCDOMail As CDONTS.NewMail", I receive an http error. Code:

View Replies View Related

CDONTS Doesn't Email

I have a script that I've been using for years that emails my customer a confirmation, and bcc's me a copy. It's just a standard CDONTS script, nothing tricky, and I'm sure that it's scripted correctly. I've been having intermitant problems for the better part of a year where on occasion I won't get the email, but the customer will.

This problem seems to come in spurts where it will 'be down' for a few days, and then it will work again, with no change by anyone. Most of the time when it goes down, I get an email about a day later that is a bounce, saying that my address doesn't exist, and it's being returned to sender (which is me, at the same address!). I think there is something screwy with the way my provider has either our server or email server setup, but after at least a dozen trouble tickets, they don't seem to have fixed anything.

Has anyone ever seen this? Bottom line is what could cause the script to work every time to an outside address but intermitantly not to one within the domain?

View Replies View Related

Email Attachment Using CDONTS.

how to restrict email attachment file type as well as file size? If anybody has idea about it.?

View Replies View Related

Sending Email Using CDONTS Obj.

I'm running Win2K... and have an ASP script that uses the CDONTS object properties to send email from a web-enabled ASP form. Problem is, the page is loading fine, with no errors. However, when I check the '/queue' folder in my Inetpub directory, I see all my mail queued there. It never gets sent. There are no emails in the '/badmail' folder, or in any other folder in '/mailroot'. What gives?

I'm kinda vague on how SMTP works exactly, in Win2K. What I'm trying to do is to send email over a LAN to a client. I want to avoid installing MS Exchange Server if possible. Am just trying to have a client on the LAN send email, and then have the client's Outlook retrieve said mail. All this done offline, without ever connecting to the Net.

View Replies View Related

SOS! Bulk Email With Cdonts

I am building a web script that will enable a user to compose an email and send it to potentially thousands of subscribers on their mailing list from a DB. The ASP script will use CDONTS or Jmail.

Problem is that I told my host about the app and they say they only allows 1000 emails to be sent daily from my server. The script will possibly send thousands of emails daily. Any body have experience with using ASP for bulk emailing, and how to get around server limitations?

View Replies View Related







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