Sending Form Via Email - CDONTS / SMTP

I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.

When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...

just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.

View Replies


ADVERTISEMENT

Sending Email Without SMTP?

can we send email from our internal server without using an external SMTP provider?

View Replies View Related

Sending Email With Smtp Auth

i've been looking EVERYWHERE and I can't find anything on how to send an email within asp. But not just an email, my smtp server requires authentication and i haven't been able to come across anything that supports sending username/passwords.

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

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

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

Email Sending Problem With CDONTS

Hey all, I'm having trouble getting email to be sent using CDONTS. I've done this many times before with no problem, but this one just seems to want to be a pain..

The site is just on an IP address right now, but it still has access to a mail server and all. Everything seems to go correctly, but the mail server has no logs of cdonts trying to send anything. the script isn't generating any errors though.

<%@ language="VBscript" %>
<%

'Option Explicit

Dim objIndexMail
Dim body

Set objIndexMail = Server.CreateObject("CDONTS.NewMail")
objIndexMail.From = Request.Form("email")
objIndexMail.To = "my email address"
objIndexMail.Subject = "New Inquiry from" & Request.Form("parents")
Response.Write("Ready to create body <br><br>")

body = "bunch of body text here"
objIndexMail.Body = body

Response.Write("body Created <br><br>")
Response.Write(body & "<br><br>")

objIndexMail.Send
Response.Write("<br><br>Thank You")

%>

Anyone see any problems? there are no messages waiting to be sent in the outbox, and nothing is getting delivered to the badmessages folder either..

View Replies View Related

Sending CDONTS HTML Email Issue

I have a web form where a client can select which site members to send
an email to.

This form is populated from the contents of the member table, so the
form can have 0-x names listed on it depending on member expiration dates.

When the form is submitted, the code loops through the form contents and
sends an email to those members that meet the selected criteria.

All this worked perfectly when I was sending text emails, but since I
changed, it sends the message correctly, but the last person gets
everyone else as well. For example, if I have three members (mem1, mem2
and mem3) to send emails to, here is what happens

mem1 gets the correctly formatted message

mem2 gets mem1's correctly formatted message plus mem2's message - one
right after the other. Code:

View Replies View Related

Send Email Through Web Form, Using External SMTP

I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working after three years of working fine. It doesn't error, they just don't receive the mail any more. I've tried CCing myself in the script and can confirm the mail is not getting through. The script itself is tried and tested and syntaxially correct, and it is hosted on a windows 2000 server which has not been changed or reconfigured at all recently.

I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.

The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!

I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.

Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!

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

Sending Email With Values Form A Form

<%@Language=VBScript %>
<%option explicit%>
<%
MESSAGE = (Request.Form("type"))
MESSAGE=MESSAGE & vbcrlf & "Name" & (Request.Form("name"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("address"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("handphone"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("phonenumber"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf & (Request.Form("comments"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf
MESSAGE=MESSAGE & "____________________________________________"

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

objMail.From =Request.Form(email)
objMail.To = "icepricessa@hotmail.com"
objMail.Subject = "Business/Career Enquiries"
objMail.Body = ""&MESSAGE&""
objMail.Send
Set objMail = Nothing
%>

but somehow i'm not able to send the mail....

View Replies View Related

Sending Email Via Form Using Asp.

I am quite new to using asp. I want to use it on a website to send email from a form.
I Found the following code on a website to help me. I have a local SMTP server installed. I have attempted to run this test form in a browser but i am getting the following error message.

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/SendMail.asp, line 16

800401f3

Here is the code i am using:....

View Replies View Related

Email Form Not Sending

It seems that my email form is working correctly but I dont receive an email. I look into the mailroot/Queue folder and see the emails.
For some reason the emails are not being sent off. I dont think its a problem with my email form... I think its a server configuration problem.

View Replies View Related

Sending Email Via Form

Is there an easy way to use a form and send the info to an email address using ASP? I have tried using some free scripts but they don't want to work for me.

I am getting an error message that the form is empty. Maybe it would be better to program something from scratch.

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 After Form Submission

Can somebody tell me the link that have code that sends email to the user after form submission with verification key?

I would like to do email verification after form submission ....

View Replies View Related

CDONT Form Is Not Sending Email

I copied a CDONT form from a simple request page I use on another web-site and made it more complex (or simply longer), but I am not receiving the emails anymore.

It takes the form and moves on the request received page without any errors, but the email never arrives I changed the email and I moved the form to a different server to no avail.....

View Replies View Related

.asp Sending Form Info To Email ?

I am working on a little project and my knowledge of .asp is very small. From what I am looking at it looks like my form should be sending correctly. Can anyone help me out w/ some code for an sendfile.asp that could send this form information to an email address?

I am copying the exact html from the page onto here...sorry if its a little long its really only like 6 different inputs....

View Replies View Related

Sending An Input Form To An Email

i have fixed my code and there was no error at all, it executed well and the msg "The quote has been sent" appeared. But although it was working, but it seemed that it didn't really sent the Firstname and Address to the email. Why? here's my code :

View Replies View Related

Sending Email Attachment From An Asp Form

I am trying to send an email attachment using an asp VBscript from a .asp form. The script appears to be working fine however no email comes through to the recipient. I have tried the script without the attachment and it works fine. Code:

View Replies View Related

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

HTML EMail Form CDonts

How to I wrap this to process the information as HTML EMail?

I have enabled all the HTML options in the script but I still get a text email:....

View Replies View Related

Contact Form Sending Through Email Using Cdosys

I am new to asp i am facing in sending the contact form sending through email using cdosys the following is the code server space work on Microsoft Windows 2003 w/IIS 6.0.

When i press send button i get a error as The page cannot be displayed and HTTP 500 - Internal server error .....

View Replies View Related

Sending Email With Attached File From Form

i want to send an email from a web app with an attached file. the form is for users to enter email addresses to whom they want the attached file sent. I'm using ASP and CDONTS mail. Code:

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

CDONTS SMTP

I'm having problems getting the virtual SMTP server (in IIS) from
sending an email message that was created from an ASP script. The messages
are stored in the InetspbmailrootQueue directory but the computer isn't
sending these messages to the Internet.

View Replies View Related

SMTP And CDONTS

I get the permission denied error, so I know its a permissions problem on the mailroot folder.

My question is then, if my site is being hosted, would it matter what the permissions
of the folder on my local computer are? Or would I have to call my host and ask him to make the appropriate permission changes?

And if you could tell me what exactly I need to ask/tell the host, if that is the case,
so that I don't have to call a million times.

View Replies View Related

IIS & SMTP Mail Sending

I tried to cend mails with CDONTS.NewMail and the local smtp service of the iis. It works. BUT I tried to send a mail to a invalid address. I got an email (like I configured at the smtp) but the badmail directory is allready empty! I nned the entries for a bounce-management!

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, Iism Smtp Issue?

I wrote a simple asp script that'll send an email to myself. Unfortunately, all the emails are stuck in the smtp queue. This happens when I try and send an email to addresses in our company domain. If I send to yahoo, gmail or anywhere else I do not have any issues..

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

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

Using SMTP To Send Email - The Only Way?

I was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?

View Replies View Related







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