Click here to Skip to main content
15,902,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: video player from direct X Pin
jimmy2shoes2-Mar-08 23:34
jimmy2shoes2-Mar-08 23:34 
GeneralRe: video player from direct X Pin
Simon P Stevens2-Mar-08 23:38
Simon P Stevens2-Mar-08 23:38 
GeneralRe: video player from direct X Pin
jimmy2shoes2-Mar-08 23:39
jimmy2shoes2-Mar-08 23:39 
GeneralRe: video player from direct X Pin
Simon P Stevens3-Mar-08 0:30
Simon P Stevens3-Mar-08 0:30 
GeneralByte and bitArray Pin
half-life2-Mar-08 22:20
half-life2-Mar-08 22:20 
GeneralRe: Byte and bitArray Pin
Xmen Real 2-Mar-08 22:25
professional Xmen Real 2-Mar-08 22:25 
GeneralRe: Byte and bitArray Pin
half-life2-Mar-08 23:46
half-life2-Mar-08 23:46 
Generalsend e-mail Pin
wenshengluo2-Mar-08 22:17
wenshengluo2-Mar-08 22:17 
program:
System.Web.Mail.MailMessage myEmail = new System.Web.Mail.MailMessage();
System.Web.Mail.MailAttachment attach = new System.Web.Mail.MailAttachment(path + ".zip");
// SET MESSAGE PARAMETERS
myEmail.From= "ella@yahoo.com.cn";
myEmail.To = "sellina@yahoo.com.cn";
myEmail.Subject = "Product Availability Notice";
myEmail.BodyFormat = System.Web.Mail.MailFormat.Html;
myEmail.Body = "The sunglasses you expressed interest in are now in stock.";
myEmail.Attachments.Add(attach);
myEmail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
myEmail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "ella");
myEmail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "123456");

//SEND THE MESSAGE
System.Web.Mail.SmtpMail.SmtpServer = "smtp.mail.yahoo.com.cn";
System.Web.Mail.SmtpMail.Send(myEmail);

myEmail = null;
attach = null;
error:
System.Web.HttpException: demand the name of smtp server,but don't find in configure
GeneralRe: send e-mail Pin
Christian Graus2-Mar-08 22:35
protectorChristian Graus2-Mar-08 22:35 
GeneralRe: send e-mail Pin
wenshengluo2-Mar-08 22:54
wenshengluo2-Mar-08 22:54 
GeneralProperties VS Methods in OOPS Pin
Vimalsoft(Pty) Ltd2-Mar-08 22:05
professionalVimalsoft(Pty) Ltd2-Mar-08 22:05 
GeneralRe: Properties VS Methods in OOPS Pin
Navneet Hegde2-Mar-08 22:10
Navneet Hegde2-Mar-08 22:10 
GeneralRe: Properties VS Methods in OOPS Pin
Colin Angus Mackay2-Mar-08 22:44
Colin Angus Mackay2-Mar-08 22:44 
GeneralRe: Properties VS Methods in OOPS Pin
Navneet Hegde2-Mar-08 22:53
Navneet Hegde2-Mar-08 22:53 
GeneralRe: Properties VS Methods in OOPS Pin
Pete O'Hanlon2-Mar-08 23:23
mvePete O'Hanlon2-Mar-08 23:23 
GeneralRe: Properties VS Methods in OOPS Pin
Colin Angus Mackay2-Mar-08 22:47
Colin Angus Mackay2-Mar-08 22:47 
GeneralRe: Properties VS Methods in OOPS Pin
Vimalsoft(Pty) Ltd3-Mar-08 1:07
professionalVimalsoft(Pty) Ltd3-Mar-08 1:07 
GeneralRe: Properties VS Methods in OOPS Pin
Mark Churchill3-Mar-08 1:37
Mark Churchill3-Mar-08 1:37 
GeneralRe: Properties VS Methods in OOPS Pin
Vimalsoft(Pty) Ltd3-Mar-08 19:18
professionalVimalsoft(Pty) Ltd3-Mar-08 19:18 
GeneralRe: Properties VS Methods in OOPS Pin
J4amieC3-Mar-08 1:46
J4amieC3-Mar-08 1:46 
GeneralRe: Properties VS Methods in OOPS Pin
Vimalsoft(Pty) Ltd3-Mar-08 19:17
professionalVimalsoft(Pty) Ltd3-Mar-08 19:17 
Generalnew Char[] Pin
Navneet Hegde2-Mar-08 22:05
Navneet Hegde2-Mar-08 22:05 
GeneralRe: new Char[] Pin
phannon862-Mar-08 22:15
professionalphannon862-Mar-08 22:15 
GeneralRe: new Char[] Pin
ehuysamer2-Mar-08 22:19
ehuysamer2-Mar-08 22:19 
GeneralRe: new Char[] Pin
Xmen Real 2-Mar-08 22:22
professional Xmen Real 2-Mar-08 22:22 

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.