Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey24-Jul-04 3:16
johnstacey24-Jul-04 3:16 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Dave Kreskowiak24-Jul-04 4:56
mveDave Kreskowiak24-Jul-04 4:56 
GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey25-Jul-04 13:34
johnstacey25-Jul-04 13:34 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Dave Kreskowiak25-Jul-04 15:54
mveDave Kreskowiak25-Jul-04 15:54 
GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey4-Aug-04 0:22
johnstacey4-Aug-04 0:22 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Small Rat24-Jul-04 5:55
Small Rat24-Jul-04 5:55 
GeneralSave text file as html Pin
kloepper23-Jul-04 11:40
kloepper23-Jul-04 11:40 
GeneralC# services security Pin
TalkingBabb0t23-Jul-04 10:13
TalkingBabb0t23-Jul-04 10:13 
GeneralFilewatcher, additional need to monitor User making changes Pin
Ruchi Gupta23-Jul-04 6:06
Ruchi Gupta23-Jul-04 6:06 
GeneralRe: Filewatcher, additional need to monitor User making changes Pin
Heath Stewart23-Jul-04 9:23
protectorHeath Stewart23-Jul-04 9:23 
GeneralEmergency. problems in serial communication Pin
wk_vigorous23-Jul-04 5:50
wk_vigorous23-Jul-04 5:50 
GeneralRe: Emergency. problems in serial communication Pin
Heath Stewart23-Jul-04 9:28
protectorHeath Stewart23-Jul-04 9:28 
GeneralRe: Emergency. problems in serial communication Pin
Nick Parker23-Jul-04 11:08
protectorNick Parker23-Jul-04 11:08 
GeneralRe: Emergency. problems in serial communication Pin
Heath Stewart23-Jul-04 11:12
protectorHeath Stewart23-Jul-04 11:12 

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.