I am using CDOSYS in my ASP code for sending automail. But sometimes it gives an error like
error '80040211'
with no error description. Please suggest something how to handle errors in ASP. How i can trap this error and display an appropriate message to the users when this error occurs.
May i know isit can use asp to send an automail when customer fill up the registration form. i need to send a automail to his email verify the customer details. is it any free source code to write?
i have a script that allows user to register and then it is supposed to send an email for them to complete registration, the process of registration works ( the data can be seen in the database ) but it errors on submit when it tries to send an email out
I can go into the database and change the confirmed field to yes and that allows the user to log in but they cant get the email or login with this error pending - Code:
I am using this code to send a mail from a feedback form page, but this code is not working. can anybody tell me what mistake I am doing . My requirement is , the message of feedback form will go as a content of a mail to a specific person.
<% Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="emailid" Mail.From="emailid" 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 %>
I have a mail script but don't know how to catch any errors so that it will display email address that failed to send. Here is my code...
Dim mail Set mail = Server.CreateObject("CDO.Message") mail.From = "from@mail.com" mail.Bcc = "bcc@mail.com, bcc2@mail.com" mail.To = "to@mail.com" mail.Subject = "This is the subject of the email" mail.HTMLBody = "I am the message that will be displayed in the body" mail.Send() Set mail = Nothing
How can I display a message that says that there's an error with sending the mail?
I've used the search tool and found several pages regarding sending faxes under ASP, but they all seem to suggest using some internet faxing service.
I don't know if this is possible, and it probably isn't under XP without additional software. (Small company, simple intranet site built on IIS.) I have a PDF form for an agreement for our customers.
Now, I already have a page setup where our reps simply input the customer's email address and it will send the form as an attachment. What I would like to do is make another page where the rep just puts in the customers phone number and it will fax the same pdf to the provided number. Is that possible through ASP on XP?
I've been looking around for some solution and I found this:http://support.microsoft.com/kb/303647 for W2K.
I am looking for some routines or methods (if available ) in ASP where i can send a fax through ASP by pulling the Fax number of the sender from the DB.We have a Faxserver which is WinFAX.
I saw a few softwares but there is some cost involved in it.If anyone knows how i can send a fax through ASP without paying.
Does anyone know how I can integrate an ASP application (made by myself) with another application that sends fax? I've seen many programs, but I need something that needs only few code rows so that I can integrate these rows in my ASP pages .....
I have a few queries regarding on email. Currently my web hosting provider uses Windows 2003 Server IIS 6.0 to host my ASP websites. In my own PC, I am also currently using Win XP Profession IIS 6.0 to run my ASP files.
I would like to create a pogram that would automatically sent out an email. But the problem is I have know that CDONTS do not work for Windows 2003 Server or XP Professional. It only currently work for Win 2000 Server.
Please help and perhaps show me the code of sending an email out automatically. Is there a code that can work for all servers?
I have a form which will be processed by being sent to an ASP page. I would like the ASP page to take the data from the Request.QueryString (which I know how to do) and format it so I can have it emailed to me in a nicer format. My problem is that I do not know how to have ASP send an email. I know how to send an email using the mailto: protocol by making it look something like the following:
However, this will usually take the user to their default email client and ask them to send an email by putting the specified subject and message in for them, but wait for them to do any desired editing and click their send button. I simply want the email to be sent straight from ASP. Is this possible?
I've been using CDO to send email from my web server for a while now but today the emails aren't being sent. They are in the queue folder on my server. I've restarted SMTP service but that didn't work. How can I get these sent?
I want to write a code for sending mails using CDO object in ASP. can it is possible to send mail without mentioning name of smtp server.I am using 2k3 O.S. Also one more problem i am facing , i want to send a mail in HTML format, when receipient receive that mail some times it shows in proper HTML formated mail but some times it not showing(it just shows html tags in mails) . I am using .htmlbody property of cdo object.
Im have made up a form that sends the information via email to an email address. Whenever I test the form though, the email does not display in HTML format. The email displays the html code but I want it to display as an html page.
I am trying to send an email to someone as the person clicks on a link...i have been trying the CDO, CDONTS, JMail and other methods but none of them work!!an example is as follows:
Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.TextBody="This is a message." myMail.Send
I' m using opertion system XP PRO,i have instelled the IIs 5.1. im trying to simulate sending email to my outlook express but it'snt working,somebody can tell me if i need to install any other componente?
how to conigurate my smtp(what is my host name,how can i find it)?
I need some advice on how to write an email script in asp. I am farely new to asp but so far i have manage to understand most of the materials i've covered for this language except for sending emails from a form.
I've read the following tutorial ->URL twice, but i can't get the script working.
What am i doing wrong?
I am working on my personal box at home, do i need to have a mail server running? do i need to have addtional asp component install?
i use a personal web server and i'd like to send a mail into an ASP page. Usually, i use CDONT component but it seems it does not work on Personal Web Server.
Could someone advise me on the best way to send email either using asp or html? I'm not sure which way would be best. Basically I have a page confirming that data has been entered into a database and displaying what has been entered. I then want to have a link to email the information to someone. The email address has already been entered into the database.
I have emails being created and sent using CDO and it is working well but, the email is being sent twice. I only call the .send once (per person) but it comes through twice. Code:
I need to send a URL from a form to another .asp page through the querystring. I can't use request.form because I am uploading images at the same time and it isn't working. It seems to only work when I do Request.Querystring.
So is there a way to do that, I keep getting errors whenever I try I think because the URL has characters in it that messes it up.
like: http://www.domain.com/today?today=321%321
But something like this works fine: http://www.domain.com/today/
I asked how to send an email using CDO instead of CDONTS and got several responses. They were all good, I tested the code and it works well. However, I forgot to mention that I need to set the email body to be in HTML rather than in plain text format. Would appreciate if someone could post a complete example on how to do this.