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

how to send email

i have a c# asp.net webform with 2 textboxes and a button. the user enters
the email address and the message in the 2 textboxes and clicks the button to
send the email. no email program should appear in a popup window. how do i
implement this? pls. help & thanks in advance.
Nov 17 '05 #1
4 1312
Hi,

Take a look at the SmtpMail class, SmtpMail.SmtpServer and SmtpMail.Send()

On Thu, 12 May 2005 20:48:04 +0200, Newbie <Ne****@discussions.microsoft.com> wrote:
i have a c# asp.net webform with 2 textboxes and a button. the user enters
the email address and the message in the 2 textboxes and clicks the button to
send the email. no email program should appear in a popup window. how do i
implement this? pls. help & thanks in advance.


--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #2
http://www.developerfusion.com/show/1772/

--
W.G. Ryan, MVP

www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:00**********************************@microsof t.com...
i have a c# asp.net webform with 2 textboxes and a button. the user enters
the email address and the message in the 2 textboxes and clicks the button to send the email. no email program should appear in a popup window. how do i
implement this? pls. help & thanks in advance.

Nov 17 '05 #3
"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:00**********************************@microsof t.com...
i have a c# asp.net webform with 2 textboxes and a button. the user enters
the email address and the message in the 2 textboxes and clicks the button
to
send the email. no email program should appear in a popup window. how do i
implement this? pls. help & thanks in advance.


Hi. See the System.Web.Mail namespace:

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

-- Alan
Nov 17 '05 #4
http://systemwebmail.com/

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Newbie" <Ne****@discussions.microsoft.com> escribió en el mensaje
news:00**********************************@microsof t.com...
i have a c# asp.net webform with 2 textboxes and a button. the user enters
the email address and the message in the 2 textboxes and clicks the button
to
send the email. no email program should appear in a popup window. how do i
implement this? pls. help & thanks in advance.

Nov 17 '05 #5

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

Similar topics

11
by: Google Mike | last post by:
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to...
40
by: ian | last post by:
Hi, I'm a newbie (oh no I can here you say.... another one...) How can I get Python to send emails using the default windows email client (eg outlook express)? I thought I could just do the...
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...
9
by: Bob Jones | last post by:
We have developed a commercial ASP.net application (personal nutrition management and tracking); we want to send smtp email from within it. For our development box, we use WinXP Pro, IIS 5.5,...
3
by: Gerard | last post by:
Hello I have created a windows service to monitor a database, it starts some checks when a timer elapses. The checks send emails depending on their findings. My issue is that when I created a...
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...
8
by: shapper | last post by:
Hello, I am trying to send an email using Asp.Net 2.0. I am getting the following error: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: No such...
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...
5
by: Mike | last post by:
I have a page with a textbox that a user can enter in mutliple email addresses such as: user1@yahoo.com;user2@yahoo.com;user3@gmail.com; and so on, I then have a foreach loop to get all of the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...

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.