I have an E-mail ASP Web form that is using a CDO Mail
Object. This form has to be filled out before the
customer can download our demo. Currently, the customer
fills out the form, clicks to submit and a message appears
to the customer telling them it was successful and to
click on a picture on the form to download the demo. My
problem is that many of the customer don't read the
message. I want to modify the code so that after the
customer clicks SUBMIT, the info is submitted and then the
download immediately begins without them having to take
further action.
What is the code I should add to begin downloading a file
after the form is successfully submitted. Here's some of
the code I am currently using:
I am running an ASP script on a SBS 2003 box. In the script there is a call to set up a CDO mail object, set its properties then Send the message. unfortunately the SBS box bugs out at the .Send command, with an error: 'Access Denied' what can I do to fix this?
When I sent the below statement in body of the CDONTs mail object it replaced the hyphens with question marks.Actual sent message: "Thursday, June 10, 1 - 3 pm" Actual recieved message: "Thursday, June 10, 1 ? 3 pm"
I am working with CDONTS mail object. The code doesn't give any syntax error; but, actually it doesn't work because I don't know how to give my local sever's machine name in the Mail Object's .From property. :P What is the machine name? Could any one give me the right format? Where do I know the machine name from? I tired by right clicking "My Computer" and seeing it's properties. But, I think that's not the machine name.
Set objMail = CreateObject("CDONTS.Newmail") objMail.From = "info@hartness.com" objMail.To = "info@hartness.com" objMail.Subject = "!!-Feedback Submission-!!" objMail.Body = Message objMail.Send Set objMail = Nothing %>> But it is not sending th form. Is it because I am using a onclick for the submit button or what?
I use the following code to send email from an ASP page:
<% Dim objSendMail Set objSendMail = Server.CreateObject("CDONTS.NewMail")
objSendMail.From = "abc@abc.com" objSendMail.To = "abc@abc.com" objSendMail.Subject = "Form Results - Get a Quote" objSendMail.Body = "This is the Body text of this test mail." objSendMail.Send Set objSendMail = Nothing %>
Of course, the the email addresses above are real on my ASP page.
After the above code is executed, I don't receive any email.
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
I'm using CDO to send mail to the site owner from ASP pages with forms. Recently one of my forms is occasionally sending email with what seems to be an insertion which is replacing the plain text part of the email with something else. Looking at the server sent email source, the hacked emails have the following:
Here's the scenario. I'm currently using cdosys/asp to send mail to our SMTP server. We use a product called MailFilter to check for SPAM. It doesn't work very well. If MailFilter isn't working cdosys also has problems and emails don't get sent. As these email are confirmations for customer's bookings this means lots of customers calling to see where their confirmation emails have gone. The root of the problem is MailFilter but that here to stay. So I had this thought of sending the message to a queue of some sort so at least they will get to the customer eventually rather than being lost for good. So here's the question:
Can I/How do I send messages to a mailbox on our exchange server using cdo.message?
I'm using CDO from my vb component to fire email. The problem is whenever one of the email addresses in to, or cc is wrong then none of the mails are fired even to the correct addresses. It gives an error like
The server rejected one or more recipient addresses. The server response was: 550 Relaying denied for <xfd@wre.com>
My code goes like this. Why is the mail server trying to look for the validation of email ids??I want that atleast the mail should be fired to the correct email addresses rather than no email fire. Can i achieve that.
Dim iMsg As New CDO.Message Dim iConf As New CDO.Configuration
Set iMsg.Configuration = iConf With iMsg .To = strToEmail .From = strFromEmail .CC = strCCEmail .BCC = strBCCEmail .Subject = strMailSubject If strMailFormat = "TEXT" Then .TextBody = strMailBody Else .HTMLBody = strMailBody End If If strAttachment <> "" Then .AddAttachment strAttachment End If If intPriority = 2 Then .Fields.Item("urn:schemas:mailheader:X-Priority") = cdoHigh .Fields.Update End If
I'll admit my ASP skills are very rusty, and come seeking help.
I'm currently using a dictionary object to store a multi-dimensional array.
I want to pass this dictionary object to an object, which holds an array of dictionary objects.
However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.
I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification.
I've now built a simple VB COM object which uses the VC++ COM object internally.
My question is, assuming the ASP page which loads the object does not immediately exit, will the VB COM object be able to receive the events from the internal object?
We are using .net 1.1 on windows 2003 server. This is we are facing in our production server.
When we are doing the load testing we are getting the bellow error. While the load testing this error is not coming frequently. When we run 20 threads for 3 mins we are getting this error message 2 or 3 times. But this line of code is executed by all the threads. Code:
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use the recordset to loop thru the recordset, update values from the recordset and then update the database by passing parmeters to another stored procedure.
I would like to use the recordset object but can it be used to pass a parameter to a stored procedure? Do I need to use a command object to open the records instead in order to pass the parameter to a stored procedure?
I would like to know if this can be achieved! On the form I a drop down menu that's called ("Escalation_type") the values are eta, hdtv, and supervisors. I have some ideas but I am not sure if it will work or not. If the use chooses an eta as a value I would like it to be sent a mailbox for exam: no@where.com. If they choose hdtv as value I would like it to be sent to a different mailbox. Can this be achieve by using the case statement or the if statement?
I'm looking for an asp code who can send an email without using a mail component. I started to write somethings using winsock but I don't have enough time to finish it.
A three-tier user authentication system was running without a problem for almost a year and now is suddenly dysfunctional. We don't know of any changes to any of the servers. It's quite maddening. The details:
1) We know the COM+ app is instanced on the COM+ server (Win 2000). The component graphic spins when CreateObject is called.
2) The proxy is installed on an IIS server (Win 2000) with delivers the interface, written in ASP, to the client PC.
3) These are the error messages displayed when a method of DAMS is called: Code:
Have created a contact page which uses CSS and am using asp mail object to send email on the page. However, I have encountered problems and think it might be down to the DOC type that am using ....
Our company has recently migrated from Windows 2000 servers to Windows 2003 servers. Since the move to IIS 6, I have been unsuccessful in finding how to configure the server to support CDONTS to send smtp mail.
I have used this method in asp pages for years without any issues, until 2003 server. I have even tried opening the smtp server completely, and still no luck. I can send mail using OE through the server, so I don't believe it's an smtp configuration issue.
I am facing a problem, I am using CDONTS for mailing, and the following Code: <% set sendMail=server.CreateObject("CDONTS.NewMail") sendMail.To="divyesh.shah@softsolvers.com" sendMail.Body="Hello Testing" sendMail.From="divyesh.shah@softsolvers.com" sendMail.Subject ="Test" sendMail.BodyFormat =0 if sendMail.Send then Response.Write ("Mail Send") else Response.Write ("Mail Not Send") end if set sendMail=nothing
%> I have two windows 2000 server, while running from one server i got the mail, while from the other i don't got the mail,on the second one the mail is dump in the mailrootqueue. is there is some problem with the CDONTS setting on the second server, or some other problem
I have a simple ASP app (not ASP.Net) that I need to send email from. Can anyone make a recommendation, and share why that's the best one? (cdo, msxml, etc)
I am trying to get cdo.message working on my home development machine, however, when I send it it appears to get stuck in the queue and never actually gets sent.
If I don't have a domain SMTP set (either alias or remote) then I get an error on page. But if I set these, the email just sits on the queue. I have been trying to work it out from other posts and forums, aspFAQ etc but with no joy.
Could someone supply a step by step guide to getting SMTP set up on a win2K pro machine and how to get these mails out of my servers queue and into the outside world so I can properly test code withing having to upload to my hosts server and get the email back?
We use a custom built mail system at work. It is an asp based webmailing system. It uses cdonts.When we try to mailout to our clients (as a group) about 1500 of them, most of them get the full email. Others get about a third of the email.
I made a form in which I send the visitor a link to my page but when the visitor gets that link in the mail it dosent send him to the page just says invalid syntax or something like outbound. I'm not trying to spam
I was wondering what is the best method for mailing with asp? There is CDONTS and ASP MAIL and something else. What do you guys recommend?
I want to send my mailing list of 315 (its a celebrity gossip ezine) by html/graphic way. SO when a user checks their hotmail, they SEE the html message (I think this is called "in-line viewing" and not to have it come as attachments. Is there any script I can run and try out on PWS?
I am generating Purchase Order from database. Then i send it to the supplier. I am using CDONTS to send mail. I am not sure that it was sent or not. So i need confirmation when they read it or received. How can i send a mail with acknowledgement?
I'm trying to create a mail script "not formmail" to email me a test message using asp. Could somebody tell me what's wrong with me script? it doesn't send me a message???. I'm using windows 2000 & mailenable email server.
<%@ Language=VBScript %> <% Dim objCDO Set objCDO = Server.CreateObject("CDONTS.NEWMAIL") objCDO.To = "4@yahoo.com" objCDO.From = "4@yahoo.com" objCDO.cc = "" Dim txtSubject txtSubject = "Test Test Test" objCDO.Subject = "Testing Email Script" objCDO.Body = txtSubject objCDO.Send %> <html> <head> <title>Comersus Diagnostics and Tools</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>