在MFC中使用Microsoft Outlook发送邮件 [英] To Send a mail using Microsoft outlook in MFC

查看:346
本文介绍了在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 used ShellExecute() 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[^]


这篇关于在MFC中使用Microsoft Outlook发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆