Connecting Tech Pros Worldwide Forums | Help | Site Map

Sending an email from within ASP

Nathan Sokalski
Guest
 
Posts: n/a
#1: Jul 19 '05
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:

MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage

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?
--
Nathan Sokalski
njsokalski@hotmail.com


Steven Burn
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Sending an email from within ASP


http://aspfaq.com/show.asp?id=2026

http://aspfaq.com/show.asp?id=2308

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:#gfiRxySEHA.2544@TK2MSFTNGP10.phx.gbl...[color=blue]
> I have a form which will be processed by being sent to an ASP page. I[/color]
would[color=blue]
> 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:
>
> MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage
>
> 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?
> --
> Nathan Sokalski
> njsokalski@hotmail.com
>
>[/color]


Nathan Sokalski
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Sending an email from within ASP


Those are great websites, and I understood everything for the CDO.Message
object, but I had some trouble with the CDO.Configuration object, which
looks like it is necessary for the CDO.Message object to work. What exactly
am I supposed to put for the different Item values? Do you know of any
websites that give more detail about the CDO.Configuration object? Thank
You.
--
Nathan Sokalski
njsokalski@hotmail.com

"Steven Burn" <pvt@noyb.com> wrote in message
news:OyZ6%231ySEHA.2128@TK2MSFTNGP09.phx.gbl...[color=blue]
> http://aspfaq.com/show.asp?id=2026
>
> http://aspfaq.com/show.asp?id=2308
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> news:#gfiRxySEHA.2544@TK2MSFTNGP10.phx.gbl...[color=green]
> > I have a form which will be processed by being sent to an ASP page. I[/color]
> would[color=green]
> > 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.[/color][/color]
I[color=blue][color=green]
> > know how to send an email using the mailto: protocol by making it look
> > something like the following:
> >
> > MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage
> >
> > However, this will usually take the user to their default email client[/color][/color]
and[color=blue][color=green]
> > ask them to send an email by putting the specified subject and message[/color][/color]
in[color=blue][color=green]
> > for them, but wait for them to do any desired editing and click their[/color][/color]
send[color=blue][color=green]
> > button. I simply want the email to be sent straight from ASP. Is this
> > possible?
> > --
> > Nathan Sokalski
> > njsokalski@hotmail.com
> >
> >[/color]
>
>[/color]


Steven Burn
Guest
 
Posts: n/a
#4: Jul 19 '05

re: Sending an email from within ASP


Take a look at;

http://surl.co.uk/?489

The following is meant for VB/C++, but should also give you a basic idea.

http://surl.co.uk/?488

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:ObW$73BTEHA.1048@tk2msftngp13.phx.gbl...[color=blue]
> Those are great websites, and I understood everything for the CDO.Message
> object, but I had some trouble with the CDO.Configuration object, which
> looks like it is necessary for the CDO.Message object to work. What[/color]
exactly[color=blue]
> am I supposed to put for the different Item values? Do you know of any
> websites that give more detail about the CDO.Configuration object? Thank
> You.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
>
> "Steven Burn" <pvt@noyb.com> wrote in message
> news:OyZ6%231ySEHA.2128@TK2MSFTNGP09.phx.gbl...[color=green]
> > http://aspfaq.com/show.asp?id=2026
> >
> > http://aspfaq.com/show.asp?id=2308
> >
> > --
> >
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> >
> > "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> > news:#gfiRxySEHA.2544@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > I have a form which will be processed by being sent to an ASP page. I[/color]
> > would[color=darkred]
> > > like the ASP page to take the data from the Request.QueryString (which[/color][/color][/color]
I[color=blue][color=green][color=darkred]
> > > know how to do) and format it so I can have it emailed to me in a[/color][/color][/color]
nicer[color=blue][color=green][color=darkred]
> > > format. My problem is that I do not know how to have ASP send an[/color][/color][/color]
email.[color=blue]
> I[color=green][color=darkred]
> > > know how to send an email using the mailto: protocol by making it look
> > > something like the following:
> > >
> > > MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage
> > >
> > > However, this will usually take the user to their default email client[/color][/color]
> and[color=green][color=darkred]
> > > ask them to send an email by putting the specified subject and message[/color][/color]
> in[color=green][color=darkred]
> > > for them, but wait for them to do any desired editing and click their[/color][/color]
> send[color=green][color=darkred]
> > > button. I simply want the email to be sent straight from ASP. Is this
> > > possible?
> > > --
> > > Nathan Sokalski
> > > njsokalski@hotmail.com
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Steven Burn
Guest
 
Posts: n/a
#5: Jul 19 '05

re: Sending an email from within ASP


There's also;

Sending E-Mail with Microsoft CDO
http://surl.co.uk/?490

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:ObW$73BTEHA.1048@tk2msftngp13.phx.gbl...[color=blue]
> Those are great websites, and I understood everything for the CDO.Message
> object, but I had some trouble with the CDO.Configuration object, which
> looks like it is necessary for the CDO.Message object to work. What[/color]
exactly[color=blue]
> am I supposed to put for the different Item values? Do you know of any
> websites that give more detail about the CDO.Configuration object? Thank
> You.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
>
> "Steven Burn" <pvt@noyb.com> wrote in message
> news:OyZ6%231ySEHA.2128@TK2MSFTNGP09.phx.gbl...[color=green]
> > http://aspfaq.com/show.asp?id=2026
> >
> > http://aspfaq.com/show.asp?id=2308
> >
> > --
> >
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> >
> > "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> > news:#gfiRxySEHA.2544@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > I have a form which will be processed by being sent to an ASP page. I[/color]
> > would[color=darkred]
> > > like the ASP page to take the data from the Request.QueryString (which[/color][/color][/color]
I[color=blue][color=green][color=darkred]
> > > know how to do) and format it so I can have it emailed to me in a[/color][/color][/color]
nicer[color=blue][color=green][color=darkred]
> > > format. My problem is that I do not know how to have ASP send an[/color][/color][/color]
email.[color=blue]
> I[color=green][color=darkred]
> > > know how to send an email using the mailto: protocol by making it look
> > > something like the following:
> > >
> > > MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage
> > >
> > > However, this will usually take the user to their default email client[/color][/color]
> and[color=green][color=darkred]
> > > ask them to send an email by putting the specified subject and message[/color][/color]
> in[color=green][color=darkred]
> > > for them, but wait for them to do any desired editing and click their[/color][/color]
> send[color=green][color=darkred]
> > > button. I simply want the email to be sent straight from ASP. Is this
> > > possible?
> > > --
> > > Nathan Sokalski
> > > njsokalski@hotmail.com
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Closed Thread