Solved

Visual C++ Attach File to Email

Posted on 2009-05-13
1
322 Views
Last Modified: 2013-12-14
I need to automate reporting with C++ programs I built in Visual Studios. In the past, I have used the CFastSmtp class to send out emails. However, I now need to attach text files to the outgoing emails, but CFastSmtp does not seem to have this capability.

Does CFastSmtp have the capability to attach files to emails? If not, how can I achieve this task?
0
Comment
Question by:nicoleheritage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 49

Accepted Solution

by:
DanRollins earned 500 total points
ID: 24381423
According to the doc, CFasSmpt does not support attachments.
I recommend:

    MFC class to support the SMTP protocol
    http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=148&lngWId=3
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VS2008 C++ memory leaks and how to fix them 7 212
edit html 3 153
Visual Studio 2013:  Cannot register DLL assembly (COM visible) when building the project 3 684
Syntax Error 2 115
In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question