CDO Mail Object

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:

View Replies


ADVERTISEMENT

CDO Mail Object

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?

View Replies View Related

CDONT Mail Object

I am just developing intranet site for some company, which have internet connection 24 hrs.

Now I have one asp page which ask for feedback if user wants to give, which in turn comes to my mail account.

If some one can guide me in this situation what configuration I should set for the intranet Site on IIS 5.0 (Win 2000) to workaround this problem.

The code which I am using is by creating object of ....

View Replies View Related

CDONTs Mail Object

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"

View Replies View Related

CDONTS Mail Object

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.

View Replies View Related

Send Mail Object

This is what I got

Code:
<input type="submit" name="Submit" value="Submit" class="noDecor"
onClick=<%for i=1 to request.form.count
Message = Message & request.form.key(i) & ": " & request.form.item(i) &
vbCrLf
Next

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?

View Replies View Related

How To Send Attachment Using ASP Mail - CDO Object

<FORM id=FORM1 name=FORM1 action=Upload.asp method=post
encType=multipart/form-data>
File 1:<INPUT type=file name=FILE1>
Description 1:<INPUT name=DESCR1><BR>
<INPUT type=submit value=Upload!>
</FORM>

How to attach the file selected in Input type=file .

how to attach that file & send mail using CDO in ASP..

View Replies View Related

Sending Mail From ASP With CDONTS.NewMail Object

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.

What is the problem?

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

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:....

View Replies View Related

Mail Insertion Hack On Send Mail Form

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:

View Replies View Related

Sending Mail Using ASP/VBScript To Exchange Mail Box

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?

View Replies View Related

Invalid Mail Address Gives Error In CDO Mail

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


With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With

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

.Send
End With

View Replies View Related

Arrays Of Dictionary Object Stored In An Object?

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.

View Replies View Related

Can VB Com Object Used By ASP Get Events Fired By An Internal Object?

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?

View Replies View Related

Object Reference Not Set To An Instance Of An 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:

View Replies View Related

Recordset Object Vs Command Object

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?

View Replies View Related

Sending E-mail To Different Mail Box!

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?

View Replies View Related

Asp Mail Without Using A Mail Component

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.

View Replies View Related

"Object Variable Not Set" When Object Is Neither Empty Nor Null?

I have a custom function for checking if a variable has been set or not to make the code easier to read, as well as to keep it shorter.

However, I'm getting errors that "Object Variable not Set", even after I've already checked for null and empty. Code:

View Replies View Related

"Object Reference Not Set To An Instance Of An Object"

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:

View Replies View Related

Mail And CSS

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 ....

View Replies View Related

Mail

I have to create a send mail code after registration had taken place. i want to know how to code for that ....

View Replies View Related

CDO Mail From ASP On IIS 6

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.

View Replies View Related

Mail Through ASP

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

View Replies View Related

Mail Api For ASP

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)

View Replies View Related

Cdo Mail

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?

View Replies View Related

Asp Mail

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.

View Replies View Related

Mail In ASP

how can i send the mail to multiple receipients like yahoo.mail or hotmail.

View Replies View Related

ASP Mail

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

this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"

I looked at code that works and its the same why dosent this work.

View Replies View Related

Mail With ASP

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?

View Replies View Related

Receiving Mail

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?

View Replies View Related

ASP E-mail Question

My mail server and web server are 2 different servers.

Both servers run win2k.

Therefore the web server does not have an SMPT server.

ASP throws the Server.CreateObject failed error when using a CDONT.NewMail object.

What I need to be able to do is configure IIS or ASP on the web server to look at the mail server for the SMTP server.

Is this possible? If so, how is IIS/ASP configured for this?

View Replies View Related

Mail Script

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>

<body bgcolor="#FFFFFF">
<img src="images/logocomersus.gif" width="194" height="57">
<br><br><b>Comersus Diagnostics and Tools</b> <br><br>
<body>

</body>
</html>

View Replies View Related







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