How to send a custom email with an attached report based on variables with MS Access? 2003 or 2007 - email

I would need to send an email with standard text (but some custom parts like names and dates) with an attached pdf report generated with ms access. I prefer a solution for access 2003, but if it works on 2007 it's fine too.
Can be done directly from ms-access or I need some other apps/work?
thanks ;)

There are several articles that might come in handy to help you with this.
Creating PDF files from within Access
http://www.granite.ab.ca/access/pdffiles.htm
Report To PDF
http://www.lebans.com/reporttopdf.htm
Using Automation to Send a Microsoft Outlook Message
http://support.microsoft.com/?kbid=161088

Related

Sharepoint online - how to enable preview of Outlook emails?

The issue: we have a Document Library which is used for storing emails.
They are frequently viewed and constant download/open with Outlook takes a lot of extra time. We want to make them openable in browser or at least to be available for preview (like Word, Excel, PDF).
In SharePoint Server/Foundation this can achieved by altering Web Application Setting (Browser File Handling) but SharePoint Online lacks such configuration.
Do you know about any OOTB solution or JavaScript library that can help with that?
As far as I know there are no OOTB solutions or JavaScript libraries to help out.
There is a 3rd party tool that offers this capability. SLIM Companion is a browser-based tool that mimics SharePoint as Windows Explorer. It uses the standard functionality from Outlook to create msg files; when users upload msg files it automatically extracts email metadata and populates the corresponding SharePoint columns. Users can drag emails from Outlook to the desktop and then to SharePoint and the metadata is extracted. SLIM Companion previews msg files in SharePoint without opening Outlook, displaying it in the browser. Attachments can be opened directly without first downloading the msg file in Outlook. SLIM Companion consists of a single 200 kB html file and does not require any software installs on SharePoint or the user's computer. See https://www.linkedin.com/pulse/outlook-sharepoint-integration-using-browser-paul-h-k-de-jong or www.slimapplications.com for further details.
Paul de Jong | SLIM Applications

using word files as a template for crystal reports

my client wants the legal department to do all the mailing reports for this system. I want to use Crystal for the reports instead of the clients idea of developing a reports package from scratch. The hangup with crystal is their legal department wants to do the editing of the reports in Word and have a glorified mail merge generate the PDF files that goes off for printing.
Ive played with it for a while, is there a way that i can get Crystal to take in a word document as a template and basically replicate Word's mail merge but on Crystal Server so i have the report history?
Word can not natively act as a template for a RPT file. You could write an application that parses the DOC and applies it a pre-built report using the CR SDK.
I've used Word's mail-merge functionality in the past--it's fairly reliable.
You might also consider JangoMail too. Their email-merge functionality is pretty sophisticated.

Is there a way to get a reference to results after creating word documents using mail merge?

I'm using a VSTO 2010 AddIn to do a Word mail merge with WdMailMergeDestination being set to wdSendToNewDocument. Is there any way to get a reference to the newly created documents or even find out which data row was used to create each one?
Hi Christopher i am working on the same thing and so far i have managed to create an add-in for the outlook. So the Word mail merge completes and the mail in the Outlook outbox folder, right before being sent will attach the attachment of any type.
I am using this for mass scale i am talking about 5000-7000 mails at one go, and the add-in failed me, by attaching to only some emails its like on and off (my guess is the add-in not able to handle the heavy duty). So now i am going a bit further in to the solution by capturing the mailmerge object in the word. (btw i am using i am developing for 2007 should be no problem for 2010 as well)
So far i can suggest you this article that i managed to dig if you have a found a solution please do share tks.
http://support.microsoft.com/default.aspx?scid=kb;en-us;301659
P.S: I know that there are people selling this kind of software commercially.But its best if homebrewed!

Attaching files to an already open mail through VB.Net

I have a problem. I already have an outlook new mail message open. I need to programmatically attach files to the e-mail which is already open using vb.net. This is for a windows application. How could i do it? any ideas? please help!
The article here sounds specific to Outlook 2007 and VBA/Visual Basic, but is equally applicable to any Windows Application that wants to automate Outlook:
Automating Outlook from a Visual Basic Application [Outlook 2007 Developer Reference]:
http://msdn.microsoft.com/en-us/library/bb206737(office.12).aspx
Keep in mind the Caution disclaimer at the bottom over this "non-trusted" approach.
Once you're "in", you get get a handle to the active item via Application.ActiveInspector.CurrentItem. Then use MailItem.Attachments.Add.
You also need to keep this in mind:
Application Shutdown Changes in Outlook 2007 SP2:
http://msdn.microsoft.com/en-us/library/dd239276(office.12).aspx#ol2007AppLifecycle_ImpactforSolutions

Crystal Reports

my problem is that i have to mail crystal reports through outlook to different vendors. I've got the solution how to mail through outlook but the problem that i am facing now is that i have to attach the report and the report should be such that it shows details of a particular row from the database. i tried using .rpt file and attached it but since .rpt is a saved data the same data goes to all the vendors and not a different quotation.
The "rpt" file itself is just the definition of the report. It doesn't contain data. You'll have to run the report and export it in some file format, e.g. as PDF. You could attach that PDF file to your email.
Like splattne said...You would use a report parameter for the vendor. Set the parameter value before calling ReportDocument.ExportToDisk().
There are different options to do what you want. The most popular one is bursting. You will create a report wich returns information for all vendors and group data by vendor. Then use a software to parse and save this report to separate files per vendor, which will be emailed to the vendors' email address ( part of the report too).
If you have BOE you can use bursting publication, otherwise you can check this website for 3rd party solutions , which support bursting: http://kenhamady.com/cru/comparisons/desktop-scheduling-engines
Most of the solutions are paid, but there are generally affordable. There are some free options like this one:
http://www.r-tag.com/Pages/CommunityEdition.aspx