Crystal Reports Email

  • Thread starter Thread starter AlexB
  • Start date Start date
A

AlexB

As an alternative approach you may want to export the
report as a file (PDF, Excel or Word doc, etc) and create
and send the e-mail using .NET. There's a .NET class call
system.web.mail that includes sub-classes of MailMessage
and SmtpMail. I've never used them but it looks like
everything is there to create a message and send it.

Just a suggestion. Good luck.

-----Original Message-----
Hi
Does anyone knows how to send crystal report as email
attachment? It has to open outlook and attach crystal
report.
I am trying soemthing like as follows but it was giving errors.

CrystalDecisions.Shared.MicrosoftMailDestinationOptions m
= new
CrystalDecisions.Shared.MicrosoftMailDestinationOptions();
 
AlexB said:
As an alternative approach you may want to export the
report as a file (PDF, Excel or Word doc, etc) and create
and send the e-mail using .NET. There's a .NET class call
system.web.mail that includes sub-classes of MailMessage
and SmtpMail. I've never used them but it looks like
everything is there to create a message and send it.

It supports attachments, but if you need more advanced options such as
alternate encodings, or rich content mails it does not support that.
 
Back
Top