Click here to Skip to main content
15,888,967 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to make edit,Update,Delete in datagrid in windows application Using C# Pin
_AK_10-Feb-09 1:20
_AK_10-Feb-09 1:20 
QuestionHow to create a Mail Application in asp.net. Pin
Jitendra-Web-Developer9-Feb-09 22:33
Jitendra-Web-Developer9-Feb-09 22:33 
AnswerRe: How to create a Mail Application in asp.net. Pin
N a v a n e e t h9-Feb-09 22:50
N a v a n e e t h9-Feb-09 22:50 
AnswerRe: How to create a Mail Application in asp.net. Pin
_AK_10-Feb-09 1:19
_AK_10-Feb-09 1:19 
QuestionHow to Send WebMail to Yahoo id Pin
Robymon9-Feb-09 22:02
Robymon9-Feb-09 22:02 
AnswerRe: How to Send WebMail to Yahoo id Pin
Satish_S9-Feb-09 22:30
Satish_S9-Feb-09 22:30 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon9-Feb-09 23:26
Robymon9-Feb-09 23:26 
AnswerRe: How to Send WebMail to Yahoo id Pin
Gaurav K Singh10-Feb-09 0:40
Gaurav K Singh10-Feb-09 0:40 
use this function in vb.net

Imports System.Net.Mail

Public Function sendMails(ByVal toEmail As String, ByVal toName As String, ByVal fromEmail As String, ByVal fromName As String, ByVal subject As String, ByVal mailBody As String, ByVal host As String) As String
Try
Dim msg As MailMessage = New MailMessage
msg.From = New MailAddress(fromEmail, fromName)
msg.To.Add(New MailAddress(toEmail, toName))
'msg.To.Add(new MailAddress("destination2@domain.com","Addressee 2's Name"));
msg.Subject = subject
msg.Body = mailBody
msg.IsBodyHtml = True
msg.Priority = MailPriority.High
Dim c As SmtpClient = New SmtpClient("" & host & "")
c.Send(msg)
Return "Mail send successfully."
Catch ex As Exception
Return ("Send Email Failed.<br>" + ex.Message)
End Try
Return "Mail send successfully."
End Function

The miracle is this--the more we share, the more we have.

GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 1:27
Robymon10-Feb-09 1:27 
GeneralRe: How to Send WebMail to Yahoo id Pin
Gaurav K Singh10-Feb-09 1:52
Gaurav K Singh10-Feb-09 1:52 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 2:00
Robymon10-Feb-09 2:00 
GeneralRe: How to Send WebMail to Yahoo id Pin
Gaurav K Singh10-Feb-09 2:05
Gaurav K Singh10-Feb-09 2:05 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 2:18
Robymon10-Feb-09 2:18 
GeneralRe: How to Send WebMail to Yahoo id Pin
Gaurav K Singh10-Feb-09 2:22
Gaurav K Singh10-Feb-09 2:22 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 2:53
Robymon10-Feb-09 2:53 
AnswerRe: How to Send WebMail to Yahoo id Pin
Abhijit Jana10-Feb-09 1:02
professionalAbhijit Jana10-Feb-09 1:02 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 1:29
Robymon10-Feb-09 1:29 
GeneralRe: How to Send WebMail to Yahoo id Pin
ritzy pal25-Feb-09 22:55
ritzy pal25-Feb-09 22:55 
AnswerRe: How to Send WebMail to Yahoo id Pin
Sujith C Jose10-Feb-09 2:07
Sujith C Jose10-Feb-09 2:07 
GeneralRe: How to Send WebMail to Yahoo id Pin
Robymon10-Feb-09 2:19
Robymon10-Feb-09 2:19 
Questionphone dailing through web application Pin
Milind Panchal9-Feb-09 21:36
Milind Panchal9-Feb-09 21:36 
AnswerRe: phone dailing through web application Pin
Christian Graus9-Feb-09 22:37
protectorChristian Graus9-Feb-09 22:37 
Questionregarding bulk sms Pin
dwivedi19829-Feb-09 21:21
dwivedi19829-Feb-09 21:21 
AnswerRe: regarding bulk sms Pin
Christian Graus9-Feb-09 22:39
protectorChristian Graus9-Feb-09 22:39 
GeneralRe: regarding bulk sms Pin
dwivedi198215-Feb-09 19:24
dwivedi198215-Feb-09 19:24 

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.