Click here to Skip to main content
15,903,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog placement... Pin
Neha14-Nov-02 0:52
Neha14-Nov-02 0:52 
GeneralRe: Dialog placement... Pin
Christian Graus14-Nov-02 1:01
protectorChristian Graus14-Nov-02 1:01 
GeneralRe: Dialog placement... Pin
benjymous14-Nov-02 1:12
benjymous14-Nov-02 1:12 
GeneralRe: Dialog placement... Pin
Neha14-Nov-02 1:25
Neha14-Nov-02 1:25 
GeneralRe: Dialog placement... Pin
benjymous14-Nov-02 2:26
benjymous14-Nov-02 2:26 
GeneralRe: Dialog placement... Pin
Neha14-Nov-02 2:53
Neha14-Nov-02 2:53 
GeneralRe: Dialog placement... Pin
benjymous14-Nov-02 3:12
benjymous14-Nov-02 3:12 
QuestionHow to invoke the default mail client from VC Pin
Deepti13-Nov-02 23:45
Deepti13-Nov-02 23:45 
Hello,

Problem description:
Send information from the program using the default mail client.
Browsing through MSDN, one possible way seems to be using the CSMTPConnection and CMimeMessage Classes from the ATL Server library.
Is there an alternate method?

I have tried similar stuff in VB. The code for the same is attached. However it limits the mail client to Outlook.
*********************************************
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olMailItem)
Set myAttachments = myItem.Attachments
myAttachments.Add "C:\Hello.txt", olByValue, 1, "Hello World"
Set myRecipient = myItem.Recipients.Add("rainadeepti@rediffmail.com")
'save the item before sending it off.
myItem.Save
myItem.Display
*********************************************

Thanks in advance.



Regards,
Deepti
AnswerRe: How to invoke the default mail client from VC Pin
Alexinuk14-Nov-02 4:22
Alexinuk14-Nov-02 4:22 
GeneralRe: How to invoke the default mail client from VC Pin
Deepti14-Nov-02 19:44
Deepti14-Nov-02 19:44 
GeneralRe: How to invoke the default mail client from VC Pin
Alexinuk14-Nov-02 21:26
Alexinuk14-Nov-02 21:26 
GeneralRe: How to invoke the default mail client from VC Pin
Deepti15-Nov-02 1:50
Deepti15-Nov-02 1:50 
QuestionBind NULL ip address and port 0 to a socket? Pin
George213-Nov-02 23:06
George213-Nov-02 23:06 
AnswerRe: Bind NULL ip address and port 0 to a socket? Pin
NormDroid15-Nov-02 9:07
professionalNormDroid15-Nov-02 9:07 
GeneralRe: Bind NULL ip address and port 0 to a socket? Pin
George215-Nov-02 18:48
George215-Nov-02 18:48 
Generaladding shortcut Pin
udayGovekar13-Nov-02 22:28
udayGovekar13-Nov-02 22:28 
GeneralRe: adding shortcut Pin
Iain Clarke, Warrior Programmer13-Nov-02 22:59
Iain Clarke, Warrior Programmer13-Nov-02 22:59 
QuestionHow to connection MSFGrid to ADODC? Pin
YXF13-Nov-02 22:19
YXF13-Nov-02 22:19 
GeneralCSocket non-blocking Pin
Shamoon13-Nov-02 21:51
Shamoon13-Nov-02 21:51 
GeneralRe: CSocket non-blocking Pin
NormDroid15-Nov-02 9:08
professionalNormDroid15-Nov-02 9:08 
GeneralMFC custom controls Pin
s o v a n n13-Nov-02 21:21
s o v a n n13-Nov-02 21:21 
QuestionWhat is the difference between recv and recvfrom? Pin
George213-Nov-02 21:14
George213-Nov-02 21:14 
AnswerRe: What is the difference between recv and recvfrom? Pin
Christian Graus13-Nov-02 21:56
protectorChristian Graus13-Nov-02 21:56 
AnswerRe: What is the difference between recv and recvfrom? Pin
Tim Smith14-Nov-02 2:10
Tim Smith14-Nov-02 2:10 
GeneralRe: What is the difference between recv and recvfrom? Pin
George215-Nov-02 0:45
George215-Nov-02 0:45 

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.