Click here to Skip to main content
15,916,835 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCustom Error page Pin
Niungareamit13-Apr-09 19:37
Niungareamit13-Apr-09 19:37 
AnswerRe: Custom Error page Pin
Deepak the Cool13-Apr-09 21:05
Deepak the Cool13-Apr-09 21:05 
GeneralRe: Custom Error page Pin
Niungareamit13-Apr-09 21:19
Niungareamit13-Apr-09 21:19 
AnswerRe: Custom Error page Pin
Abhijit Jana13-Apr-09 21:29
professionalAbhijit Jana13-Apr-09 21:29 
QuestionImage Retreiving Pin
nagendra.vk13-Apr-09 19:31
nagendra.vk13-Apr-09 19:31 
AnswerRe: Image Retreiving Pin
Deepak the Cool13-Apr-09 21:11
Deepak the Cool13-Apr-09 21:11 
QuestionHow to create event handling on SharePoint Document Library metada columns Pin
modiyam13-Apr-09 19:12
modiyam13-Apr-09 19:12 
QuestionPassing Network Credentials First Pin
Ryan Fleming13-Apr-09 17:03
Ryan Fleming13-Apr-09 17:03 
AnswerRe: Passing Network Credentials First Pin
Abhijit Jana13-Apr-09 21:02
professionalAbhijit Jana13-Apr-09 21:02 
GeneralRe: Passing Network Credentials First Pin
Ryan Fleming14-Apr-09 2:05
Ryan Fleming14-Apr-09 2:05 
Questionpage loaded Pin
Dov Kruman13-Apr-09 16:01
Dov Kruman13-Apr-09 16:01 
QuestionSWF file in .aspx page Pin
Dov Kruman13-Apr-09 14:08
Dov Kruman13-Apr-09 14:08 
AnswerRe: SWF file in .aspx page Pin
Christian Graus13-Apr-09 14:09
protectorChristian Graus13-Apr-09 14:09 
QuestionHow to send email? Pin
Shahdat Hosain13-Apr-09 11:49
Shahdat Hosain13-Apr-09 11:49 
AnswerRe: How to send email? Pin
Colin Angus Mackay13-Apr-09 12:09
Colin Angus Mackay13-Apr-09 12:09 
GeneralRe: How to send email? Pin
Shahdat Hosain13-Apr-09 18:39
Shahdat Hosain13-Apr-09 18:39 
Yes, Two mails were be stored in C:\inetpup\mailroot\queue; and another two mail in C:\inetpup\mailroot\drop;

following code was be used
private void SendMail()
{

try
{

MailMessage Email=new MailMessage();
Email.To=txtTo.Text;
Email.From=txtFrom.Text;
Email.Cc=txtCC.Text;
Email.Bcc=txtBCC.Text;
Email.Subject=txtSubject.Text;
Email.Body=txtMessage.Text;
Email.Priority=MailPriority.High;normal
Email.BodyFormat=MailFormat.Text;
//Checking whether the attachment is needed or not.
if(rbtnAttach.Checked)
{
Email.Attachments.Add(new MailAttachment(FileBrowse.Value));
}
SmtpMail.SmtpServer.Insert(0,"127.0.0.1");
SmtpMail.Send(Email);
Reset();//calling the reset method to erase all the data after sending the mail.
lblMessage.ForeColor=Color.Navy;
blMessage.Text="*Your email has been sent successfully-Thank You";
}
//Catching Exception
catch(Exception exc)
{
Reset();
lblMessage.Text="Send error:"+exc.ToString();
lblMessage.ForeColor=Color.Red;
}
}
Note: What's address should be provided in From: text box?Is essential or not?
How can I check IIS send is pushing the emails out on the internet?
Please keep me

shahdat

GeneralRe: How to send email? Pin
Abhijit Jana13-Apr-09 21:06
professionalAbhijit Jana13-Apr-09 21:06 
GeneralRe: How to send email? [modified] Pin
Shahdat Hosain14-Apr-09 5:02
Shahdat Hosain14-Apr-09 5:02 
GeneralRe: How to send email? Pin
kishorgh13-Apr-09 21:12
kishorgh13-Apr-09 21:12 
Questionsubmit form inside an automatically created ASP form Pin
shabya13-Apr-09 11:29
shabya13-Apr-09 11:29 
AnswerRe: submit form inside an automatically created ASP form Pin
Christian Graus13-Apr-09 13:14
protectorChristian Graus13-Apr-09 13:14 
GeneralRe: submit form inside an automatically created ASP form Pin
shabya13-Apr-09 19:32
shabya13-Apr-09 19:32 
Question[Asp .Net Page output caching] invalidate subset of pages on demand only Pin
lermi13-Apr-09 11:27
lermi13-Apr-09 11:27 
QuestionOrder Page... I'm almost there Pin
Dirso13-Apr-09 8:07
Dirso13-Apr-09 8:07 
AnswerRe: Order Page... I'm almost there Pin
Yusuf13-Apr-09 8:42
Yusuf13-Apr-09 8:42 

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.