在MFC中使用Microsoft Outlook发送邮件
问题描述:
大家好,
任何人都知道如何使用MFC中的Microsoft Outlook发送带有附件的电子邮件...请指导我
谢谢
Hi all ,
Anybody know how to send an email with attacment using Microsoft outlook in MFC ... pls guide me
thank you
答
您可以使用ShellExecute()
方法打开Microsoft Outlook的exe
这个讨论论坛可能对您有帮助
使用ShellExecute()从VC ++/MFC应用程序发送邮件函数......... [以编程方式将附件添加到电子邮件中 [ ^ ]
如果不起作用,请将代码块发送到您进行所有这些活动的地方.
You may usedShellExecute()
method for opening the exe of Microsoft Outlook
This Forum of discussion may help you
sending mail from VC++/MFC application using ShellExecute() function......... [/--\]
______________________________________________________________________
And second thing is This Code project article may help
Programmatically adding attachments to emails[^]
If it not working please send code block where you do all this activities.
您好,
您应该看看MAPI.以下是一些链接,这些链接将为您提供所需的所有信息:
http://mfcmapi.codeplex.com/ [ ^ ]
另一个简单的MAPI类 [
Hi,
you should have a look at MAPI. Here are some links that will give you all the information needed:
http://mfcmapi.codeplex.com/[^]
Another simple MAPI class[^]