Click here to Skip to main content
15,888,802 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to referenc functions in other code file Pin
obelisk2916-Feb-04 11:23
obelisk2916-Feb-04 11:23 
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 11:28
klufy16-Feb-04 11:28 
GeneralRe: How to referenc functions in other code file Pin
Heath Stewart17-Feb-04 2:58
protectorHeath Stewart17-Feb-04 2:58 
Generalcreating an app to track user input Pin
kym34516-Feb-04 8:06
kym34516-Feb-04 8:06 
GeneralRe: creating an app to track user input Pin
CWIZO16-Feb-04 8:17
CWIZO16-Feb-04 8:17 
GeneralRe: creating an app to track user input Pin
apferreira16-Feb-04 13:18
apferreira16-Feb-04 13:18 
GeneralSMTP Help Pin
mina_aziz16-Feb-04 7:00
mina_aziz16-Feb-04 7:00 
GeneralRe: SMTP Help Pin
Heath Stewart16-Feb-04 9:31
protectorHeath Stewart16-Feb-04 9:31 
mina_aziz wrote:
1) is there a better way to get the mail exchange of a server other than nslookup ???

Programmatically. There is a couple examples of this, including A Managed C++ Email Validator Control for ASP.NET
[^]. It's in Managed C++, but if you truly understand .NET programming, you should have a problem at all translating it to C#.

mina_aziz wrote:
2) how to send to a a recipient not on this server (i connect- with a socket- to yahoo and i want to send a mail to hotmail) ,or i have to connect to the appropriate server for each reciepient ??

No, not unless they allow relaying to other domains, which most SMTP servers don't (that's how SPAM spreads and why should their server be burdened with it). The reason that MX records exist is so that SMTP clients connect to the mail server for a domain. The DNS administrator must make sure that the SMTP servers he sets as the MX records for a domain will relay for that domain.

mina_aziz wrote:
3) when i send data to yahoo the no text appeares on the message. in spite it did on hotmail and others

Without an example, who could tell you what's wrong?! Be more specific. More than likely, you're using an invalid MIME type with a multi-part MIME email. For a simple test, all you need to do is this:
$ telnet mail.domain.com 25
HELO host.mydomain.com
MAIL FROM: username@mydomain.com
RCPT TO: username@domain.com
DATA
Subject: Testing
 
This is a test
.
QUIT
This is the most basic email and if it doesn't work, then Yahoo! has a problem (which I HIGHLY doubt).

 

Microsoft MVP, Visual C#
My Articles
GeneralASP.NET and slider controls Pin
julian_l16-Feb-04 6:54
julian_l16-Feb-04 6:54 
GeneralRe: ASP.NET and slider controls Pin
Heath Stewart16-Feb-04 9:22
protectorHeath Stewart16-Feb-04 9:22 
GeneralPrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 5:13
amadeonMk16-Feb-04 5:13 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart16-Feb-04 6:54
protectorHeath Stewart16-Feb-04 6:54 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 21:10
amadeonMk16-Feb-04 21:10 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart17-Feb-04 2:54
protectorHeath Stewart17-Feb-04 2:54 
GeneralText smoothing in a single application Pin
jremignanti16-Feb-04 4:19
jremignanti16-Feb-04 4:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 6:43
protectorHeath Stewart16-Feb-04 6:43 
GeneralRe: Text smoothing in a single application Pin
jremignanti16-Feb-04 7:19
jremignanti16-Feb-04 7:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 8:52
protectorHeath Stewart16-Feb-04 8:52 
GeneralUsing breakpoints with DirectDraw 9.0 Pin
Jean Bédard16-Feb-04 3:57
Jean Bédard16-Feb-04 3:57 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
Mazdak16-Feb-04 4:27
Mazdak16-Feb-04 4:27 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
Heath Stewart16-Feb-04 6:32
protectorHeath Stewart16-Feb-04 6:32 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
leppie16-Feb-04 6:41
leppie16-Feb-04 6:41 
GeneralLoading a DLL Dynamically Pin
draco_iii16-Feb-04 3:37
draco_iii16-Feb-04 3:37 
GeneralRe: Loading a DLL Dynamically Pin
partyganger16-Feb-04 3:41
partyganger16-Feb-04 3:41 
GeneralSingle quotes in query Pin
Reinier van de Wetering16-Feb-04 1:33
Reinier van de Wetering16-Feb-04 1:33 

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.