Solved

Send Dynamic Pages By Email

Posted on 2012-03-25
3
308 Views
Last Modified: 2012-06-22
I have a web app that generates report cards for online viewing.  The school wants to be able to email these report cards as web pages, sans security.  This could be tough to do as a result of the session variables that are set when a user logs on to the site.  Is there a clean way to do this (with cdo sys I assume?)?  Is there a way to create the report, convert it to a pdf, and send it off in one fell swoop?  Is the only real option to use fso and send them as text files?  Is it even a good idea to do this?  Would it be better to simply send an email that says the report cards are online via their secure log in to the site?  Any thoughts and/or advice is much appreciated.

Thanks for creating such an awesome resource...well worth my money!
0
Comment
Question by:Bob Schneider
3 Comments
 
LVL 28

Assisted Solution

by:sammySeltzer
sammySeltzer earned 250 total points
ID: 37765815
Would it be better to simply send an email that says the report cards are online via their secure log in to the site?

This seems to me, as the most logical approach.

You could use Microsoft word as an attachment.

This method is not really hard but very tedious because it requires carefully formatting and styling a table, saving a copy on your server, then streaming data into this word document, grab it and email as an attachment.

Finally, deleting the copy you just emailed.

At least that's how I would handle it.

It isn't really pretty.
0
 
LVL 25

Accepted Solution

by:
TempDBA earned 250 total points
ID: 37776689
Check out the following link. But, you need to create a SSRS report. You have even got an advantage of sending the report via different rendering process.

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27458276.html
0
 

Author Closing Comment

by:Bob Schneider
ID: 37786343
Given the complexity of the report, I think the thing to do is to just send email notification that it is available online.  Thanks for the time!!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

789 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