如何使用MFC将文件附加到电子邮件 [英] how to attach a file to email using MFC
本文介绍了如何使用MFC将文件附加到电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好...
我正在做一个发送带有附件的邮件的程序,我使用SMTP将邮件发送到Outlook.我的问题是我使用CFileDialog dialog()创建了浏览窗口,发送邮件时未附加文件.
请在这方面帮助我.
在此先感谢..
Hi All...
I am doing a program to send mail with attachment ,i used SMTP to send the mail to outlook.My problem is i created the browse window using CFileDialog dialog()the file is not attached when the mail is sent.
Please help me in this regard.
Thanks in Advance..
推荐答案
mailto协议不支持附件.
因此,请使用 Mapi解决方案 [ ^ ].
这将帮助您解决问题.
Attatchment is not supported by the mailto protocol.
So Use Mapi Solutions[^].
This will help you to solve your problem.
这篇关于如何使用MFC将文件附加到电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文