473,394 Members | 1,817 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.

send mails from asp.net pages

how can I send mails from asp.net pages?
Nov 17 '05 #1
4 1418
Web.Mail.SmtpServer = "smtp.smtpmailsserverdomain.com";
MailMessage mail = new MailMessage();
mail.To = yo*@yourdomain.com;
mail.From = Me@mydomain.com;
mail.Subject = "Testing eMail";
mail.Body = "<h1>Testing ASP.NET mail</h1>";
SmtpMail.Send(mail);

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #2

http://aspalliance.com/andrewmooney/...spx?article=13

With this sample you can send an email from an ASP.NET web page. Just fill in
the From, To, Server, Subject, and Message on the form and click submit.
Result #2 Email with ASP.NET

http://aspalliance.com/jnuckolls/art...l/default.aspx
Here you will learn different ways to enable email functionality into your
ASP.NET web pages.
Result #3 Sending Emails With ASP.NET

http://aspalliance.com/hrmalik/artic.../20020601.aspx

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #3

http://aspalliance.com/andrewmooney/...spx?article=13

With this sample you can send an email from an ASP.NET web page. Just fill in
the From, To, Server, Subject, and Message on the form and click submit.
Result #2 Email with ASP.NET

http://aspalliance.com/jnuckolls/art...l/default.aspx
Here you will learn different ways to enable email functionality into your
ASP.NET web pages.
Result #3 Sending Emails With ASP.NET

http://aspalliance.com/hrmalik/artic.../20020601.aspx

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #4
thanks, it works now!!

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #5

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

Similar topics

6
by: CK | last post by:
Hi All, Can i know that, is it possible for me to develop a website offline, and using CDO. How i can know that, the script I wrote at offline and run at localhost will work when I host it on the...
2
by: tomtailor | last post by:
Hello! I'm migrating from pgSQL and WinXP to DB2 8.2 on SuSE 9.2 and I'd like to send E-Mails by triggers. I found some code for Java stored Procedures but I'm not able to get JavaDK running in...
1
by: Duy Nguyen | last post by:
how can I send mails from asp.net pages?
17
by: rdemyan | last post by:
My app creates a building report. My users have requested that I provide functionality to e-mail these "building reports" to building managers once a month. So assuming that I have the...
10
by: muskan | last post by:
Hello, I have written this code for sending mails but is not working. Tell what should I have to write after the equal sign in SmtpMail.SmtpServer = ; so mail to be stored in...
7
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
5
by: Sin Jeong-hun | last post by:
Hi. I would like to let users send bug reports or other messages to me. Maybe the easiest way to send e-mails from my application is just use the default e-mail agent by executing a link...
6
by: Harshpandya | last post by:
Hi all, I am working on the form in which you fill out the whole PHP form and e mail that details to someone. It is working fine. But now i want to send the same form to be sent to different...
13
by: btreddy | last post by:
Hii all, I've been searching in the internet just to know abt SMTP server. Can anybody tell me how to configure the SMTP server and how can i send the mails and how could i check whether...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.