Click here to Skip to main content
15,899,634 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Passing data to another page without receive frm database Pin
JammoD8717-Apr-13 3:01
JammoD8717-Apr-13 3:01 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 3:17
Michael†Cheong17-Apr-13 3:17 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 3:46
Michael†Cheong17-Apr-13 3:46 
GeneralRe: Passing data to another page without receive frm database Pin
JammoD8717-Apr-13 4:40
JammoD8717-Apr-13 4:40 
GeneralRe: Passing data to another page without receive frm database Pin
Michael†Cheong17-Apr-13 6:55
Michael†Cheong17-Apr-13 6:55 
GeneralRe: Passing data to another page without receive frm database Pin
Rockstar_17-Apr-13 18:24
professionalRockstar_17-Apr-13 18:24 
QuestionEmail Receiving and Sending complete code in asp.net using C# Pin
Abid Hussain-(Abid)16-Apr-13 18:59
professionalAbid Hussain-(Abid)16-Apr-13 18:59 
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Rockstar_16-Apr-13 19:20
professionalRockstar_16-Apr-13 19:20 
HI this only sending..


using System;
using System.Web.Mail;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;

namespace Utility
{

public class Email
{
public string sendTo = string.Empty;
public string sendFrom = string.Empty;
public string sendSubject = string.Empty;
public string onlineResLibUserName = string.Empty;
public string onlineResLibPassword = string.Empty;
public string sendBody = string.Empty;
public string MessageTemplate = string.Empty;
public string sendCC = string.Empty;
public string sendBCC = string.Empty;


public void SendMail(string mailFor)
{
Displathmail();

}

private void dispatchMail()
{
MailMessage mailMessage = null;
try
{
mailMessage = new MailMessage();
mailMessage.BodyFormat = MailFormat.Html;
mailMessage.Subject = "Local:" +sendSubject;
mailMessage.From = sendFrom;
mailMessage.Body = sendBody;
//mailMessage.To = sendTo;
mailMessage.To = "opmbugs@gmail.com";

SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mailMessage);
}
catch (Exception err)
{
throw err;
}
}
}
}
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Sandeep Mewara16-Apr-13 19:47
mveSandeep Mewara16-Apr-13 19:47 
GeneralRe: Email Receiving and Sending complete code in asp.net using C# Pin
Abid Hussain-(Abid)16-Apr-13 20:16
professionalAbid Hussain-(Abid)16-Apr-13 20:16 
GeneralRe: Email Receiving and Sending complete code in asp.net using C# Pin
Richard MacCutchan16-Apr-13 21:26
mveRichard MacCutchan16-Apr-13 21:26 
AnswerRe: Email Receiving and Sending complete code in asp.net using C# Pin
Marco Bertschi16-Apr-13 22:36
protectorMarco Bertschi16-Apr-13 22:36 
QuestionCSS radioButton list Pin
Michael†Cheong16-Apr-13 6:30
Michael†Cheong16-Apr-13 6:30 
AnswerRe: CSS radioButton list Pin
jkirkerx16-Apr-13 12:47
professionaljkirkerx16-Apr-13 12:47 
GeneralRe: CSS radioButton list Pin
Rockstar_16-Apr-13 18:12
professionalRockstar_16-Apr-13 18:12 
GeneralRe: CSS radioButton list Pin
Michael†Cheong16-Apr-13 21:11
Michael†Cheong16-Apr-13 21:11 
Questionasp.net Pin
maharajothi16-Apr-13 1:43
professionalmaharajothi16-Apr-13 1:43 
AnswerRe: asp.net Pin
De, Subhendu16-Apr-13 2:27
De, Subhendu16-Apr-13 2:27 
AnswerRe: asp.net Pin
Pete O'Hanlon16-Apr-13 2:30
mvePete O'Hanlon16-Apr-13 2:30 
AnswerRe: asp.net Pin
Karthik Harve18-Apr-13 20:09
professionalKarthik Harve18-Apr-13 20:09 
Questionthe select control Pin
sara-setare16-Apr-13 0:44
sara-setare16-Apr-13 0:44 
AnswerRe: the select control Pin
Joshua Omundson16-Apr-13 6:32
Joshua Omundson16-Apr-13 6:32 
GeneralRe: the select control Pin
Rockstar_16-Apr-13 18:19
professionalRockstar_16-Apr-13 18:19 
QuestionHow does .NET 2.0 app consume a WCF 3.5 HTTP POST RESTful service? Pin
Jun Du15-Apr-13 4:01
Jun Du15-Apr-13 4:01 
QuestionTextBox appear depended on checkbox Pin
Michael†Cheong14-Apr-13 9:01
Michael†Cheong14-Apr-13 9:01 

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.