clothes store     


Find a asp.net free host?

I published my asp.net websi..

Web Hosting?

Please let me know how to ge..

Looking for windows hosting ..

Can smbody tell me good webs..

My software firewall Commodo..

Does anyone know of a webhos..

What are the reliable web ho..

Which is India's fa..

Apache any good for ASP.NET?

Web Hosting and E-mail?

What is need by a Web Server..

How can i get asp.net files ..

What's a great medi..

Building website, anyone hel..

How can I develop a db-drive..

Why am I getting this error ..

.aspx free web site hosting?

Web Applications: What to us..

Please tell me about the Top..

Running a Webservice online ..

I'm looking for per..

Host profiessional web serve..

Web Help needed here?

I need to know how to instal..

Upload Asp.net Website?

Can you please tell me what ..

Please help me about ASP .NE..

What is the deal with open s..

How do I pick a web host/ser..

Points awarded for A web hos..

Sql DataBase connection with..

Asp.net IIS problem?

Complete newbie to ASP. NET ..

Web Chat Room on Web Host Fa..

How to connect a MySQL datab..

How will you implement .NET ..

WHY WONT ANYONE ANSWER THIS ..
 
How can I send an Email in my web site using ASP.NET 2.0?    [Imwebhost]

I have written a code in asp.net 2.0 and tested that in a web site to send emils to users, but it fails. The error message is:

Not Local host yahoo.com, not gateway.

How can I solve this problem. Do I need Authentication? If so, how shaould I do it? The Code is:

Dim objSMTP As New SmtpClient("mail.mydomian.com")

Dim mailSubject As String = txtSubject.Text

Dim mailBody As String = txtBody.Text

Dim objMailMsg As New MailMessage("support@mydomain.com", txtTo.Text)

objMailMsg.Subject = mailSubject

objMailMsg.Body = mailBody

objSMTP.Send(objMailMsg)

objMailMsg.Dispose()

How can I send an Email in my web site using ASP.NET 2.0?

The SMTP server that you specified in the first line may need authentication. Many SMTP servers don't need authentication but only send mail for certain people, such as an ISP's server that only sends mail for its customers. You'll need to contact the owner of that SMTP server.

You may have removed this from the code you posted, but you haven't given the MailMessage a From or To address.

Dan

http://easiersoftware.blogspot.com


[Imwebhost]


Free asp.net with free mysql database?
Is Yahoo Small Business web hosting supports aspx based web ..
Asp.net server error?
I am lookink for a Free Web Host that have Database Access a..
Hosting Requirments for ASP.NET 3.5 AJAX and Silverlight?
Which ASP.NET 2.0 hostings are cheepest?
ASP.net - Specifying a directory when the Web Host won&#..
Where can i find .net 2.0 and sql 2005 hosting in the uk?
Where can I get web hosting with a domain name of my choice ..
How can 000webhost afford to offer free web hosting services..



Comment
Name: Name:  Password:   Register?
Comment:
Face