Link to home
Start Free TrialLog in
Avatar of especht
especht

asked on

Email Data Report

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!
Avatar of cchenoweth
cchenoweth

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.

Avatar of especht

ASKER

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
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.
Avatar of especht

ASKER

Thanks twalgrave...sounds good to me.

especht
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial