Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
AnswerRe: Find file lock on share Pin
kubben12-Apr-07 5:46
kubben12-Apr-07 5:46 
GeneralRe: Find file lock on share Pin
teejayem12-Apr-07 15:17
teejayem12-Apr-07 15:17 
AnswerRe: Find file lock on share Pin
Dave Kreskowiak12-Apr-07 5:49
mveDave Kreskowiak12-Apr-07 5:49 
QuestionMemberwise Compare? Pin
peterchen12-Apr-07 4:54
peterchen12-Apr-07 4:54 
AnswerRe: Memberwise Compare? Pin
Martin#12-Apr-07 5:16
Martin#12-Apr-07 5:16 
AnswerRe: Memberwise Compare? Pin
Not Active12-Apr-07 7:42
mentorNot Active12-Apr-07 7:42 
GeneralRe: Memberwise Compare? Pin
peterchen12-Apr-07 8:21
peterchen12-Apr-07 8:21 
GeneralRe: Memberwise Compare? Pin
AlwiNus14-Apr-07 12:28
AlwiNus14-Apr-07 12:28 
QuestionListview problem... Pin
Support12312-Apr-07 4:33
Support12312-Apr-07 4:33 
AnswerRe: Listview problem... Pin
Judah Gabriel Himango12-Apr-07 4:39
sponsorJudah Gabriel Himango12-Apr-07 4:39 
GeneralRe: Listview problem... Pin
Support12312-Apr-07 6:18
Support12312-Apr-07 6:18 
QuestionExcel/Word question Pin
Super Lloyd12-Apr-07 4:30
Super Lloyd12-Apr-07 4:30 
AnswerRe: Excel/Word question Pin
Matthew Cuba12-Apr-07 4:50
Matthew Cuba12-Apr-07 4:50 
GeneralRe: Excel/Word question Pin
Super Lloyd12-Apr-07 4:54
Super Lloyd12-Apr-07 4:54 
GeneralRe: Excel/Word question Pin
Dan Neely12-Apr-07 4:58
Dan Neely12-Apr-07 4:58 
QuestionHow to store settings in a windows apllication? Pin
Soulprovider12-Apr-07 4:20
Soulprovider12-Apr-07 4:20 
AnswerRe: How to store settings in a windows apllication? Pin
Judah Gabriel Himango12-Apr-07 4:38
sponsorJudah Gabriel Himango12-Apr-07 4:38 
GeneralRe: How to store settings in a windows apllication? Pin
Soulprovider12-Apr-07 4:59
Soulprovider12-Apr-07 4:59 
QuestionAnyone know of a free auto-scheduler? Pin
Goalie3512-Apr-07 4:08
Goalie3512-Apr-07 4:08 
AnswerRe: Anyone know of a free auto-scheduler? Pin
Matthew Cuba12-Apr-07 4:30
Matthew Cuba12-Apr-07 4:30 
QuestionSteps to send an email from ASP.NET application Pin
KKrista12-Apr-07 3:00
KKrista12-Apr-07 3:00 
AnswerRe: Steps to send an email from ASP.NET application Pin
Sathesh Sakthivel12-Apr-07 3:06
Sathesh Sakthivel12-Apr-07 3:06 
GeneralRe: Steps to send an email from ASP.NET application Pin
KKrista12-Apr-07 3:11
KKrista12-Apr-07 3:11 
GeneralRe: Steps to send an email from ASP.NET application Pin
Sathesh Sakthivel12-Apr-07 3:22
Sathesh Sakthivel12-Apr-07 3:22 
(1)Specify a valid mail server for the SmtpMail.SmtpServer property. If that property is not set, at least set it to 127.0.0.1. For example:
SmtpMail.SmtpServer = "127.0.0.1"

(2)If you are using "localhost" or "127.0.0.1" as the SmtpMail.SmtpServer, you may not have permissions to relay through the IIS SMTP Service. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Relay button. In the Relay Restrictions dialog, grant your IP address (127.0.0.1) to the Computers listbox. Close down all dialogs, and restart the SMTP Service.

(3)If you are using "localhost" or "127.0.0.1" as the SmtpMail.SmtpServer, make sure Anonymous access is allowd. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Authentication button. Be sure "Anonymous Access" is the only checkbox checked. Close down all dialogs, and restart the SMTP Service.

(4)The email address does not have a valid TO address. After iterating through the InnerExceptions, you may find this error message actually has to do with relaying. Try sending a test email to an email address that exists on the server specified by SmtpMail.SmtpServer. If you can send an email to that server, then it is a relay issue. Talk to your mail server administrator about letting your code relay through the mail server.

(5)Use a real FROM address that exists on the SmtpMail.SmtpServer. Do not use something like "asdf@asdf.com", or some other bogus address as your MailMessage.FromProperty. More advanced mail servers will catch this, and will deny relaying.


Regards,

Satips.

GeneralRe: Steps to send an email from ASP.NET application Pin
KKrista12-Apr-07 18:58
KKrista12-Apr-07 18:58 

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.