|
 |
asp_cdo thread: Email confirmation in ASP
Message #1 by "Nisha Nambiar" <nishanam@y...> on Tue, 24 Oct 2000 16:22:30 +0100
|
|
Hi
What I want to do is to send an email confirmation back to a company after
an order with all the order information & order details in ASP.
i have never done this but this is a common thing in web.
What can I use for this & how can I acheive this.
I would appreciate the help.
Thanks
Nisha
Message #2 by "RituKamal Aggarwal" <ritukamal@y...> on Wed, 25 Oct 2000 07:49:22 +0530
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C03E58.16703370
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
u actaully wants to send a email autoresponder to the person. I m sending u
one FEEDBACK.ASP as attachtment. just use this file it is Feedback forms'
auto responder, make the changes and use it accordingly, major changes
include smtp servers addresses etc and from and to addresses...
i hope it will solve your purpose..
bye and Have Colorful Dipawali ...
RituKamal Aggarwal
http://web.domaindlx.com/aggrk/book
----- Original Message -----
From: "Nisha Nambiar" <nishanam@y...>
To: "ASP CDO" <asp_cdo@p...>
Sent: Wednesday, October 25, 2000 5:16 AM
Subject: [asp_cdo] Email confirmation in ASP
> Hi
> What I want to do is to send an email confirmation back to a company after
> an order with all the order information & order details in ASP.
> i have never done this but this is a common thing in web.
> What can I use for this & how can I acheive this.
> I would appreciate the help.
> Thanks
> Nisha
>
> ---
> Wrox Professional Web Developer Conference II
> http://www.wroxconferences.com/WebDevEurope
> November 29th - December 1st 2000, Amsterdam, Netherlands
> Create powerful distributed web applications serving you now and
> in the future. From ASP+ and VB.NET to XML and SQL Server 2000
------=_NextPart_000_0014_01C03E58.16703370
Content-Type: application/octet-stream;
name="feedback.asp"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="feedback.asp"
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>Feedback</TITLE>
<META http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Diso-8859-1">
</HEAD>
<BODY bgcolor=3D"#FFFFFF" topmargin=3D0 leftmargin=3D0>
<% If Request.QueryString("act") =3D "send" Then %>
<%
Set Mail =3D Server.CreateObject("Persits.MailSender")
Mail.Host =3D "smtp.domaindlx.com" ' Specify a valid SMTP server
Mail.From =3D Request.Form("frmEmail") ' Specify sender's address
Mail.FromName =3D Request.Form("frmName") ' Specify sender's name
Mail.AddAddress "ritukamal@y..."
Mail.Subject =3D "Site Feedback"
Mail.Body =3D Request.Form("frmComments")
On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "ASP EMAIL Error encountered: " & Err.Description
End If
%>
Thank you for your feedback. Your input helps this site grow.
<% Else %>
<form method=3D"post" action=3D"feedback.asp?act=3Dsend"
name=3D"feedback">
<table width=3D"75%" border=3D"0" align=3D"center">
<tr>
<td align=3D"right" valign=3D"middle"
bordercolor=3D"#C0C0C0">Name:</td>
<td align=3D"left" valign=3D"top">
<input type=3D"text" name=3D"frmName" size=3D"26"
maxlength=3D"40">
</td>
</tr>
<tr>
<td align=3D"right" valign=3D"middle"
bordercolor=3D"#C0C0C0">E-Mail Address:</td>
<td align=3D"left" valign=3D"top">
<input type=3D"text" name=3D"frmEmail" size=3D"30"
maxlength=3D"50">
</td>
</tr>
<tr>
<td align=3D"right" valign=3D"top"
bordercolor=3D"#C0C0C0">Comments:</td>
<td align=3D"left" valign=3D"top">
<textarea name=3D"frmComments" rows=3D"5" cols=3D"50"
wrap=3D"OFF"></textarea>
</td>
</tr>
<tr>
<td align=3D"center" valign=3D"top" bordercolor=3D"#C0C0C0"
colspan=3D"2">
<input type=3D"submit" name=3D"Submit" value=3D"Submit">
<input type=3D"reset" name=3D"Reset" value=3D"Reset">
</td>
</tr>
</table>
<% End If %>
</form>
</BODY>
</HTML>
------=_NextPart_000_0014_01C03E58.16703370--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Message #3 by sachin singhal <shivsachin_2000@y...> on Tue, 24 Oct 2000 21:56:40 -0700 (PDT)
|
|
hi,
Its good for me if u elaborate your problem but what
i am getting according to that when on the web user
place an order at that time when u update data in
orders table at that time u may be use email component
to send mail whereever u want to use and send all the
details that u r storing in the table.
sachin
--- Nisha Nambiar <nishanam@y...> wrote:
> Hi
> What I want to do is to send an email confirmation
> back to a company after
> an order with all the order information & order
> details in ASP.
> i have never done this but this is a common thing in
> web.
> What can I use for this & how can I acheive this.
> I would appreciate the help.
> Thanks
> Nisha
>
Message #4 by =?iso-8859-1?Q?Gonzalo_Ruiz_de_Villa_Su=E1rez?= <gonzalo.ruizdevilla@a...> on Wed, 25 Oct 2000 10:03:13 +0200
|
|
RituKamal, you forgot to say that to use this code you need the AspEmail
component from Persits Software.
If you want to use it you can get at
http://www.aspemail.com/
it's easy and eficient to use.
If you want you can also use the Smtp Service of the IIS.
It's less powerful but very easy to use. You can get all done with these few
lines.
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = "internet@v..."
objMail.To = "gonzalo.ruizdevilla@a..."
objMail.Subject ="Order confirmed"
objMail.Body = "Here goes the order"
objMail.AttachFile "c:/myfile.txt", "myfile.txt" 'In case you want to attach
something.
objMail.Send
Set objMail = Nothing
However, if you have Exchange in the same server as the IIS you can't use
the IIS Smtp Service, instead you should use Exchange's.
If you have to use Exchange you'll find an example to create a simple mail
client at
http://support.microsoft.com/support/kb/articles/Q244/5/87.ASP
Don't forget to install Outlook 97 or greater if you want this last solution
to work.
The last 2 solutions use Microsoft CDO. You can find lots about it at
http://www.cdolive.com
There are more options out there but I haven't tried them. I can confirm you
that these three work.
Hope this helps and happy programming!
-----Mensaje original-----
De: RituKamal Aggarwal [mailto:ritukamal@y...]
Enviado el: miércoles, 25 de octubre de 2000 4:19
Para: ASP CDO
CC: nishanam@y...
Asunto: [asp_cdo] Re: Email confirmation in ASP
u actaully wants to send a email autoresponder to the person. I m sending u
one FEEDBACK.ASP as attachtment. just use this file it is Feedback forms'
auto responder, make the changes and use it accordingly, major changes
include smtp servers addresses etc and from and to addresses...
i hope it will solve your purpose..
bye and Have Colorful Dipawali ...
RituKamal Aggarwal
http://web.domaindlx.com/aggrk/book
----- Original Message -----
From: "Nisha Nambiar" <nishanam@y...>
To: "ASP CDO" <asp_cdo@p...>
Sent: Wednesday, October 25, 2000 5:16 AM
Subject: [asp_cdo] Email confirmation in ASP
> Hi
> What I want to do is to send an email confirmation back to a company after
> an order with all the order information & order details in ASP.
> i have never done this but this is a common thing in web.
> What can I use for this & how can I acheive this.
> I would appreciate the help.
> Thanks
> Nisha
>
Message #5 by "Siegfried Weber" <sweber@c...> on Fri, 27 Oct 2000 22:51:04 +0200
|
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C04057.9F8D0317
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Actually, it's a common mistake that you can't use CDONTS and Exchange
Server on the same machine. You *can* install the IIS4 SMTP Service if
you delete the Exchange Server Internet Mail Service. After you
installed the IIS4 SMTP Service you need to re-apply the latest Windows
NT4 Service Pack and Exchange 5.5 Service Pack. Now just add the
Exchange Server Internet Mail Service back and all your CDONTS created
SMTP stuff will be picked up by the Exchange Server Internet Mail
Service.
</Siegfried>
> -----Original Message-----
> From: Gonzalo Ruiz de Villa Su=E1rez
> [mailto:gonzalo.ruizdevilla@a...]
> Sent: Wednesday, October 25, 2000 10:03 AM
> To: ASP CDO
> Subject: [asp_cdo] Re: Email confirmation in ASP
>
>
> RituKamal, you forgot to say that to use this code you need
> the AspEmail
> component from Persits Software.
> If you want to use it you can get at
>
> http://www.aspemail.com/
>
> it's easy and eficient to use.
>
> If you want you can also use the Smtp Service of the IIS.
> It's less powerful but very easy to use. You can get all done
> with these few
> lines.
>
> Set objMail =3D CreateObject("CDONTS.Newmail")
> objMail.From =3D "internet@v..."
> objMail.To =3D "gonzalo.ruizdevilla@a..."
> objMail.Subject =3D"Order confirmed"
> objMail.Body =3D "Here goes the order"
> objMail.AttachFile "c:/myfile.txt", "myfile.txt" 'In case you
> want to attach
> something.
> objMail.Send
> Set objMail =3D Nothing
>
>
> However, if you have Exchange in the same server as the IIS
> you can't use
> the IIS Smtp Service, instead you should use Exchange's.
>
> If you have to use Exchange you'll find an example to create
> a simple mail
> client at
>
> http://support.microsoft.com/support/kb/articles/Q244/5/87.ASP
>
> Don't forget to install Outlook 97 or greater if you want
> this last solution
> to work.
>
>
> The last 2 solutions use Microsoft CDO. You can find lots about it at
> http://www.cdolive.com
>
> There are more options out there but I haven't tried them. I
> can confirm you
> that these three work.
>
> Hope this helps and happy programming!
>
>
> -----Mensaje original-----
> De: RituKamal Aggarwal [mailto:ritukamal@y...]
> Enviado el: mi=E9rcoles, 25 de octubre de 2000 4:19
> Para: ASP CDO
> CC: nishanam@y...
> Asunto: [asp_cdo] Re: Email confirmation in ASP
>
>
> u actaully wants to send a email autoresponder to the person.
> I m sending u
> one FEEDBACK.ASP as attachtment. just use this file it is
> Feedback forms'
> auto responder, make the changes and use it accordingly,
> major changes
>
> include smtp servers addresses etc and from and to addresses...
>
> i hope it will solve your purpose..
>
> bye and Have Colorful Dipawali ...
>
> RituKamal Aggarwal
> http://web.domaindlx.com/aggrk/book
>
> ----- Original Message -----
> From: "Nisha Nambiar" <nishanam@y...>
> To: "ASP CDO" <asp_cdo@p...>
> Sent: Wednesday, October 25, 2000 5:16 AM
> Subject: [asp_cdo] Email confirmation in ASP
>
>
> > Hi
> > What I want to do is to send an email confirmation back to
> a company after
> > an order with all the order information & order details in ASP.
> > i have never done this but this is a common thing in web.
> > What can I use for this & how can I acheive this.
> > I would appreciate the help.
> > Thanks
> > Nisha
> >
>
> ---
> Wrox Professional Web Developer Conference II
> http://www.wroxconferences.com/WebDevEurope
> November 29th - December 1st 2000, Amsterdam, Netherlands
> Create powerful distributed web applications serving you now and
> in the future. From ASP+ and VB.NET to XML and SQL Server 2000
>
>
|
|
 |