Click here to Skip to main content
15,906,574 members
Home / Discussions / C#
   

C#

 
GeneralXML Data Pin
Anonymous24-Jul-04 10:16
Anonymous24-Jul-04 10:16 
QuestionHow to prevent WebBrowser control correspond to click event twice after loads html file twice? Pin
nakey_yang24-Jul-04 8:40
nakey_yang24-Jul-04 8:40 
GeneralMicrosoft SQL Server Express Pin
Marlun24-Jul-04 5:30
Marlun24-Jul-04 5:30 
GeneralRe: Microsoft SQL Server Express Pin
Dave Kreskowiak24-Jul-04 9:21
mveDave Kreskowiak24-Jul-04 9:21 
GeneralRe: Microsoft SQL Server Express Pin
Grimolfr25-Jul-04 2:45
Grimolfr25-Jul-04 2:45 
GeneralRe: Microsoft SQL Server Express Pin
Marlun25-Jul-04 6:22
Marlun25-Jul-04 6:22 
GeneralWinforms Controls Pin
Mankayarkarasi24-Jul-04 2:28
Mankayarkarasi24-Jul-04 2:28 
GeneralRe: Winforms Controls Pin
DougW4825-Jul-04 19:36
DougW4825-Jul-04 19:36 
GeneralRe: Winforms Controls Pin
Mankayarkarasi29-Jul-04 0:43
Mankayarkarasi29-Jul-04 0:43 
GeneralBudding Programmer Pin
doctrane23-Jul-04 23:13
doctrane23-Jul-04 23:13 
GeneralRe: Budding Programmer Pin
softp_vc23-Jul-04 23:51
softp_vc23-Jul-04 23:51 
GeneralRe: Budding Programmer Pin
doctrane24-Jul-04 0:46
doctrane24-Jul-04 0:46 
GeneralRe: Budding Programmer Pin
Rocky Moore24-Jul-04 11:04
Rocky Moore24-Jul-04 11:04 
GeneralClosing Form after FormLoad Event Pin
myNameIsRon23-Jul-04 20:47
myNameIsRon23-Jul-04 20:47 
GeneralRe: Closing Form after FormLoad Event Pin
Dave Kreskowiak24-Jul-04 5:05
mveDave Kreskowiak24-Jul-04 5:05 
GeneralRe: Closing Form after FormLoad Event Pin
myNameIsRon25-Jul-04 12:08
myNameIsRon25-Jul-04 12:08 
GeneralHandling e-mail as files Pin
Grimolfr23-Jul-04 18:55
Grimolfr23-Jul-04 18:55 
GeneralRe: Handling e-mail as files Pin
Heath Stewart26-Jul-04 8:01
protectorHeath Stewart26-Jul-04 8:01 
GeneralRe: Handling e-mail as files Pin
Grimolfr26-Jul-04 11:40
Grimolfr26-Jul-04 11:40 
GeneralRe: Handling e-mail as files Pin
Heath Stewart26-Jul-04 11:53
protectorHeath Stewart26-Jul-04 11:53 
GeneralRe: Handling e-mail as files Pin
Grimolfr26-Jul-04 12:31
Grimolfr26-Jul-04 12:31 
GeneralRe: Handling e-mail as files Pin
Heath Stewart27-Jul-04 3:28
protectorHeath Stewart27-Jul-04 3:28 
Most often than not, the problem is relaying. If your SMTP service is trying to send mail out address from a specific domain and the SMTP server to which you're communicating is not set up to rely for that domain, then you won't be able to send mail. The best way is to make sure that DNS resolves correctly on the machine with Microsoft SMTP Service installed and do not forward to another SMTP server, but send mail directly to the recipient's SMTP server. If, for corporate reasons, you have to relay mail, make sure the corporate SMTP server(s) has/have relaying set up for your IP address and/or domain from which you're sending.

You should check out http://support.microsoft.com[^] or send mail through another SMTP service if you can't get yours fixed. Your current hack is just that - a hack. I wouldn't recommend using it in production. Fixing the SMTP service is your best option.

Also keep in mind that if you're using the System.Web.Mail.SmtpMail class, this actually uses CDO. Any CDO server - Microsoft Virtual SMTP Services, Microsoft Exchange, even Microsoft Outlook when configured correctly - will be used and only one can be the primary CDO service (it's a registered COM server). This is similar in concept to MAPI, except that MAPI is a client API for client programs, where CDO is more of a service (they're still both APIs for COM servers).

Not sure exactly what you're problem is, but I hope this helps.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Handling e-mail as files Pin
Grimolfr27-Jul-04 12:06
Grimolfr27-Jul-04 12:06 
GeneralIntercept Print Jobs From Other Apps Pin
johnstacey23-Jul-04 14:29
johnstacey23-Jul-04 14:29 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Small Rat23-Jul-04 18:56
Small Rat23-Jul-04 18:56 

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.