473,394 Members | 1,715 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,394 software developers and data experts.

How to send email

Hi,
In my webform i've some text boxes and one button control.
in one of the text boxes i'll enter email id then i'll click on submit
button then the system(application) will generate some string randomly which
is used as password.
so when i ckick on submit button after generating random string, it has to
take that string and it has to be sent to email id of that particular
person. emaild is the one which i've enterd in one of the text boxes.
the string should be sent to emailid when i click on submit button.
i hope u got what i said.
Plz tell me how to do this one
thanx in advance
yoshitha.
Nov 19 '05 #1
2 1093
Have you taken a look at the documentation and sample for the SmtpMail
class?

http://msdn.microsoft.com/library/de...classtopic.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 16 Feb 2005 19:54:46 +0530, "Yoshitha"
<gu**********@rediffmail.com> wrote:
Hi,
In my webform i've some text boxes and one button control.
in one of the text boxes i'll enter email id then i'll click on submit
button then the system(application) will generate some string randomly which
is used as password.
so when i ckick on submit button after generating random string, it has to
take that string and it has to be sent to email id of that particular
person. emaild is the one which i've enterd in one of the text boxes.
the string should be sent to emailid when i click on submit button.
i hope u got what i said.
Plz tell me how to do this one
thanx in advance
yoshitha.


Nov 19 '05 #2
Use the system.web.mail namespace.
Here are some examples:
http://aspnet.4guysfromrolla.com/articles/091102-1.aspx
http://authors.aspalliance.com/steve...ailwebsite.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Yoshitha" <gu**********@rediffmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,
In my webform i've some text boxes and one button control.
in one of the text boxes i'll enter email id then i'll click on submit
button then the system(application) will generate some string randomly
which
is used as password.
so when i ckick on submit button after generating random string, it has to
take that string and it has to be sent to email id of that particular
person. emaild is the one which i've enterd in one of the text boxes.
the string should be sent to emailid when i click on submit button.
i hope u got what i said.
Plz tell me how to do this one
thanx in advance
yoshitha.

Nov 19 '05 #3

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

Similar topics

0
by: David Burson | last post by:
Hi, I have a VB.NET windows app that needs to automatically send a simple text email when my users run a new version of the app for the first time. I thought this would be simple, but after...
0
by: David Burson | last post by:
Hi, I have a VB.NET windows app that needs to automatically send a simple text email when my users run a new version of the app for the first time. I thought this would be simple, but after...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
9
by: Mahernoz | last post by:
Can i send an email from JavaScript? Is it possible? If yes please the code to send email using javascript...
2
by: Malli mindwave | last post by:
Hi, We are using the yahoowebHostiing service for my company website, In that one screen of the SendComments/FeedBack section is there, I'm basically dot.net develeoper ,but yahoowebhosting not...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.