• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1419
  • Last Modified:

Calling Outlook 2000 from Crystal Reports 8.5 and ASP

I am using Crystal Reports 8.5 on a Windows 2000 Advanced Server with ASP. Is there a way to send a report to directly to Outlook connected to an Exchange Server from the ActiveX viewer either through code or some MAPI call? I see that the built-in export option on the viewer allows you to save as PDF, Word Doc and other file types but I would like to eliminate that extra step of saving then having to attach the file to email the report.
0
Dan_C
Asked:
Dan_C
  • 6
  • 3
1 Solution
 
mlmccCommented:
Yes you can.  You still attach the file but the export to MAPI does the creation and attachment.

I'll see if I can find an example.

mlmcc
0
 
dcraige27Commented:
You can go to FILE>OPTIONS then select the New Report Tab.  In the Mail Destination field, select Microsoft MAPI then click OK.

WHen you run the report, go to FILE>PRINT>MAIL.  Choose your format (PDF, XLS, etc.) and click OK.  Choose you page range and click OK.

Type the e-mail or choose the address button to see contacts in your default address book.  Enter subject and message info as appropriate and click send.

It's that easy.

Hope this helps.

dcraige27
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
Dan_CAuthor Commented:
If I use the MAPI option when I design the report I assume it will not come up in the ActiveX Viewer. So if the user wanted to print the report they would have to double click on the attachment to bring up the application (Word,Acrobat,Excel) to print from there? Or am I asking for to much to be able to do both.

Thanks
0
 
Dan_CAuthor Commented:
dcraige,

What you are referring to is the RDC (Report Designer Component) functionality, what I am referring to is the ActiveX Viewer that is used in a Active Server Page over the Intranet/WEB application. But that is the exactly what I need but Web based, I do not see that option on the export dialog on the viewer.

Thanks anyway
0
 
mlmccCommented:
Have you loaded the MAPI export dlls?

I don't think they get loaded by default.

The option available from the Export icon are the export methods you installed with CR.  You may need to do an update installation to add the MAPI export capability.

mlmcc
0
 
Dan_CAuthor Commented:
Every export option from the CR install was installed and I still do not have the MAPI option from the ActiveX Viewer over the Web.
0
 
mlmccCommented:
Do you have mail on that machine?  Was CR installed on that machine?

mlmcc
0
 
mlmccCommented:
Glad I could help

mlmcc
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now