Click here to Skip to main content
15,921,279 members
Home / Discussions / C#
   

C#

 
QuestionUsing c++ dll in c# Pin
JuanAlbertoMD31-Aug-05 4:02
JuanAlbertoMD31-Aug-05 4:02 
AnswerRe: Using c++ dll in c# Pin
Mohamad Al Husseiny31-Aug-05 4:50
Mohamad Al Husseiny31-Aug-05 4:50 
QuestionC# Project Integration Pin
Jim Barber31-Aug-05 3:35
Jim Barber31-Aug-05 3:35 
AnswerRe: C# Project Integration Pin
Judah Gabriel Himango31-Aug-05 6:29
sponsorJudah Gabriel Himango31-Aug-05 6:29 
AnswerRe: C# Project Integration Pin
Lars Niedziolka31-Aug-05 14:26
Lars Niedziolka31-Aug-05 14:26 
QuestionHow Can I Add and ... Pin
mostafa_h31-Aug-05 3:06
mostafa_h31-Aug-05 3:06 
AnswerRe: How Can I Add and ... Pin
Mohamad Al Husseiny31-Aug-05 5:03
Mohamad Al Husseiny31-Aug-05 5:03 
QuestionCan anyone explain this Pin
totig31-Aug-05 2:48
totig31-Aug-05 2:48 
I have the following code below to send an email. It works 100%. So I have no problem with that at all. However, if I comment out the message.Body section, and uncomment the other message.Body section, this code will no longer send out an email, and I have no idea why. Can anyone explain this?

string body = "18";

SmtpMail.SmtpServer = "192.168.0.2";
MailMessage message = new MailMessage();
message.To = "ray@email.co.za";
message.From = "test@email.co.za";
message.BodyFormat = MailFormat.Text;
message.Subject = subject;//"New Accident Management report on Risk Management Website";
message.Body = "http://localhost/riskmanagement/customer.aspx?refNumber=" + body;
//message.Body = "http://" + HttpContext.Current.Request.Url.Host + "/RiskManagement.Presentation.WebSite/AccidentManagement/AccidentMaintenance.aspx?refNumber=" + body;

SmtpMail.Send(message);

AnswerRe: Can anyone explain this Pin
benjymous31-Aug-05 4:23
benjymous31-Aug-05 4:23 
Questionhow can I interpret this? Pin
Alex Cutovoi31-Aug-05 2:02
Alex Cutovoi31-Aug-05 2:02 
AnswerRe: how can I interpret this? Pin
enjoycrack31-Aug-05 2:17
enjoycrack31-Aug-05 2:17 
AnswerRe: how can I interpret this? Pin
Anonymous31-Aug-05 2:17
Anonymous31-Aug-05 2:17 
GeneralRe: how can I interpret this? Pin
Alex Cutovoi31-Aug-05 2:32
Alex Cutovoi31-Aug-05 2:32 
QuestionHow to use EMAB in n-tier Application Pin
Danech31-Aug-05 1:45
Danech31-Aug-05 1:45 
QuestionHow can i build own graphic chart control? Pin
parvinder sehrawat31-Aug-05 1:31
parvinder sehrawat31-Aug-05 1:31 
AnswerRe: How can i build own graphic chart control? Pin
enjoycrack31-Aug-05 2:10
enjoycrack31-Aug-05 2:10 
QuestionMs Word Addin Uninstall Pin
parviz_rashidi31-Aug-05 1:26
parviz_rashidi31-Aug-05 1:26 
AnswerRe: Ms Word Addin Uninstall Pin
rakesh_nits31-Aug-05 2:24
rakesh_nits31-Aug-05 2:24 
GeneralRe: Ms Word Addin Uninstall Pin
Anonymous31-Aug-05 6:23
Anonymous31-Aug-05 6:23 
QuestionDataView and DataGridTableStyle Pin
pokabot31-Aug-05 1:06
pokabot31-Aug-05 1:06 
QuestionAbout Microsoft Application center Pin
Md Saleem Navalur30-Aug-05 21:38
Md Saleem Navalur30-Aug-05 21:38 
QuestionProgram add fields into rows and editting Pin
Malpass 2k430-Aug-05 21:16
Malpass 2k430-Aug-05 21:16 
QuestionFile Transfer to palmtop via serial? Pin
Malpass 2k430-Aug-05 21:06
Malpass 2k430-Aug-05 21:06 
QuestionOpening for Tech lead in C#, WIN forms Pin
Anonymous30-Aug-05 21:00
Anonymous30-Aug-05 21:00 
AnswerRe: Opening for Tech lead in C#, WIN forms Pin
Luis Alonso Ramos31-Aug-05 1:41
Luis Alonso Ramos31-Aug-05 1: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.