Click here to Skip to main content
16,013,489 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: .NET Data Access Question Pin
Pete O'Hanlon12-Aug-08 22:13
mvePete O'Hanlon12-Aug-08 22:13 
Questionimage control Pin
Dean Moe9-Aug-08 3:43
Dean Moe9-Aug-08 3:43 
AnswerRe: image control Pin
Thomas Stockwell11-Aug-08 1:37
professionalThomas Stockwell11-Aug-08 1:37 
AnswerRe: image control Pin
Richard Blythe11-Aug-08 19:39
Richard Blythe11-Aug-08 19:39 
AnswerRe: image control Pin
vikas amin12-Aug-08 12:09
vikas amin12-Aug-08 12:09 
QuestionE-Mail sending failure Pin
Zafar Sultan9-Aug-08 3:27
Zafar Sultan9-Aug-08 3:27 
AnswerRe: E-Mail sending failure Pin
Wendelius9-Aug-08 6:32
mentorWendelius9-Aug-08 6:32 
GeneralRe: E-Mail sending failure Pin
Zafar Sultan11-Aug-08 1:33
Zafar Sultan11-Aug-08 1:33 
Thanks I tried the following

MailMessage msg = new MailMessage();
SmtpClient SmtpMail = new SmtpClient();

msg.To.Add(new System.Net.Mail.MailAddress("abc@gmail.com"));
msg.From = new System.Net.Mail.MailAddress("xyz@rediffmail.com");
msg.Subject = "test";
msg.IsBodyHtml = false;
msg.Body = "hi ,how are you";
SmtpMail.Host = "localhost";
SmtpMail.Send(msg);
msg = null;
Label1.Text = "An Email has been send to " + "abc@reciever.com";

error:

Mailbox unavailable. The server response was: 5.7.1 Unable to relay for abc@gmail.com

now where is the problem?Please help me out...

One more thing In my last question even if there were errors but amazingly an email was sent to my inbox!!!!! What's going on?
GeneralRe: E-Mail sending failure Pin
Wendelius11-Aug-08 6:01
mentorWendelius11-Aug-08 6:01 
AnswerRe: E-Mail sending failure Pin
adityapatel70717-Feb-11 6:41
adityapatel70717-Feb-11 6:41 
QuestionMultiple thread access to a single remoting object (proxy) Pin
liRetro8-Aug-08 8:27
liRetro8-Aug-08 8:27 
AnswerRe: Multiple thread access to a single remoting object (proxy) Pin
liRetro18-Aug-08 7:09
liRetro18-Aug-08 7:09 
QuestionWinapp Webapp common library Pin
k6668-Aug-08 5:44
k6668-Aug-08 5:44 
QuestionSplitButton not available Pin
kildareflare7-Aug-08 23:09
kildareflare7-Aug-08 23:09 
AnswerRe: SplitButton not available Pin
led mike8-Aug-08 5:18
led mike8-Aug-08 5:18 
QuestionVideo Creator Pin
krutishukla7-Aug-08 17:57
krutishukla7-Aug-08 17:57 
AnswerRe: Video Creator Pin
led mike8-Aug-08 5:12
led mike8-Aug-08 5:12 
AnswerRe: Video Creator Pin
Thomas Stockwell11-Aug-08 1:39
professionalThomas Stockwell11-Aug-08 1:39 
QuestionAny way to force a TCP connection to reset Pin
supercat97-Aug-08 8:36
supercat97-Aug-08 8:36 
QuestionHow to include analog clock in GUI(Visual studio.Net 2003) Pin
M usman Saleem6-Aug-08 17:13
M usman Saleem6-Aug-08 17:13 
AnswerRe: How to include analog clock in GUI(Visual studio.Net 2003) Pin
AhsanS7-Aug-08 1:05
AhsanS7-Aug-08 1:05 
AnswerRe: How to include analog clock in GUI(Visual studio.Net 2003) Pin
Thomas Stockwell7-Aug-08 1:36
professionalThomas Stockwell7-Aug-08 1:36 
JokeRe: How to include analog clock in GUI(Visual studio.Net 2003) Pin
SomeGuyThatIsMe7-Aug-08 5:16
SomeGuyThatIsMe7-Aug-08 5:16 
AnswerRe: How to include analog clock in GUI(Visual studio.Net 2003) Pin
Zafar Sultan9-Aug-08 3:20
Zafar Sultan9-Aug-08 3:20 
QuestionWhat is the correct way? Pin
pijush dubey6-Aug-08 1:41
pijush dubey6-Aug-08 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.