| Author: UshaR 08 May 2008 | Member Level: Bronze Points : 2 |
thanks it works well
|
| Author: Kamal 08 May 2008 | Member Level: Gold Points : 2 |
hi,
For More Detail check
Sending Email with ASP.NET 2.0
|
| Author: Shilpa Ginode 08 May 2008 | Member Level: Gold Points : 2 |
good it works... Yaa this link is also good...
|
| Author: vivek kushwaha 08 May 2008 | Member Level: Silver Points : 2 |
'' here is another in asp.net/vb.net
Imports System.Web.Mail Imports System.Web.Mail.SmtpMail
Dim _mm As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage _mm.From = "vivekkh@stercodigitex.com" _mm.To = "vivekkh@stercodigitex.com" _mm.Bcc = "vivek.kushwaha.mca@gmail.com" _mm.Body = "Mail Things" _mm.Subject = "hEllO ThEre" _mm.BodyFormat = Mail.MailFormat.Html System.Web.Mail.SmtpMail.Send(_mm)
|
| Author: mani 08 May 2008 | Member Level: Silver Points : 2 |
hey this is very much use full
MailMessage obj1 = new MailMessage(); obj1.From = "*****@gmail.com"; obj1.To = "*****@gmail.com"; obj1.Subject =txtFrom.Text +" is the sender "+ txtSubject.Text; obj1.BodyFormat = MailFormat.Html; obj1.Body = FreeTextBox2.Text; SmtpMail.SmtpServer = "smtp.gmail.com"; obj1.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); obj1.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "******@gmail.com"); obj1.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "********"); obj1.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465"); obj1.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true"); SmtpMail.Send(obj1);
|