473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sending an email from within ASP

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:us******@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
nj********@hotmail.com
Jul 19 '05 #1
4 1628
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" <nj********@hotmail.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl...
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:us******@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
nj********@hotmail.com

Jul 19 '05 #2
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
nj********@hotmail.com

"Steven Burn" <pv*@noyb.com> wrote in message
news:Oy****************@TK2MSFTNGP09.phx.gbl...
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" <nj********@hotmail.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl...
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:us******@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
nj********@hotmail.com


Jul 19 '05 #3
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" <nj********@hotmail.com> wrote in message
news:Ob**************@tk2msftngp13.phx.gbl...
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
nj********@hotmail.com

"Steven Burn" <pv*@noyb.com> wrote in message
news:Oy****************@TK2MSFTNGP09.phx.gbl...
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" <nj********@hotmail.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl...
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:us******@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
nj********@hotmail.com



Jul 19 '05 #4
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" <nj********@hotmail.com> wrote in message
news:Ob**************@tk2msftngp13.phx.gbl...
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
nj********@hotmail.com

"Steven Burn" <pv*@noyb.com> wrote in message
news:Oy****************@TK2MSFTNGP09.phx.gbl...
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" <nj********@hotmail.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl...
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:us******@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
nj********@hotmail.com



Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
1
by: Devonish | last post by:
I am composing an email with Access VB and then sending it from within Access. Everything works correctly (the email actually goes!) but Outlook ask some irritating questions that the user is...
8
by: Frank | last post by:
I think I've confused myself completely here :-) I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and...
6
by: Anuradha | last post by:
Dear All How can i send mails using vb.net Thanx all
0
by: Jim Devenish | last post by:
I wish to send a copy of an email to a selected number of recipients. I can do this when the email contains only text but have a problem when the email contains a picture. I create a new email...
3
by: JaffaCakes | last post by:
I want to send an email confirmation after a user completes a form on our Internet page. I am testing this with the System.Web.Mail.SmtpMail class. If I do a SmtpMail.Send then the message takes...
1
by: gemma.gill | last post by:
Hi There, I have a button on a form within access that sends a verification e- mail. My problem is that these e-mails are sending from individual user accounts rather than a genieric mailbox. ...
14
by: John | last post by:
Hi How does one send email from within a vb.net app? Thanks Regards
2
by: Smithers | last post by:
I have a service that will periodically send email messages to system adminstrators. I would like for this service to send a email notification whenever the service is started and when it is...
1
by: Mel via AccessMonster.com | last post by:
I have four people on my email list. I want to send one email each of the four people with a list of accounts over due, embodied within the email. So, for instance, jeff will be sent an email...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.