Solved

Email Data Report

Posted on 2002-03-07
5
187 Views
Last Modified: 2010-05-18
Hello,

A few questions, but if answered I will award 300 points.

(1) Is is possible to send a data report via email? If so, how can this be accomplished? If not, could somebody offer suggestions on how I can send an email that is properly formatted (columns aligned, etc.).

I have a form that uses tab and spaces between the variables, but it looks "crappy" when a value is very long in length -- it pushes the next column over.

(2) Also, is it possible to get an image file to export with a data report.

Thank you!
0
Comment
Question by:especht
5 Comments
 
LVL 1

Expert Comment

by:cchenoweth
ID: 6847317
You can use CDO or CDONTS.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_olemsg_overview_of_cdo.asp?frame=true

You can do all the things you talked about with it.

Personally, I prefer the .NET smtp engine.

0
 

Author Comment

by:especht
ID: 6886253
cchenoweth,

Thanks for the suggestion, but is there a way to perform this without using CDONTS?

I have been working on sending the report as an attachment. It works great, but I cannot get the SMTP connection to close.

Thanks again,
especht
0
 
LVL 16

Expert Comment

by:twalgrave
ID: 7753449
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- refund/PAQ
Please leave any comments here within the
next seven days.
0
 

Author Comment

by:especht
ID: 7756669
Thanks twalgrave...sounds good to me.

especht
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7809601
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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