Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
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 
QuestionRuntime DatagridView CheckedBox on VS2005 Pin
msogun12-Apr-07 2:28
msogun12-Apr-07 2:28 
QuestionError:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e Pin
Farhan Ali12-Apr-07 2:15
Farhan Ali12-Apr-07 2:15 
AnswerRe: Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e Pin
Sathesh Sakthivel12-Apr-07 2:47
Sathesh Sakthivel12-Apr-07 2:47 
GeneralRe: Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e Pin
Farhan Ali12-Apr-07 20:21
Farhan Ali12-Apr-07 20:21 
GeneralRe: Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e Pin
NaveenSoftwares17-Oct-10 23:36
NaveenSoftwares17-Oct-10 23:36 
QuestionHow to quickly add large amount of rows in datagridview control? Pin
Affan Toor12-Apr-07 2:08
Affan Toor12-Apr-07 2:08 
AnswerRe: How to quickly add large amount of rows in datagridview control? Pin
Matthew Cuba12-Apr-07 4:46
Matthew Cuba12-Apr-07 4:46 
AnswerRe: How to quickly add large amount of rows in datagridview control? Pin
Dave Kreskowiak12-Apr-07 5:00
mveDave Kreskowiak12-Apr-07 5:00 
GeneralRe: How to quickly add large amount of rows in datagridview control? Pin
Affan Toor12-Apr-07 5:09
Affan Toor12-Apr-07 5:09 
GeneralRe: How to quickly add large amount of rows in datagridview control? Pin
Dave Kreskowiak12-Apr-07 5:46
mveDave Kreskowiak12-Apr-07 5:46 
Questionhow to identify the remote client connection (remoting) Pin
cignox112-Apr-07 0:42
cignox112-Apr-07 0:42 
GeneralC# decompilation Pin
hairy_hats12-Apr-07 0:27
hairy_hats12-Apr-07 0:27 
GeneralRe: C# decompilation Pin
Pete O'Hanlon12-Apr-07 0:46
mvePete O'Hanlon12-Apr-07 0:46 
GeneralRe: C# decompilation Pin
hairy_hats12-Apr-07 1:31
hairy_hats12-Apr-07 1:31 
GeneralRe: C# decompilation Pin
peterchen12-Apr-07 5:05
peterchen12-Apr-07 5:05 
GeneralRe: C# decompilation Pin
Christian Graus12-Apr-07 0:47
protectorChristian Graus12-Apr-07 0:47 

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.