Solved

Visual C++ Attach File to Email

Posted on 2009-05-13
1
314 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
1 Comment
 
LVL 49

Accepted Solution

by:
DanRollins earned 500 total points
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now