Click here to Skip to main content
15,904,497 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: sql problem Pin
Vimalsoft(Pty) Ltd15-Apr-09 1:06
professionalVimalsoft(Pty) Ltd15-Apr-09 1:06 
GeneralRe: sql problem Pin
ptvce15-Apr-09 1:22
ptvce15-Apr-09 1:22 
GeneralRe: sql problem Pin
Vimalsoft(Pty) Ltd15-Apr-09 1:47
professionalVimalsoft(Pty) Ltd15-Apr-09 1:47 
QuestionShow Custom Event Pin
mehrdadc4814-Apr-09 19:20
mehrdadc4814-Apr-09 19:20 
QuestionHandle print event of ReportViewer Pin
mehrdadc4814-Apr-09 19:15
mehrdadc4814-Apr-09 19:15 
AnswerRe: Handle print event of ReportViewer Pin
Scholastic_Dude29-Apr-10 4:52
Scholastic_Dude29-Apr-10 4:52 
GeneralRe: Handle print event of ReportViewer Pin
mehrdadc482-May-10 4:32
mehrdadc482-May-10 4:32 
GeneralRe: Handle print event of ReportViewer Pin
Scholastic_Dude2-May-10 8:19
Scholastic_Dude2-May-10 8:19 
GeneralRe: Handle print event of ReportViewer Pin
Scholastic_Dude3-May-10 5:47
Scholastic_Dude3-May-10 5:47 
QuestionHow to reflect the change made to the table in the database at the time of updation itself? Pin
Subin Alex14-Apr-09 19:01
Subin Alex14-Apr-09 19:01 
AnswerRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
Abhijit Jana14-Apr-09 19:11
professionalAbhijit Jana14-Apr-09 19:11 
GeneralRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
Subin Alex14-Apr-09 19:45
Subin Alex14-Apr-09 19:45 
GeneralRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
Abhijit Jana14-Apr-09 20:01
professionalAbhijit Jana14-Apr-09 20:01 
AnswerRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
metallica_rock1014-Apr-09 20:09
metallica_rock1014-Apr-09 20:09 
GeneralRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
Christian Graus14-Apr-09 21:11
protectorChristian Graus14-Apr-09 21:11 
AnswerRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
Christian Graus14-Apr-09 21:10
protectorChristian Graus14-Apr-09 21:10 
AnswerRe: How to reflect the change made to the table in the database at the time of updation itself? Pin
danico4912-Aug-09 14:43
danico4912-Aug-09 14:43 
Question[Message Deleted] Pin
shantanusenin14-Apr-09 18:45
shantanusenin14-Apr-09 18:45 
AnswerRe: error "Missing file: Urgent Pin
Yusuf14-Apr-09 18:54
Yusuf14-Apr-09 18:54 
AnswerRe: error "Missing file: Urgent Pin
Abhijit Jana14-Apr-09 19:05
professionalAbhijit Jana14-Apr-09 19:05 
AnswerRe: error "Missing file: Urgent Pin
Christian Graus14-Apr-09 21:07
protectorChristian Graus14-Apr-09 21:07 
QuestionProblem to sending mail Pin
Shahdat Hosain14-Apr-09 6:18
Shahdat Hosain14-Apr-09 6:18 
I applied following code. Output show Msg sent successfully. Actually never it is sent to destination. Messages are only push to C:\inetpub\mailroot\queue;
1.I think IIS can not push the emails out on the internet.How can I look on SMTP response code.
2.I want to send emails from localhost. Now I confused how it possible sending a mail from anonymous mail address like "shahdat_mbstu@yahoo.com" through localhost, bcoz there no relation between my localhost and my mail address "shahdat_mbstu@yahoo.com". ;
3. Please help me!;



public void CreateCopyMessage(string server)
{
MailAddress from = new MailAddress("shahdat_mbstu@yahoo.com", "Ben Miller");
MailAddress to = new MailAddress("shahdat45ict@yahoo.com", "Shahdat Kooras");//jane@contoso.com
MailMessage message = new MailMessage(from, to);
// message.Subject = "Using the SmtpClient class.";
message.Subject = "Using the SmtpClient class.";
message.Body = @"Using this feature, you can send an e-mail message from an application very easily.";
// Add a carbon copy recipient.
MailAddress copy = new MailAddress("Notification_List@contoso.com");
message.CC.Add(copy);
SmtpClient client = new SmtpClient(server);
// Include credentials if the server requires them.
client.Credentials=
client.Credentials = CredentialCache.DefaultNetworkCredentials;
Console.WriteLine("Sending an e-mail message to {0} by using the SMTP host {1}.",
to.Address, client.Host);

try
{
client.Send(message);
lblMessage.Text = "Message successfully sent";
}
catch (Exception ex)
{
Console.WriteLine("Exception caught in CreateCopyMessage(): {0}",
ex.ToString());
}
}

shahdat

AnswerRe: Problem to sending mail Pin
Yusuf14-Apr-09 9:17
Yusuf14-Apr-09 9:17 
AnswerRe: Problem to sending mail Pin
Abhijit Jana14-Apr-09 19:40
professionalAbhijit Jana14-Apr-09 19:40 
QuestionWhy does one session variable store multiple values? Pin
Tomz_KV14-Apr-09 6:10
Tomz_KV14-Apr-09 6:10 

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.