Skip navigation.

在公路上爬行

jiang's blog

使用SmtpMail类通过需要用户名和密码的smtp server发送邮件

asp.net 1.1支持

使用MailMessage.Fields属性可以实现要求:

message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", userName);
message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", userPassword);

什么时候应该使用 ==?什么时候应该使用 Equals?使用onPropertyChange属性

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31