Click here to Skip to main content
16,005,080 members
Home / Discussions / C#
   

C#

 
GeneralRe: how do i convert string to type? help please! Pin
abstar28-Oct-06 18:05
abstar28-Oct-06 18:05 
GeneralRe: how do i convert string to type? help please! Pin
J4amieC29-Oct-06 5:54
J4amieC29-Oct-06 5:54 
QuestionWhat is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 13:36
Nadia Monalisa19-Oct-06 13:36 
AnswerRe: What is MyProjectName.vshost.exe.config ? Pin
Ed.Poore19-Oct-06 13:42
Ed.Poore19-Oct-06 13:42 
GeneralRe: What is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 14:20
Nadia Monalisa19-Oct-06 14:20 
AnswerRe: What is MyProjectName.vshost.exe.config ? Pin
Anthony Mushrow19-Oct-06 13:42
professionalAnthony Mushrow19-Oct-06 13:42 
GeneralRe: What is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 14:20
Nadia Monalisa19-Oct-06 14:20 
Questionhow to send email with .net2003 [modified] Pin
Ah_Mohsen_aly19-Oct-06 12:20
Ah_Mohsen_aly19-Oct-06 12:20 
try
{
System.Web.Mail.MailMessage message=new System.Web.Mail.MailMessage();

message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate","10");

message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/sendusername","SmtpHostUserName" );
message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/sendpassword","SmtpHostPassword" );

message.From="mymail@hotmail.com";
message.To="anymail@hotmail.com";
message.Subject="hi";
message.Body="worked";

System.Web.Mail.SmtpMail.SmtpServer="SMTP Server Address";
System.Web.Mail.SmtpMail.Send(message);
}
catch(Exception ex)
{
Response.Write(ex.Message.ToString());
}
-what is SmtpHostUserName and SmtpHostPassword and how can i get "SMTP Server Address"?
-the "10" iis Default SMTP Virtual Server propertis take the number right?
-some thing missing here can any one help
thank you

Mohsen



-- modified at 22:28 Thursday 19th October, 2006
AnswerRe: how to send email with .net2003 Pin
Christian Graus19-Oct-06 13:24
protectorChristian Graus19-Oct-06 13:24 
QuestionC# & mswinsock.ocx Pin
Shahin7719-Oct-06 11:52
Shahin7719-Oct-06 11:52 
AnswerRe: C# & mswinsock.ocx Pin
Ed.Poore19-Oct-06 13:44
Ed.Poore19-Oct-06 13:44 
GeneralRe: C# & mswinsock.ocx Pin
Shahin7720-Oct-06 4:29
Shahin7720-Oct-06 4:29 
GeneralRe: C# & mswinsock.ocx Pin
Ed.Poore21-Oct-06 8:00
Ed.Poore21-Oct-06 8:00 
Questionmember hiding question Pin
likefood19-Oct-06 10:11
likefood19-Oct-06 10:11 
AnswerRe: member hiding question Pin
Christian Graus19-Oct-06 10:19
protectorChristian Graus19-Oct-06 10:19 
GeneralRe: member hiding question Pin
likefood19-Oct-06 10:27
likefood19-Oct-06 10:27 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 10:42
protectorChristian Graus19-Oct-06 10:42 
GeneralRe: member hiding question Pin
likefood19-Oct-06 10:50
likefood19-Oct-06 10:50 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 10:58
protectorChristian Graus19-Oct-06 10:58 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:07
likefood19-Oct-06 11:07 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 11:17
protectorChristian Graus19-Oct-06 11:17 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:19
likefood19-Oct-06 11:19 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:18
likefood19-Oct-06 11:18 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 11:24
protectorChristian Graus19-Oct-06 11:24 
AnswerRe: member hiding question Pin
jjansen19-Oct-06 20:44
jjansen19-Oct-06 20:44 

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.