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
ADVERTISEMENT
I have an .asp page sitting on the intranet that I want to, when necessarry, send emails to people. All my code is fine, no errors whatsoever however, if the person to be emailed has an EXTERNAL email address they receive an email form my system fine BUT if my user has an INTERNAL email address they are not receiving mail from my system.
View Replies
View Related
how to send an HTMl email from an external server. I am trying to Send email using CDOSYS
this i what i have tried but cant get it to work.
View Replies
View Related
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
I am having problems trying to send emails using IIS 5.1 and ASP on a XP Pro box
I think that it is a configuration problem in my SMTP setup
I can send emails using Telnet but when I send via ASP they all end up in the Queue folder
ASP is not generating any error messages
Have tried code using CDO and CDONTS but I do not think it is a code issue
Sometimes I get a system event error saying that cannot do a DNS lookup on my send address
Any suggestions please
Properties for SMTP on my system:
General IP address : all unassigned
Access Relay: {my computer IP address}
Delivery Advanced Smart Host: mail.bigpond.com
Delivery Advanced Fully qualified domain name: {my computer name}
View Replies
View Related
I'm using CDO object to send email but it doesn't send any email and it does
not give an error.
My code look like this: .....
View Replies
View Related
It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?
View Replies
View Related
My question is do ASP need to declare smtp server when send email using CDonts function?
View Replies
View Related
I am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.
THE PROBLEM:
What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:
Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.
I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.
The CDOSYS part of my ASP script is setup as follows (I am using Javascript with ASP btw):
Code: .....
View Replies
View Related
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
View Related
Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.
I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.
Oh and I would prefer to use ASP if thats possible.
View Replies
View Related
i'm a begginer and need some help with editing some code.
I have a simple form which contains an email field. When a user types his email address and submits the form I want to send an email to him. How do I do that?
View Replies
View Related
I am having a problem writing ASP script to send email from a form. I am setting up a order form online and need to send the information from form to my email address. I copied the script I saw on an article on this site. I have copied my exact code below...what am I doing wrong.
<html>
<body>
<%
Set Mail=Server.CreateObject(“CDONTS.NewMail”)
Mail.To="MY EMAIL ADDRESS”
Mail.From="My email field"
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.”
View Replies
View Related
Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I'm not running the IIS SMTP server?
We are running on Windows 2000 SP4 with IIS5.
View Replies
View Related
I have 2 part question: I have an html form: https://ws13.ipowerweb.com/eoscorg/pre-op_form.htm I created that has to have SSL on it. The form also includes a confirmation page to the user after the submit button is hit. However, I have been informed because I used Front Page to create the form, the SSL doesn't work with Front Page's form handler. So I want to know if I can use ASP.NET to create the form and without any conflicts with SSL? Also, I want to find out if all the form objects (form fields, text box fields) have to be coded as ASP.NET objects or can I keep the html form objects and just use ASP.NET code to send the form to an email address and to then send the confirmation page to the user? In other words do I have use ASP.NET code for the whole form?
View Replies
View Related
Can I send a form to the DB and email it at the same time? How do I do that?
View Replies
View Related
I have a very big form which should be filled up and when submitted should sent as an email exactly in the same format (html). I use CDONTS to send mail. sending mail works fine. In the Mail body I concatenate every line as given below. As the form is very big I find this way to be very troublesome when there is any " (quotes) or whenever my form need to be changed.
I want to know whether is there any simple way to send a big form in the html format to a mail id using cdonts.
View Replies
View Related
I having a problem with the CDO syntax I guess. Here's the code :
<%
response.buffer = true
message = "The following data was submitted:"
message = message & vbcrlf & vbcrlf
for each item in request.form
message = message & item & ": " & request.form(item) & vbcrlf
next
'Create message object
Dim objMessage
Set objMessage = Server.CreateObject("CDO.Message")
objMessageTo = "billy_fong@hotmail.com"
objMessageFrom = request.form("email")
objMessageSubject = "Message from the website"
objMessageBody = message
objMessageSend
set objMessage = nothing
response.redirect "confirm.asp?msg=" & Server.URLEncode("You have successfully sent your quote, thank you")
%>
The error was on the objMessageSend. What's wrong with that? Actually there was another form file which called to this asp file.
View Replies
View Related
I want to send the data from a user's form input in an ASP email. For instance, shen the user submits their name and email address on a form, I would receive an email with those fields mixed in with a plain text message. How can I do this?
I have programmed extensively in other languages, but not ASP (our company is switching from ColdFusion), so I will need my answer in fairly introductory ASP terms.
View Replies
View Related
try to send web form data to one person email (administrator) and also copy the sender, does anybody provide asp prototype?
View Replies
View Related
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
I been trying to send a Html email with a form included. I tryed by including <form> and <input> as usual in Html code. What happen is that the email is send and the form are seen but the input button doesnt work right, in hotmail , msn, I mean its not active
Any idea?
View Replies
View Related
i already create a code to request all fields from a previous page form using the next function y separate the fields with the value of each one. Code:
View Replies
View Related
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
I created a feedback form for my website that has only 2 required fields. When you submit the form it calls my asp page which puts the information in a database and then sends me n email with the information that was entered into the form. The problem is that the form only has two required fileds, and if the remaining non required fields are left empty when the asp page is called it does write to the data base, but does not send me any email. However if I go back in and put somethng in every field in the form then when I submit the form and my asp page is called it writes to the data base and sends me an email with the all the information I entered in the feedback form. Is there a way to tell my asp page that it is ok to send the email even if the non required fields are left empty? I really do not want to have to go back through the form and put default values in for each area of the form? Also is there a way to have an error displayed if the email is not sent? My asp code is below....
View Replies
View Related
I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.
View Replies
View Related
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
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
View Replies
View Related
can we send email from our internal server without using an external SMTP provider?
View Replies
View Related
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
I've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.
So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.
Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78
Code: ...........
View Replies
View Related
Is it possible to set up server-side mail services such that when someone
e-mails to a certain address, the contents attached to that mail are
processed and the processed content is returned to the user, again, as an
attachment?I installed a server-side component for managing graphics. "Wouldn't it be
nice," thought I, "if untutored staff could email graphics to a certain
e-mail address to have them resized and returned to them.")
I understand how to handle the graphics processing and the sending. I don't
understand how to set things up so that e-mailing to a certain address will
trigger the start of an application. Ideally you could do this all within
ASP. Is this possible?
View Replies
View Related
I've got a form with some user-submitted data in it. I need to post this data to an external gateway script running on an entirely different domain (via HTTPS). I then need to get a response back from that page and display the results on the original page to the user.I'm guessing that this is identical to what is done with merchant gateways for e-commerce, but I need to do this without any components.
View Replies
View Related