Click here to Skip to main content
15,917,586 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaludp sockets Pin
Usman Tasleem Akshaf4-Jun-05 22:59
Usman Tasleem Akshaf4-Jun-05 22:59 
GeneralRe: udp sockets Pin
S Douglas4-Jun-05 23:06
professionalS Douglas4-Jun-05 23:06 
GeneralRe: udp sockets Pin
Usman Tasleem Akshaf5-Jun-05 4:11
Usman Tasleem Akshaf5-Jun-05 4:11 
GeneralRe: udp sockets Pin
S Douglas5-Jun-05 4:23
professionalS Douglas5-Jun-05 4:23 
Generalunc Pin
Usman Tasleem Akshaf4-Jun-05 22:42
Usman Tasleem Akshaf4-Jun-05 22:42 
GeneralRe: unc Pin
S Douglas4-Jun-05 23:09
professionalS Douglas4-Jun-05 23:09 
Generalsend mail without email account Pin
Member 19862964-Jun-05 22:16
Member 19862964-Jun-05 22:16 
GeneralRe: send mail without email account Pin
Carsten Zeumer5-Jun-05 0:07
Carsten Zeumer5-Jun-05 0:07 
Sure it is possible.
There are two ways of sendinig an EMail:

1. use a relay server
if you chose this option you you need a SMTP server that does not need authentication. You can use the SMTP-Server that is part of Microsoft's IIS.
2. Send directly to the recipient
Just do a MX DNS lookup on the email adress and then send post the mail directly to the recipients mailserver using SMTP over port 25.

Then you need to create a mime message for the mail you'd like to send. (see rfc 822 for this).

Then you need to deliver the mail. Again two options:
1. if you use the IIS's SMTP server (or any other server that supports a drop directory) you can simply save you message to the mailserver's drop directory (C:\Inetpub\smptroot\pickup). The SMTP server will queue the mail and send it to the recipient.
2. open a connection on port 25 to the recpients mail server, send HELO etc...

An answer for the implementation details of MIME mails and the SMTP protocol would exceed the frame of the forum by far.

But as far as i remember there are good articles on both issues.



/cadi

24 hours is not enough
GeneralRe: send mail without email account Pin
ThatsAlok5-Jun-05 21:13
ThatsAlok5-Jun-05 21:13 
Questionsendto and recvfrom keep grouping packets together?? Pin
KellyR4-Jun-05 21:13
KellyR4-Jun-05 21:13 
AnswerRe: sendto and recvfrom keep grouping packets together?? Pin
Andrew Walker4-Jun-05 22:06
Andrew Walker4-Jun-05 22:06 
GeneralRe: sendto and recvfrom keep grouping packets together?? Pin
KellyR5-Jun-05 5:21
KellyR5-Jun-05 5:21 
GeneralDisabling toolbutton Pin
laiju4-Jun-05 21:06
laiju4-Jun-05 21:06 
GeneralRe: Disabling toolbutton Pin
PJ Arends4-Jun-05 21:35
professionalPJ Arends4-Jun-05 21:35 
GeneralRe: Disabling toolbutton Pin
laiju5-Jun-05 1:13
laiju5-Jun-05 1:13 
GeneralRe: Disabling toolbutton Pin
PJ Arends6-Jun-05 10:27
professionalPJ Arends6-Jun-05 10:27 
QuestionBooks for windows graphics programming??? Pin
VikramDelhi4-Jun-05 20:38
VikramDelhi4-Jun-05 20:38 
GeneralVC and DOS Pin
Usman Tasleem Akshaf4-Jun-05 17:57
Usman Tasleem Akshaf4-Jun-05 17:57 
GeneralRe: VC and DOS Pin
Ravi Bhavnani4-Jun-05 18:11
professionalRavi Bhavnani4-Jun-05 18:11 
Generalvisual c++ 2003 "Go To Reference" disabled Pin
Anonymous4-Jun-05 17:36
Anonymous4-Jun-05 17:36 
GeneralRe: visual c++ 2003 "Go To Reference" disabled Pin
Nilesh K.5-Jun-05 23:06
Nilesh K.5-Jun-05 23:06 
GeneralSerialization between 32 and 64 bits Pin
nemo4-Jun-05 9:05
nemo4-Jun-05 9:05 
GeneralAfxGetApp()->m_pMainWnd in a DLL? [Edit] Pin
Mitch F.4-Jun-05 6:58
Mitch F.4-Jun-05 6:58 
GeneralRe: AfxGetApp()->m_pMainWnd in a DLL? [Edit] Pin
PJ Arends4-Jun-05 9:52
professionalPJ Arends4-Jun-05 9:52 
GeneralRe: AfxGetApp()->m_pMainWnd in a DLL? [Edit] Pin
ThatsAlok5-Jun-05 17:51
ThatsAlok5-Jun-05 17:51 

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.