How to Send Email from ASP .NET ?
page 1 of 1
Published: 17 Oct 2003
Unedited - Community Contributed
Abstract
Sending email is a very common task in any web application. In almost every web application (web site), their will atleast be an occassion to send email in any fashion. In classic ASP, we worked with the CDONTS object to send emails from an ASP page. The SmtpMail class in ASP .NET provides properties and methods for sending messages using the Collaboration Data Objects for Windows 2000 (CDOSYS) message component In this article, we will see, how can we send email from an ASP .NET page. In a nut shell, today, we will be looking into the following:
by Jesudas Chinnathampi (Das)
Feedback
Average Rating: 
Views (Total / Last 10 Days): 51059/ 47

How to Send Email from ASP .NET ?

Sending email is a very common task in any web application. In almost every web application (web site), their will atleast be an occassion to send email in any fashion. In classic ASP, we worked with the CDONTS object to send emails from an ASP page. The SmtpMail class in ASP .NET provides properties and methods for sending messages using the Collaboration Data Objects for Windows 2000 (CDOSYS) message component In this article, we will see, how can we send email from an ASP .NET page. In a nut shell, today, we will be looking into the following:

  1. What we need to send Email from an ASP .NET?
  2. How to send an email from an ASP .NET page?
  3. What is new in sending email? (SmtpMail.SmtpServer)
  4. How can we send attachments in an email?

What we need to send Email from an ASP .NET?

The first thing that you need is the SMTP service. SMTP service should be up and running. And you also need to import the namespace, System.Web.Mail. To create a mail object, you need to create an instance of MailMessage. MailMessage has all required properties such as To, Subject, BCC, CC etc. For a complete list of method and properties, that you can make use of, please visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebMailMailMessageMembersTopic.asp.

How to send an email from an ASP .NET page?
<%@ Import Namespace="System.Web.Mail" %>

<html>

<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)

     Dim msg as New MailMessage()

     msg.To = "das@silicomm.com"
     msg.From = "das@aspalliance.com"
     msg.Subject = "test"
     'msg.BodyFormat = MailFormat.Html
     msg.BodyFormat = MailFormat.Text
     msg.Body = "hi"

     SmtpMail.SmtpServer = "localhost"

     SmtpMail.Send(msg)
     msg = Nothing
     lblMsg.Text = "An Email has been send to " & "das@silicomm.com"

End Sub
</script>

<body style="font: 10pt verdana">
<form runat=server>
<asp:Label id=lblMsg runat=Server /> </form>
</body>
</html>

In the above example, we start the coding by importing the namespace, "System.Web.Mail". Then, in the Page_Load event, we create an instance of MailMessage object. It is through the MailMessage object, we set all the properties such as To, From, Subject, Body etc. We can either send a text message or a html message. We need to specify the bodyformat in the BodyFormat property. One we set all the properties, it is ready to send the email. Before sending the email, you have to set another important property, ie; SmtpServer. You have to set this property. You should assign the name of your SMTP server to this property. In most cases you can assign this as "localhost". If you do not set this property, then you will not be able to send email from an ASP .NET page. Finally we send the email using SmtpMail.Send. This methods expects the MailMessage as an argument. Actually the method Send is overloaded. You can also send an email by specifiying, SmtpMail.Send (From, To, subject, body). To see the complete overloaded list, please visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebMailMailMessageMembersTopic.asp

How can we send attachments in an email?

To send attachments, we need to add attachments using the Add method, which is available in the Attachments object. The only thing that we need to add to the above example is msg.Attachments.Add (New MailAttachment(Server.MapPath("filename.ext")))

<%@ Import Namespace="System.Web.Mail" %>

<html>

<script language="VB" runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)

     Dim msg as New MailMessage()

     msg.To = "das@silicomm.com"
     msg.From = "das@aspalliance.com"
     msg.Subject = "test"
     'msg.BodyFormat = MailFormat.Html
     msg.BodyFormat = MailFormat.Text
     msg.Body = "hi"

     msg.Attachments.Add (New MailAttachment(Server.MapPath("EMAIL1.ASPX")))

     SmtpMail.SmtpServer = "localhost"

     SmtpMail.Send(msg)
     msg = Nothing
     lblMsg.Text = "An Email has been send to " & "das@silicomm.com"

End Sub
</script>

<body style="font: 10pt verdana">
<form runat=server>
<asp:Label id=lblMsg runat=Server /> </form>
</body>
</html>
Enhancements that you add to the above examples.

We can add any number of attachments to an email. To send multiple attachments, just repeat the line Msg.Attachments.Add with the file that needs to be attached. Also, it will be a good practice to add a try...catch...finally block before invoking the Send Method. Since any error can occur while sending an email such as smtp service not running, smtp server busy and many more. To know more about the try...catch...finally, exception handling mechanism, read my article Exception Handling

Links

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebMailMailMessageMembersTopic.asp

Exception Handling

Send your comments to das@aspalliance.com        



User Comments

Title: hi   
Name: hello
Date: 2013-01-19 12:49:55 AM
Comment:
nice to worked with you
Title: as   
Name: asd
Date: 2013-01-12 6:07:45 AM
Comment:
dasdasd
Title: dsa   
Name: asd
Date: 2012-12-15 9:10:14 AM
Comment:
q
Title: hi   
Name: yoyo
Date: 2012-11-26 2:03:24 AM
Comment:
dgdfg
Title: hi   
Name: rajithagiridhar
Date: 2012-11-19 4:01:40 AM
Comment:
useful code...........
Title: hi   
Name: rose
Date: 2012-11-13 1:41:15 AM
Comment:
very nice ... thanks alot
Title: abc   
Name: rasika
Date: 2012-11-08 7:00:56 AM
Comment:
xcv
Title: zxc   
Name: zxc
Date: 2012-11-03 6:35:43 AM
Comment:
zxc
Title: great   
Name: rkn
Date: 2012-10-12 8:59:59 AM
Comment:
commment
Title: w   
Name: w
Date: 2012-09-27 12:33:05 AM
Comment:
w
Title: good one   
Name: anagha
Date: 2012-09-25 4:31:36 AM
Comment:
good......
Title: OK   
Name: Gh-1
Date: 2012-09-20 4:46:49 PM
Comment:
OK ------
Title: bnvn   
Name: gfhg
Date: 2012-09-07 10:50:07 AM
Comment:
ghfjyfy
Title: send mail in asp.net c#   
Name: raj
Date: 2012-08-17 9:10:08 AM
Comment:
easy way to do it,
we can send email to many

http://mail-asp.blogspot.in/2012/08/send-mail-in-aspnet.html
Title: titet   
Name: sa
Date: 2012-08-07 6:21:12 AM
Comment:
ddddddddd
Title: C # page   
Name: ajay
Date: 2012-08-02 2:53:43 AM
Comment:
this is good...
Title: sujitmail01@gmail.com   
Name: sujit
Date: 2012-08-01 5:09:34 AM
Comment:
gvgbhhbbh
Title: cs code   
Name: shujaat
Date: 2012-07-24 8:57:52 AM
Comment:
public void Page_Load(object Sender, EventArgs E)
{
MailMessage msg = new MailMessage();

msg.To = "das@silicomm.com";
msg.From = "das@aspalliance.com";
msg.Subject = "test";
//msg.BodyFormat = MailFormat.Html
msg.BodyFormat = MailFormat.Text;
msg.Body = "hi";

msg.Attachments.Add(new MailAttachment(Server.MapPath("EMAIL1.ASPX")));

SmtpMail.SmtpServer = "localhost";

SmtpMail.Send(msg);
msg = null;
lblMsg.Text = "An Email has been send to " + "das@silicomm.com";

}
Title: C# Code request   
Name: Sam
Date: 2012-07-17 6:46:16 AM
Comment:
Hi, Me want the coding in C#.
for with and without session
Title: bvn   
Name: nfbn
Date: 2012-07-17 5:47:56 AM
Comment:
ncn
Title: fd   
Name: fdf b
Date: 2012-07-16 12:45:06 AM
Comment:
dfb
Title: need vb code   
Name: subbu
Date: 2012-07-05 6:38:02 AM
Comment:
hi provide vb code
Title: Need in c#   
Name: Rajesh
Date: 2012-06-29 1:31:15 AM
Comment:
Hi, Its good..Thanks...provide it in c# also
Title: mail code   
Name: user
Date: 2012-06-18 1:19:51 AM
Comment:
Thanks for sharing the code.
Title: vd   
Name: fsf
Date: 2012-06-16 12:42:55 PM
Comment:
fsf
Title: hi   
Name: rohan jadhav
Date: 2012-06-15 7:31:32 AM
Comment:
hi how do you do?
Title: rahul   
Name: rahul
Date: 2012-06-14 7:41:56 AM
Comment:
hi my name is rahul
Title: ad   
Name: ssss
Date: 2012-06-14 3:54:40 AM
Comment:
sdsdsdasdd
Title: gdgdfgdfgdfg   
Name: dfgdfgdfgdgdfgdfgdfgd
Date: 2012-06-12 8:56:11 AM
Comment:
dfgdfgdgdfg gdgdfgdf dfgdgdfg
Title: demo   
Name: nirmal
Date: 2012-06-12 7:59:26 AM
Comment:
k
Title: fdg   
Name: dfg
Date: 2012-06-12 7:59:01 AM
Comment:
dfgdf
Title: hello friends   
Name: sdfsfs
Date: 2012-06-05 9:11:09 AM
Comment:
how r u ?
Title: hi   
Name: sdsffdf
Date: 2012-06-05 9:09:25 AM
Comment:
sdfsdsff
Title: sfds   
Name: sdf
Date: 2012-06-05 7:07:16 AM
Comment:
hfrgjvv
Title: klk   
Name: klkl
Date: 2012-06-01 3:17:29 AM
Comment:
kljlkjk
Title: gt   
Name: rg
Date: 2012-05-31 5:03:51 AM
Comment:
erg
Title: Boarding pass   
Name: Rin Nayhuoy
Date: 2012-05-29 11:10:09 AM
Comment:
I cannot save as PDF file for my boarding pass? How can I solve this problem?
Title: nice   
Name: anish
Date: 2012-05-25 11:24:16 AM
Comment:
nice to see but not working
Title: sdfs   
Name: ytfytr
Date: 2012-05-25 7:16:19 AM
Comment:
drtdydty
Title: hjh   
Name: hjh
Date: 2012-05-23 7:17:05 AM
Comment:
hjhj
Title: adasda   
Name: asdasdas
Date: 2012-05-20 2:48:36 PM
Comment:
asdasdasdaa
Title: test   
Name: m
Date: 2012-05-16 9:41:24 AM
Comment:
m2
Title: test Mail   
Name: Nitin
Date: 2012-05-16 3:23:45 AM
Comment:
dghdhdhd
Title: asdf   
Name: sadf
Date: 2012-05-08 11:21:33 AM
Comment:
asdfsadf
Title: syed   
Name: sufiyan
Date: 2012-05-08 5:42:38 AM
Comment:
Good , Keep it up !!
Title: feew   
Name: werw
Date: 2012-05-04 7:54:37 AM
Comment:
wetrwet
Title: Create Blog module   
Name: Rameshjogi
Date: 2012-04-28 9:42:10 AM
Comment:
Setup an ASP.net Application

Create a Blog Module where user can login and they can post their own blog and other users can review it and they can comment it but they won’t be having an option to delete and edit. Only owner will be having an option to delete and edit.
Title: zacks zones   
Name: zacks patel
Date: 2012-04-08 11:13:50 PM
Comment:
msg.To = "senthurganesh@gmail.com"
msg.From = "localhost"
msg.Subject = "test"
'msg.BodyFormat = MailFormat.Html
msg.BodyFormat = MailFormat.Text
msg.Body = "hi"
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(msg)
msg = Nothing
lblMsg.Text = "An Email has been send to " & "senthurganesh@gmail.com"
Title: c# code   
Name: madhuri
Date: 2012-04-07 8:08:16 AM
Comment:
mail me a c# code for internal mail system..
my id is ranu_patel142yahoo.com
Title: for c# code   
Name: madhuri
Date: 2012-04-07 8:05:15 AM
Comment:
please give me a code for c#..
Title: Dont like at all   
Name: careernexxt
Date: 2012-02-24 6:43:05 AM
Comment:
Please provide all information because it will be helpful for those who don't know about .net at all
Title: waste   
Name: rahul
Date: 2012-02-21 5:26:15 AM
Comment:
waste of time.....
Title: Send Email In ASp.Net C#   
Name: Navneet Chauhan
Date: 2012-02-15 12:03:51 AM
Comment:
Sir
Send me a code in C#..Used Name Space System.net.mail but not working ..Plz Help me
Thnks

Mail me navneet2509@yahoo.com
Title: skrlpp8257   
Name: the game
Date: 2012-02-13 8:06:18 AM
Comment:
hi how to use this... is it working fine ?
Title: 1   
Name: rashmi
Date: 2012-01-31 11:14:03 AM
Comment:
nice code.........
Title: send sms to mobile from computer   
Name: gunja_ vikas@yahoo.com
Date: 2012-01-17 12:47:20 PM
Comment:
thanks for above.
i want to send sms to mobile form computer use vb.net.
pl guide me regarding.
pl reply me on my emailid gunjal_vikas@yahoo.com

again lost of thank
Title: Email   
Name: Santosh More
Date: 2012-01-12 4:07:23 AM
Comment:
I want .cs code for sending email dyanmicaly
Title: plese code in c#   
Name: chetan kumar s
Date: 2011-12-26 12:32:27 AM
Comment:
Please provide code for sending mail in C#
Title: Super   
Name: Harish
Date: 2011-12-09 3:02:59 AM
Comment:
This is the very useful code for our concern.. really super
Title: good   
Name: madhav kumar
Date: 2011-12-05 6:58:06 AM
Comment:
this is best code for me. thanks
Title: Code in C#   
Name: paragpathari
Date: 2011-11-16 12:08:13 AM
Comment:
Please provide code for sending mail in C#
Title: How to Send Email from ASP .NET ?   
Name: Summit Bansal
Date: 2011-11-15 4:06:23 AM
Comment:
Hi ,
this is the exact article which i am looking for . in my project i need similar one where i need to send email in asp.net. Over the internet, I have found another nice post related to this post which also explain nicely, here i want to share link of that post...

http://www.mindstick.com/Blog/186/Sending%20mail%20in%20ASP%20NET

so thanks everybody.
Title: email conformation wtih database   
Name: srikant
Date: 2011-10-12 3:15:43 AM
Comment:
hi sir,
i am doing a project contian email conformation. I am able to send email conformation to the user. But here my problem is i want to store there information in my database directly..... pleamese help
Title: Send mail when register   
Name: Amolraje Lendave(Patil)
Date: 2011-10-11 10:42:42 AM
Comment:
When any new user has registered then send varification mail to the registered user in ASP...
Please Friend give me solution for this problem..My id is "amolraje30@gmail.com"
Title: Send mail when register   
Name: Cuong Pham
Date: 2011-10-10 11:22:04 PM
Comment:
please send to how to send mail on(cuongpham459@yahoo.com) when register in ASP.NET with full code and configuration.....
Title: Send Mail   
Name: Ajliya Pathan
Date: 2011-10-10 4:51:38 AM
Comment:
Please send to how to send mail on (ajliya2808@gmail.com) in asp.net with full code and configuration...
Title: send mail   
Name: sandeep
Date: 2011-09-20 7:49:56 AM
Comment:
can u send all code of sending mail to my emailid(chauhansandeep58@gmail.com).
pls send as soon as possoble
Title: send mail   
Name: paresh
Date: 2011-09-13 4:17:56 AM
Comment:
how to send mail in asp.net with full code and configuration...
Title: Asp.net   
Name: sujeet kumar
Date: 2011-09-10 8:20:53 AM
Comment:
please send the full code of mail & design or output

I am waiting your answer.
Title: application   
Name: sagar
Date: 2011-09-08 8:09:45 AM
Comment:
can u send that code to my mail sagarchinna.pinninti@gmail.com
plz urgent actually i dont know how to send and which methods,classes we required so plz send it


i understood u r code up to 50%
Title: asp mail coding   
Name: nidhi
Date: 2011-09-08 6:43:34 AM
Comment:
sir i want asp mail coding in c# language...plz help..
Title: asp mail coding   
Name: bhavesh rajput
Date: 2011-08-27 2:39:25 AM
Comment:
I need to help these code in the mail box
Thanks a lot...........
Title: send Email   
Name: Lincy
Date: 2011-08-25 5:52:55 AM
Comment:
Thanks.I used this code in my project
Title: Sent mail Help   
Name: Virumaster
Date: 2011-08-23 9:13:11 AM
Comment:
Hi sir.. thanx a lot...

you has guided here very simply and programmer can extract this help easily....

i got what ever my need is...

thanks a lot...
Title: Help for code   
Name: Bharat Gunjal
Date: 2011-08-19 6:42:16 AM
Comment:
please send me coding in c# at bharatgunjal2010@gmail.com for sending email.
Title: can I help   
Name: Kareem Allam
Date: 2011-07-28 2:05:53 PM
Comment:
I used this Function (VB.net) and it helpful

http://egdev.com/blog/post/How-to-send-an-email-in-aspnet-20.aspx
Title: Thanks   
Name: Kavitha
Date: 2011-07-22 12:33:42 PM
Comment:
It is useful for my Project
Title: mail send   
Name: sbg
Date: 2011-07-11 5:41:46 AM
Comment:
please send me coding in c# at shrujalgoswami@yahoo.com for sending email.
Title: mail   
Name: shrujal
Date: 2011-07-11 5:37:37 AM
Comment:
please send me coding in c# at sg_cool789@yahoo.co.in for sending email.
Title: mail   
Name: Ravi
Date: 2011-07-11 1:06:10 AM
Comment:
Sir,
please send me coding in c# at rfulani@ymail.com for sending email.
Title: mail   
Name: Ravi
Date: 2011-07-11 1:05:19 AM
Comment:
Sir,
please send me coding in c# for sending mail.
Title: mail   
Name: nipesh
Date: 2011-06-15 9:33:12 AM
Comment:
nice cocept
Title: How to Send Email from ASP .NET   
Name: Kibitz Px
Date: 2011-03-25 3:27:56 AM
Comment:
Guys can you send me pls the solution for sending an email to yahoo mail or gmail? thanks i want to learn how to do it because of my client very strict
regards kibitz
Title: sending mail in asp.net   
Name: mrutyunjay
Date: 2011-03-18 4:39:49 PM
Comment:
sir send me code in c#

my emailid is:

mrutyunjay51@gmail.com


Thanks
Title: sending mail in asp.net   
Name: Prakash Patel
Date: 2011-03-18 3:31:04 AM
Comment:
i have try this below code ... i m getting this following error: Mailbox unavailable. The server response was: Authentication is required for relay


My code is

SmtpClient smtpclient = new SmtpClient();
MailMessage message = new MailMessage();

MailAddress fromaddress = new MailAddress("contact@archesoftronix.com", "Arche Softronix");

MailAddress toaddress = new MailAddress("prakash.patel@srimca.edu.in", "Prakash");

message.From = fromaddress;
message.To.Add(toaddress);
message.IsBodyHtml = true;
message.Subject = "New Registration Alert In Euro-Asianweddings.com !";

message.Body = "New Registration is Done in";


smtpclient.Port = 25;
smtpclient.Host = "mail.archesoftronix.com";
smtpclient.Send(message);

Plz provide the error free code...
Title: Sending Mail in ASP.NET?   
Name: michael
Date: 2011-03-14 7:15:30 AM
Comment:
Use MailMessage and SmtpClient class to build the sending mail program.
I already answered in other website. See the below link :

http://www.hyperneed.com/ShowSearchAnswers.aspx?searchstring=&category=Programming&questionid=b507b018-e456-4be6-b037-ec416c9eb712
Title: loin   
Name: sahkil shaikh
Date: 2011-03-02 8:43:36 AM
Comment:
happy nice day.cognres
Title: how to send a mail from the application   
Name: ezhil
Date: 2011-01-19 1:14:23 AM
Comment:
Hi,
I dont know the codings for send a mail to particular mail id from our application. If u know pls teach me. Pls send your solution my mail-

ezhilsing10@gmail.com

thanks.....
Title: How to send mail   
Name: Bhargav
Date: 2011-01-09 2:48:56 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId, Gmail
Title: i want example brifly   
Name: upendar
Date: 2011-01-04 10:46:06 AM
Comment:
wonder.........
Title: C#   
Name: Venkatraj
Date: 2010-12-24 11:47:42 AM
Comment:
I need this same coding in C# please help me...
Title: Pls help.........   
Name: Swapna
Date: 2010-11-01 5:49:14 AM
Comment:
using this code but it returns the error"The server rejected one or more recipient addresses. The server response was: 554 Relay rejected for policy reasons."
Pls help me urgently...id is swapnamol123@gmail.com
Title: Send mail   
Name: Bala
Date: 2010-10-13 6:19:34 PM
Comment:
MailMessage mail = new MailMessage();
mail.To.Add("balamurugan.sengodan@gmail.com");
mail.From = new MailAddress("balamurugan.sengodan@gmail.com");
mail.Subject = "Test Email";
string Body = "hai";
mail.Body = Body;
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient();
smtp.Port = 25;
smtp.Host = "localhost";
smtp.Credentials = new System.Net.NetworkCredential("balamurugan.sengodan@pepsico.com", "Wipro2010");
smtp.UseDefaultCredentials = true;
smtp.EnableSsl = true;
smtp.DeliveryMethod =SmtpDeliveryMethod.PickupDirectoryFromIis;
smtp.Send(mail);
Title: good   
Name: Sinju
Date: 2010-10-05 5:05:40 AM
Comment:
thanks for the code
Title: hello   
Name: angie
Date: 2010-09-16 3:31:49 AM
Comment:
thanks
Title: Thanx   
Name: vasudev choudhary
Date: 2010-09-15 4:19:27 AM
Comment:
When I am using this code then smtp error occurs
so, i canot understend proper the erroes than,what do?
if ideas for me then send mail. vc_choudhary@yahoo.co.in..............
Title: Thanx   
Name: Vasudev choudhary
Date: 2010-09-15 4:12:31 AM
Comment:
hi,
When I am using this code then some Smtp error occures.
Title: thanx   
Name: cihip
Date: 2010-09-07 12:19:07 PM
Comment:
Send Email thanks for your service
Title: Thanks   
Name: kalaivendan
Date: 2010-08-11 1:14:23 AM
Comment:
This is very useful article, thanks for your service
Title: I have tried this but error comes   
Name: raghunandan
Date: 2010-05-11 3:28:08 AM
Comment:
Hi.When I am using this code then below error occur please review this error and please send the solution to my email is raghunandan.kakade@gmail.com"
I am using the following code:

MailMessage Message = new MailMessage();
Message.To = "raghunandan.kakade@gmail.com";
Message.From = "sonal0911@gmail.com";
Message.Subject = "Hi";
Message.BodyFormat = MailFormat.Text;
Message.Body = "Hi";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(Message);

The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for raghunandan.kakade@gmail.com
Title: need help   
Name: vinod kumar
Date: 2010-04-26 12:30:48 AM
Comment:
ii face error of "smtp server need authentication"

how can i resolve it
Title: training   
Name: dika
Date: 2010-04-22 11:51:46 PM
Comment:
hi
plz send how to create sending mail in asp.net with c#
Title: for test   
Name: khushi shah
Date: 2010-04-20 9:17:28 PM
Comment:
hi this is for selected email id but i want different emaid from same email id. so please help me.
Title: ms sql   
Name: email
Date: 2010-04-14 6:54:50 PM
Comment:
what sql
Title: How to install SMTP service   
Name: Mon
Date: 2010-04-07 10:47:39 PM
Comment:
Hello,
Thanks for your article, it's useful for me. But I don't know how to install SMTP service, where can i get that installer.
Pls help me.
Thank you again
Title: sql sever   
Name: dika
Date: 2010-04-07 12:04:00 AM
Comment:
plz send coding in c# for send msg to asp.net
Title: smtp server   
Name: stalin
Date: 2010-04-05 8:45:39 AM
Comment:
please help me every one, how can we sent emails under one server.that means gmail,ymail,yahoo.mail,........,what smtp server should we use for this problem plz kindly help any one
Title: duckyvideos   
Name: duckyvideos
Date: 2010-03-25 2:14:13 AM
Comment:
thank you.. very usefull
Title: Problem   
Name: Patel Rahul
Date: 2010-03-11 2:30:28 AM
Comment:
i want to create a aspx page(compose mail). in this page i will give the user to send mail to other user. But how to send mail to multiple users.. Plse help me..
Reply to me: rahul_srk16@yahoo.com
Title: problem2 urgent   
Name: ramkumar
Date: 2010-03-10 12:13:32 AM
Comment:
hai,
please help me guys!!! i need some information about sending mail. under what namespace the mail has to be send properly "system.net.mail" or "system.web.mail"
reply me immediately.......
Title: fine article   
Name: vijay borade
Date: 2010-03-09 7:29:51 AM
Comment:
please send any information of any extra setting needed to use the code any local host needed
Title: problem   
Name: ramkumar
Date: 2010-03-09 5:58:09 AM
Comment:
hai,
any one plz help me when i use "system.web.mail" i can't use the smtpmail properly. and when i use "system.net.mail" smtpmail will not responds give me the solution for that
Title: how to create mail for asp.net   
Name: devi
Date: 2010-03-01 12:24:17 AM
Comment:
how t o create mail for asp.net
Title: Very Urgently   
Name: Kaveri Patil
Date: 2010-02-24 7:31:22 AM
Comment:
Hi,
i want to create a aspx page(compose mail). in this page i will give the user to send mail to other user. But how to send mail to multiple users.. Plse help me..
Reply to me: kaveripatil11@gmail.com
Title: Sending an email and downloading it   
Name: Kaveri Patil
Date: 2010-02-24 7:29:10 AM
Comment:
Hi i need to send a webform as a link in the email very urgent ....

you reply will be very much helpful

Reply to : kaveripatil11@gmail.com
Title: The code for Sending email in asp.net   
Name: Kaveri Patil
Date: 2010-02-24 7:27:22 AM
Comment:
The code for Sending E-mail and downloading/printing the Form present in the ASP.Net
Title: How to upload file will be saved in other machine   
Name: Amitava Das
Date: 2010-02-15 4:49:35 AM
Comment:
In ASP .NET upload file already saved in project folder.But i want to save that folder another machine
Title: can posible with yahoo or hotmail gmail   
Name: yousuf hashmi
Date: 2010-01-06 6:21:25 AM
Comment:
i want same thing in hotmail plz help me out
Title: good example   
Name: dil
Date: 2010-01-05 3:37:50 AM
Comment:
good example
Title: thanks   
Name: ranjith
Date: 2010-01-04 8:19:16 AM
Comment:
how to config existing project like intranet mail server
Title: hdfh   
Name: dhfdh
Date: 2009-12-29 3:42:28 PM
Comment:
good work
Title: asp.net   
Name: vimal
Date: 2009-11-02 9:07:54 AM
Comment:
hai
i wrote code for send mail.it's working fine in local.but when i upload to my web server it's not working . what will i do?
Title: asp.net   
Name: subha
Date: 2009-10-31 5:58:11 AM
Comment:
hai,
string Ulink2 = ConfigurationManager.AppSettings["lnkUrl"] + "ViewSamplePage.aspx?id=" + Session["mode"].ToString();

i nned to send the mail this page,and i need to check condition
if (mode == "D")
{
}

can u ple correct this coding
Title: how to sending mail   
Name: siddhesh
Date: 2009-10-10 3:14:29 AM
Comment:
plz tel me urgently how to send email in asp.net2.0 with C# coding with web.config file.

plz send me this program in asp.net to siddhesh_kadam64@yahoo.com
Title: Mail Send Problem   
Name: Vikas
Date: 2009-10-01 3:15:25 AM
Comment:
Actually I am Using ur code that is given on web form but mail is not sended , Please send me actual code
Title: how to send mail coading in c#?   
Name: Bhavsar Hemal
Date: 2009-09-11 11:59:03 PM
Comment:
inbox sentmail contact
Title: Help with HTML   
Name: Eric
Date: 2009-08-18 6:53:46 PM
Comment:
Do you have anyway to get a new website the ability with asp.net to send an email containing some basic information, Name, email address, and phone number, to my personal account? I am using Microsoft Visual Studio and my website will be from Go Daddy. The website name is wanthealthyenergy.com and my email is erixebay@cox.net. is there anyway you can help me.
Title: Good one   
Name: Ganesh
Date: 2009-08-08 8:48:18 AM
Comment:
Good example to beginers
Title: best   
Name: sankalp shrivas 16/07/09 time 1.37 p.m
Date: 2009-07-16 4:10:31 AM
Comment:
hi
i am most thank for you and provide for this example.i request for you some other example also upload like banking use for web page
Title: kapil   
Name: kapil
Date: 2009-07-15 5:29:09 AM
Comment:
good example
Title: Developer   
Name: Muhammad Raza
Date: 2009-07-15 4:11:28 AM
Comment:
Hi i need to send a webform as a link in the email very urgent ....

you reply will be very much helpful

Reply to : muhammad-raza@hotmail.com
Title: developer   
Name: ankit
Date: 2009-06-29 7:17:52 AM
Comment:
hi sir,
if we click on user to approve.then on that situation user's get a mail.please reply me urgently.
Thanks!
my Email ID:
ankit8731@rediffmail.com
Title: How to Send Email from ASP .NET ?   
Name: saravana
Date: 2009-06-25 12:33:50 AM
Comment:
\
\
\
\
Title: SEbd mail   
Name: Mohammed Irfan
Date: 2009-04-27 8:26:36 AM
Comment:
SmtpClient smtpclient = new SmtpClient();
MailMessage message = new MailMessage();

MailAddress fromaddress = new MailAddress("support@euro-asianweddings.com", "Jayanti Popat");

MailAddress toaddress = new MailAddress("info@infotechahm.com", "Infotech");

message.From = fromaddress;
message.To.Add(toaddress);
message.IsBodyHtml = true;
message.Subject = "New Registration Alert In Euro-Asianweddings.com !";

message.Body = "New Registration is Done in Euro-Asianweddings.com With E-mail ID:" + user_mail + "and User name : " + user_name;


smtpclient.Port = 25;
smtpclient.Host = "mx.infotechahm.com";
smtpclient.Send(message);
Title: Background/end run   
Name: Pankaj Singh
Date: 2009-04-17 5:16:09 AM
Comment:
hi sir,
i m sending multiple emails through SMTPserver,but it make process very slow. So, i want to it run on backend or background while i can redirect to another page.
if you have solution plz send me code .
Thanks!
my Email ID:
pssinghpankaj4@gmail.com
Title: show error   
Name: Jugal Kishore
Date: 2009-04-14 5:19:44 AM
Comment:
Hi Sir,

I want to create a webquery form with some valid fields and want to send a query in a particular email id in c#. Can you please help me. My email id is jugal@sticgorup.com
Title: send mail   
Name: Sunil glbsng
Date: 2009-03-14 7:08:45 AM
Comment:
I am using the following code:

MailMessage Message = new MailMessage();
Message.To = "ravi.bhartiya@dabur.com";
Message.From = "ravi_mca2k4@yahoo.co.in";
Message.Subject = "Hi";
Message.BodyFormat = MailFormat.Text;
Message.Body = "Hi";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(Message);


but getting a error
Microsoft VBScript compilation error '800a0401'
Title: How to send Email in an ASP.Net web application using C# ?   
Name: mohit chauhan
Date: 2009-03-10 1:30:36 AM
Comment:
please send me code

mohit.chauhan8@gmail.com
Title: what is a smtp name and portno of rediffmail   
Name: vamshi
Date: 2009-03-05 7:50:53 AM
Comment:
plz give information that how to send a mail from smtps not from locals it is a common in many sites that are sending a mail from local host may provide information that smtp name and ports numbers of some well-known smtp servers
Title: How to send mail   
Name: javed
Date: 2009-02-07 1:33:40 AM
Comment:
hi how to send email in C3asp?
Title: Sending Formatted Email   
Name: Naween
Date: 2009-02-05 2:31:53 PM
Comment:
Hi,
i want to know how can i prepare a formatted email and then send it from a web page. the users will specify there choices. e.g they provide their Name, Phone, Address...and so on. when i get the email, i want to see in the format..Name:____, Phone:____, Address:____, (these spaces should be filled with the users input.
please send me the solution on nlal@dhcs.ca.gov if possible. thanks!!!
Title: How to send Email in an ASP.Net web application using C# ?   
Name: Avi
Date: 2009-02-02 12:16:40 AM
Comment:
An article on sending email to multiple recipient and to cc mail ids can be found at:

http://www.etechplanet.com/post/2008/11/21/How-to-send-Email-in-an-ASPNet-web-application-using-C.aspx
Title: How we create own mail server   
Name: umo.software@hcl.in
Date: 2008-12-29 7:03:23 AM
Comment:
MailMessage Message = new MailMessage();
Message.To = "ravi.bhartiya@dabur.com";
Message.From = "ravi_mca2k4@yahoo.co.in";
Message.Subject = "Hi";
Message.BodyFormat = MailFormat.Text;
Message.Body = "Hi";
SmtpMail.SmtpServer = Hum apna mail server bana sakte hai kya.if it possible then send me asnwer
SmtpMail.Send(Message);
Title: sendmail from gmail and yahoomail asp,netpage   
Name: ramesh
Date: 2008-12-24 7:53:01 AM
Comment:
hai sir ,
I am using the following code:

MailMessage Message = new MailMessage();
Message.To = "ravi.bhartiya@dabur.com";
Message.From = "ravi_mca2k4@yahoo.co.in";
Message.Subject = "Hi";
Message.BodyFormat = MailFormat.Text;
Message.Body = "Hi";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(Message);


the above coding is used sending mail through asp.net,but iam get error.
pl's send the solution
Title: good   
Name: Kasaiah
Date: 2008-12-19 1:01:39 AM
Comment:
Was good !
Title: Good   
Name: Thomas
Date: 2008-12-16 12:50:40 AM
Comment:
This is good article. Some other code are find at
http://techdotnets.blogspot.com/
Title: Good Article   
Name: Dragons
Date: 2008-12-16 12:49:35 AM
Comment:
It is nice article
Title: very good   
Name: zamani
Date: 2008-12-07 8:58:36 AM
Comment:
it is very good code

tanks
Title: Just   
Name: Abirami
Date: 2008-11-25 2:19:37 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id
Title: Sending emails   
Name: Helen
Date: 2008-11-21 1:36:11 AM
Comment:
I have more than 3 id all the 3 i have to send it thru To address itself
Title: hello   
Name: saravanan
Date: 2008-11-20 12:20:18 PM
Comment:
very good
Title: hello   
Name: siju
Date: 2008-11-12 1:54:17 AM
Comment:
very nice site
Title: Email   
Name: Babu
Date: 2008-10-29 8:24:58 AM
Comment:
Thanks a lot for this. It works nicely
Title: Emial   
Name: Shah Alam Farazi
Date: 2008-10-16 5:39:53 AM
Comment:
Thanks a lot for this. It works nicely. I want to receive email in my application. So I request u to help me in this regard at shahalam_farazi@yahoo.com
Title: Help   
Name: Ravi
Date: 2008-08-22 7:10:58 AM
Comment:
Hi.When I am using this code then below error occur please review this error and please send the solution to my email is ravi.bhartiya@dabur.com"
I am using the following code:

MailMessage Message = new MailMessage();
Message.To = "ravi.bhartiya@dabur.com";
Message.From = "ravi_mca2k4@yahoo.co.in";
Message.Subject = "Hi";
Message.BodyFormat = MailFormat.Text;
Message.Body = "Hi";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(Message);

The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for ravi.bhartiya@dabur.com
Title: urgent   
Name: sitz
Date: 2008-08-22 5:25:56 AM
Comment:
sir,please send me the code for a request.
when email id is written a request has to send along with it saying accept/reject.
Title: The transport failed to connect to the server.   
Name: senthurganesh
Date: 2008-07-11 12:32:20 PM
Comment:
Dim msg As New MailMessage()

msg.To = "senthurganesh@gmail.com"
msg.From = "localhost"
msg.Subject = "test"
'msg.BodyFormat = MailFormat.Html
msg.BodyFormat = MailFormat.Text
msg.Body = "hi"
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(msg)
msg = Nothing
lblMsg.Text = "An Email has been send to " & "senthurganesh@gmail.com"

my mailid senthurganesh@gmail.com
Title: Failure sending mail   
Name: Nitin
Date: 2008-07-07 1:38:24 AM
Comment:
Hi sir.
Everytime i try to send mail in asp.net i get following error.


System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: Cannot connect to SMTP server 209.85.201.83 (209.85.201.83:25), connect error 10060 at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) at _Default.btnsubmit_Click(Object sender, EventArgs e)

Plz tell me how come i remove this error.
plz reply me at nitin.gonnade@gmail.com
Title: Please reply me urgently   
Name: Anu
Date: 2008-06-30 3:34:45 AM
Comment:
Hello sir,
I want to send my .doc file to other user but attachment is not sucessful.2 times this was but not again sucessful.Please reply at ysn_malik@rediffmail.com
Title: Web Developer   
Name: YJ
Date: 2008-06-23 11:32:05 AM
Comment:
Just don't specify the mailserver:
...
...
'SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(msg)
Title: please reply me urgently   
Name: sumalatha
Date: 2008-06-23 5:41:19 AM
Comment:
hiiiiiiii by the above process am getting the following error

"The server rejected one or more recipient addresses"
Title: Please reply   
Name: Eng.Maivel
Date: 2008-06-19 3:09:00 PM
Comment:
hi, can u please help me.
i've created a website and there is a send email page. it only worked in localhost but not when i uploaded it into the ftp. when i clicked the send button, a runtime error page will appear instead of sending the email(error on SMTP Server like "The transport failed to connect the server").i hope u can solve this problem. thank you.please email me at Comp_eng_Maivel@yahoo.com
Title: unable to send multiple emails   
Name: varsha
Date: 2008-05-19 4:35:36 AM
Comment:
am writing code in asp.net using c#.and i have created form using webform.so i want to write code for sending email.and i am also trying to get email_id from sqlserver2000,&then want to send mails to those ids& then in coming emails where i should stored and how i give them security kasatvarsha@rediff.com,kasatvarsha@gmail.com
Title: unable to send multiple emails   
Name: ravi
Date: 2008-05-02 11:55:32 AM
Comment:
i am tryng to get email id from sql database and then want to send mails to all those email ids how to do that plz tell me
reply at ravi120jobs@yahoo.co.in
Title: Engineer   
Name: Mumtaz Ali
Date: 2008-04-09 3:36:59 AM
Comment:
I learned a lot from this article thanks.
Title: Tutorial   
Name: Ashraf
Date: 2008-03-26 7:51:14 PM
Comment:
Please help how to add value in list box from drop down list in asp.net forms using java script
Title: Tutorial   
Name: sonal
Date: 2008-03-12 5:55:53 AM
Comment:
Give tutorial of how to send Email with Attachment.
Title: Wrong email   
Name: thariq
Date: 2008-03-05 6:25:06 AM
Comment:
hi i need to know what if the sending Email address is incorrect how is it possible to know that the sent address is incorrect how will i get that message
if there is an additional set of code or any link that will help me on this please send it to
thariqs@gmail.com
Title: How to send link   
Name: Hari
Date: 2008-02-22 5:10:40 PM
Comment:
Hi,
I need to send a URL as link to user. But now it is not going as link. It is displaying only as text. Everytime they need to copy that into the browser. If anyone knows tell me how to do that.

Send your response to hari.naryanan@gmail.com
Title: Needed Code for Backend coding and how to send mail to multiple email ids?   
Name: Shaili
Date: 2008-02-21 6:42:02 AM
Comment:
Hi..I want application with coding at backend side and to the multiple ids and with multiple attachments also..Pls do reply on shaili.it@gmail.com,sshhh_020@yahoo.com...Thanx in anticipation..
Title: receiving mail from another website   
Name: kanagaraj
Date: 2008-02-02 2:38:57 AM
Comment:
how to receive mail in asp.net webapplication from another website(like yahoo or gmail)... if i done, i have to install anything
Title: mail   
Name: sunil soni
Date: 2008-01-23 5:34:07 AM
Comment:
how to set reply mail code in asp.net
Title: how can i send mail to yahooId from my webpage   
Name: Pavan
Date: 2008-01-22 6:43:36 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId, Gmail

if anybody know this please write my e-mail. pavan_sept15@yahoo.co.in thank you. Bye
Title: Send Multiple Emails   
Name: Harish
Date: 2008-01-06 11:30:29 PM
Comment:
Hi,
i want to create a aspx page(compose mail). in this page i will give the user to send mail to other user. But how to send mail to multiple users.. Plse help me..
From,
Harish Neermarga

You can send solutions to my email_id
harish_neermarga@rediffmail.com
harishneermarga@gmail.com
Title: runtime error   
Name: finux
Date: 2007-12-14 1:12:31 AM
Comment:
hi, can u please help me.
i've created a website and there is a send email page. it only worked in localhost but not when i uploaded it into the ftp. when i clicked the send button, a runtime error page will appear instead of sending the email.i hope u can solve this problem. thank you.please email me at finux_ffa@yahoo.com.thank you very much..
Title: htmlFormatEmail   
Name: Amol Kagde
Date: 2007-11-20 3:37:54 AM
Comment:
hi,
yes im also thankful to you...to help me for email programming.
thank you..
Title: How to send an email with a link   
Name: prashanth
Date: 2007-10-04 1:29:23 PM
Comment:
Hi i need to send a webform as a link in the email please send me the code for that very urgent ....

you reply will be very much helpful

Reply to : kaluvalakp@gmail.com
Title: How to send a link..??   
Name: Harish
Date: 2007-09-11 4:08:36 AM
Comment:
I want to send a link(e.g: www.google.com) to user's email so that on clicking the link, the user should open that site..

You can send solution to my email id :
harish_neermarga@rediffmail.com
harishneermarga@gmail.com
Title: How to send html page as body of e-mail   
Name: Khaled
Date: 2007-09-06 5:33:22 AM
Comment:
Hi,
I want to send html page as body of e-mail that i have prepared. So how can I do that?
please send me your suggestions.
To: k_zoabi@yahoo.com
Title: jk   
Name: hjkhj
Date: 2007-08-31 4:47:06 AM
Comment:
send mail
Title: send a HTML page as a body of the mail   
Name: Priyanka kadam
Date: 2007-08-31 2:53:07 AM
Comment:
send a HTML page as a body of the mail.
My email id:pskadam88@rediffmail.com
Title: How to send link on signup for user authentication   
Name: Ajoy Chakraborty
Date: 2007-08-26 4:31:52 AM
Comment:
I want to send a link to user's email so that on clicking the link, the user will be authenticated and can use my site only after that.
You can send solution to my email id : ajoy_1963@yahoo.co.in
Title: problem in sending mail to destination   
Name: dipen anand
Date: 2007-08-24 6:02:34 AM
Comment:
\
\
Title: Thank U   
Name: Ashok
Date: 2007-08-24 4:23:35 AM
Comment:
Good
Title: smtp server   
Name: Shadab Mirza
Date: 2007-07-23 5:47:58 AM
Comment:
Hello Sir,

I have tried with above code, but I face error on SMTP Server like "The transport failed to connect the server" .How can I solve this ?
Can you reply to me? in my Yahoo Id

Thank You Sir
Title: send html page as a body of email   
Name: sabir mohd ali
Date: 2007-07-07 7:13:15 AM
Comment:
thanks for this solution but my actual problem is that,
i wnt to send html page as body of email just like a webbrowser, without link or without attachement.
if you have a solution plz send me.
my email id:shabbu2n357@yahoo.co.in
Title: send a HTML page as a body of the mail   
Name: Sivakumar M
Date: 2007-07-04 6:54:45 AM
Comment:
I want to send a HTML page as a body of the mail. how do I do that?
Title: How do i send email to multiple email id's   
Name: george
Date: 2007-06-10 7:00:50 PM
Comment:
How do i send email to multiple email Id's like Hotmail, yahoo etc.

also, how do i get an smtp server or mail server.

secondly, if i want to send multiple email from asp.net what server do i need, mail server or web server.

Please if anyone have solution please email felix_zama123@yahoo.ca
Title: Cant send email to rediff and gmail account   
Name: Jatin Chawla
Date: 2007-06-06 5:38:37 AM
Comment:
hii, can u tell me why am i not able to recieve mails in my rediff and gmail account where as i m able to send it on yahoo. SMTP server used here is "127.0.0.1"

Help
Title: Nice, but only send mail in intranet   
Name: velu
Date: 2007-05-20 1:29:01 AM
Comment:
with in the orgination is it worked. how to send mail to other server like yahoo, gmail.
Title: How to send email to many email id's   
Name: subramanyam
Date: 2007-04-19 4:43:44 AM
Comment:
Hi,

I want to know how to send mail to multiple email-ids that are selected...from database
mail me to subramanyam.net@gmail.com
Title: Excellent   
Name: Tirupathirao
Date: 2007-04-18 4:09:53 AM
Comment:
its really excellent
Title: SMTP problem   
Name: brijesh
Date: 2007-03-15 2:14:16 AM
Comment:
if i write "Localhost" that time completly done.
but i want to send email to gmail.so what process?
how to assign name of our SMTP server
Title: About smtp server   
Name: M.Ramu
Date: 2007-02-07 6:20:57 AM
Comment:
Hello Sir,

I have tried with above code, but I face error on SMTP Server like "The transport failed to connect the server" .How can I solve this ?
Can you reply to me?
Title: how to send mails to many email-ids?   
Name: reshma
Date: 2006-12-24 4:23:57 AM
Comment:
hi..
I want to know how to send mail to multiple email-ids that are selected...
mail me to reshbhat@gmail.com
Title: smtp server   
Name: pawan
Date: 2006-12-22 4:25:48 AM
Comment:
Hello Sir,

I have tried with above code, but I face error on SMTP Server like "The transport failed to connect the server" .How can I solve this ?
Can you reply to me?

pawanpandey800@gmail.com
pawanpandey_800@yahoo.co.in
Title: E   
Name: pawan
Date: 2006-12-22 4:17:53 AM
Comment:
1.How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId
2. I am use this code but mail was not reach the perticuler email id.
3. the error wiil be server not connect.

if anybody know this please write my e-mail. pawanpandey800@gmail.com thank you. Bye
Title: email   
Name: pawan
Date: 2006-12-22 4:15:06 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId

if anybody know this please write my e-mail. pawanpandey800@gmail.com thank you. Bye
Title: Good   
Name: Peter
Date: 2006-12-20 12:46:45 PM
Comment:
Nice. I liked. But the namespace System.Net.Mail is better i thi.nk
Title: how can i send mail to yahooId from my webpage   
Name: Pawan
Date: 2006-12-14 8:42:19 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId

if anybody know this please write my e-mail. pawanpandey800@gmail.com thank you. Bye
Title: Very simple code to send emails in asp.net 2.0 using C#   
Name: DotNetSpace
Date: 2006-12-05 9:12:30 PM
Comment:
Simple example on how to send emails using C#:
http://www.dotnetspace.com/articles/general-articles/sending-emails.html
Title: sending email failure   
Name: vijay
Date: 2006-11-28 4:03:27 AM
Comment:
i m trying to send an email,its working on local machine,but ultimately i need to send an email from some other ftp server,so could u plz tell me how to do it,do i need to provide the smtp servername of that server then also i m not able to send an email.........waiting for the reply
Title: Good!!   
Name: Noel
Date: 2006-06-15 11:07:33 AM
Comment:
The code worked really well (I did not use it as it is though in principle it was the same). I want to send a HTML page as a body of the mail. how do I do that?

noel@zylemworld.com
Title: Notion .   
Name: OMAR
Date: 2006-04-07 6:22:14 PM
Comment:
thanks .
Title: its ok..   
Name: prakash Kolhe
Date: 2006-02-24 12:04:37 AM
Comment:
hi...
this code is good one but not giving what i m expecting
i want more on webserver..
that how can i send mail from my host to other like yahoo/hotmail
please let me know with code

my id is : prakash_kolhe1981@yahoo.com
Title: SMTP SERVER   
Name: Venkat
Date: 2006-01-30 1:05:43 AM
Comment:
Hello Sir,

I have tried with above code, but I face error on SMTP Server like "The transport failed to connect the server" .How can I solve this ?
Can you reply to me?

My id- venkatmath@gmail.com
Title: good but still not working   
Name: chris
Date: 2006-01-16 6:33:21 PM
Comment:
nice article, but i have try to using SMTPserver that is not working . I have got a ASP.net webhost, i have upload the email.asp that host then
Server Error in '/' Application.
--------------------------------------------------------------------------------

“SendUsing”??????
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Please help me
chenzh1980@hotmail.com
Title: SMTP server Settings   
Name: Amit
Date: 2005-12-15 2:36:23 AM
Comment:
Respected Sir,
I have tried the above code but I am facing problems like the "SendUsing" is not configured.
How to check whether the SMTP server is running.
do we have to do initial settings

Please send response to the following e-mail id:
amit.patil@rkhs.co.in
Title: how can i send mail to yahooId from my webpage   
Name: AjeetVerma
Date: 2005-09-29 4:38:16 AM
Comment:
How can i send a mail message from my Web Page to a Particular Mail Id -- Like YahooId
Title: not working   
Name: senthil
Date: 2005-09-12 4:18:33 AM
Comment:
hi
i used this codeing but it's not working. the error shows access denied

pls help me, how to send mail
Title: It work !!   
Name: rezorat
Date: 2005-09-10 8:53:08 PM
Comment:
thinks for that article !!! very very interesting
Title: Not working   
Name: Muhammad Rafiq
Date: 2005-06-16 1:43:47 AM
Comment:
This code is not working properly
Title: About SMTP server   
Name: xyz
Date: 2005-05-18 8:13:19 AM
Comment:
Respected Sir,
We have tried the above code but we are facing problems like the "SendUsing" is not configured.
How to check whether the SMTP server is running.
do we have to do initial settings

Please send response to the following e-mail id:
csian@rediffmail.com
shwetampatil@yahoo.co.in
Title: Good!!   
Name: EnriqueK
Date: 2004-10-18 4:27:20 PM
Comment:
Nice your article, but I want to send a eamil using outlook, I want replace go to Menu File - send - Page by e-mail for other thing, for example a button that load my outlook with the page attach. you understand me???? if anybody know this please write my e-mail. kristiandem@hotmail.com thank you. Bye
Atte. EnriqueK

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 5:03:17 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search