Click here to Skip to main content
15,885,871 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Printing a web page Pin
Adam Maras23-Jun-09 8:33
Adam Maras23-Jun-09 8:33 
AnswerRe: Printing a web page Pin
Marc Firth25-Jun-09 2:01
Marc Firth25-Jun-09 2:01 
QuestionEditing XML File Published by IIS Pin
Wael_Soltan22-Jun-09 22:59
Wael_Soltan22-Jun-09 22:59 
QuestionHelp on WEB data Pin
Paolo Turrini22-Jun-09 5:54
Paolo Turrini22-Jun-09 5:54 
AnswerRe: Help on WEB data Pin
DoctorMick22-Jun-09 6:21
DoctorMick22-Jun-09 6:21 
QuestionSending Emails Pin
LucBite22-Jun-09 5:11
LucBite22-Jun-09 5:11 
AnswerRe: Sending Emails Pin
Expert Coming22-Jun-09 5:20
Expert Coming22-Jun-09 5:20 
AnswerRe: Sending Emails Pin
Gary Stafford23-Jun-09 13:12
Gary Stafford23-Jun-09 13:12 
You point your message to your email server. For example:

using System.Net.Mail;

class Emailer
{
    private void SendEmail()
    {
        MailMessage theMessage = new MailMessage();
        MailAddress whoTo = new MailAddress("John.Doe@abc.com", "John Doe");
        MailAddress whoFrom = new MailAddress("Sue.Smith@123.com", "Sue Smith");
        theMessage.To.Add(whoTo);
        theMessage.From = whoFrom;
        theMessage.Subject = "Real Important Message";
        theMessage.Priority = MailPriority.Normal;
        theMessage.Body = "This is a real important email message.";
        theMessage.IsBodyHtml = true;

        SmtpClient client = new SmtpClient();
        client.Host = "mail.123.com"; // <- Your email server goes here
        client.Send(theMessage);

    }
}


Regards,

Gary

QuestionMaintain cursor in parent window when pop-up opens.... Pin
Khawar Abbas121-Jun-09 18:55
Khawar Abbas121-Jun-09 18:55 
AnswerRe: Maintain cursor in parent window when pop-up opens.... Pin
DoctorMick22-Jun-09 6:23
DoctorMick22-Jun-09 6:23 
QuestionExport "Installed Updates" In vista Using VBscript Pin
Geo S Neeliyara21-Jun-09 18:39
Geo S Neeliyara21-Jun-09 18:39 
AnswerRe: Export "Installed Updates" In vista Using VBscript Pin
wSWs30jY6tgX18-Feb-10 18:48
wSWs30jY6tgX18-Feb-10 18:48 
QuestionHow I can Convert one Color to Another Color Pin
Saba0220-Jun-09 2:18
Saba0220-Jun-09 2:18 
AnswerRe: How I can Convert one Color to Another Color Pin
Not Active20-Jun-09 4:13
mentorNot Active20-Jun-09 4:13 
AnswerRe: How I can Convert one Color to Another Color Pin
Gary Stafford23-Jun-09 16:22
Gary Stafford23-Jun-09 16:22 
QuestionHelp in tool tip alignment in Gridview Pin
www.Developerof.NET19-Jun-09 22:00
www.Developerof.NET19-Jun-09 22:00 
QuestionGenerate word document from web form Pin
Hemant Thaker18-Jun-09 23:12
Hemant Thaker18-Jun-09 23:12 
AnswerRe: Generate word document from web form Pin
Not Active19-Jun-09 2:44
mentorNot Active19-Jun-09 2:44 
GeneralRe: Generate word document from web form Pin
Hemant Thaker19-Jun-09 4:37
Hemant Thaker19-Jun-09 4:37 
GeneralRe: Generate word document from web form Pin
Not Active19-Jun-09 5:08
mentorNot Active19-Jun-09 5:08 
QuestionRe: Generate word document from web form Pin
led mike19-Jun-09 5:18
led mike19-Jun-09 5:18 
QuestionRe: Generate word document from web form Pin
Hemant Thaker19-Jun-09 23:17
Hemant Thaker19-Jun-09 23:17 
AnswerRe: Generate word document from web form Pin
Not Active20-Jun-09 4:07
mentorNot Active20-Jun-09 4:07 
AnswerRe: Generate word document from web form [modified] Pin
Gary Stafford21-Jun-09 8:38
Gary Stafford21-Jun-09 8:38 
QuestionRe: Generate word document from web form Pin
Hemant Thaker21-Jun-09 23:41
Hemant Thaker21-Jun-09 23:41 

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.