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

ASP.NET

 
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 
GeneralRe: Order Page... I'm almost there Pin
Dirso13-Apr-09 8:46
Dirso13-Apr-09 8:46 
GeneralRe: Order Page... I'm almost there Pin
Yusuf13-Apr-09 13:55
Yusuf13-Apr-09 13:55 
GeneralRe: Order Page... I'm almost there Pin
Dirso14-Apr-09 2:13
Dirso14-Apr-09 2:13 
GeneralRe: Order Page... I'm almost there Pin
Yusuf14-Apr-09 9:14
Yusuf14-Apr-09 9:14 
QuestionWebServices/WSDL Pin
Mike Doner13-Apr-09 4:10
Mike Doner13-Apr-09 4:10 
AnswerRe: WebServices/WSDL Pin
Abhijit Jana13-Apr-09 4:53
professionalAbhijit Jana13-Apr-09 4:53 
GeneralRe: WebServices/WSDL Pin
Mike Doner13-Apr-09 4:58
Mike Doner13-Apr-09 4:58 
GeneralRe: WebServices/WSDL Pin
Abhijit Jana13-Apr-09 5:04
professionalAbhijit Jana13-Apr-09 5:04 

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.