in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Save report to HTML to embed in an email body?

Last post 11/18/2008 11:24 AM by Masa Ito. 7 replies.
Page 1 of 1 (8 items)
Sort Posts:
Previous Next
  • 7/22/2007 7:09 AM

    Save report to HTML to embed in an email body?

    Is there a means to generate a report in memory and save it to an html string variable so that it can then be set as the body of an email?

  • 7/24/2007 8:31 AM In reply to

    Re: Save report to HTML to embed in an email body?

    Hello Mark,

    As far as I know, there is no way to assign a report's HTML output to the message body. The reason is that if a report contains some images, it produces not a single HTML file, but several files, because it creates a directory with all image files.

    I suggest that you send your reports as PDF via e-mail. You can find this example at http://devexpress.com/Help/Content.aspx?help=XtraReports&document=CustomDocument2543.htm.

    @.
    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 7/24/2007 8:42 AM In reply to

    Re: Save report to HTML to embed in an email body?

    Mark

    I was watching this, hoping someone would offer a nice answer - but ...

    I was using PowerTCP's mail component for a little while, which offered a VERY simple way to send the devex reports with the images/html embedded ... http://www.powertcp.com/ptmlnet.aspx  I am mentioning it here since I don't think the PowerTCP controls compete with devex.  Hope that is ok.

    Embedding the HTML (with images) is so much nicer than an attachment.  I think devex should consider offering this.

  • 7/25/2007 9:38 AM In reply to

    Re: Save report to HTML to embed in an email body?

    Hello Masa Ito,

    Could you please send us some results of how PowerTCP's mail component embeds our reports into e-mails as HTML with images, so that we can investigate whether it's possible to do this at our side? This would be greatly appreciated!

    @.
    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 7/25/2007 11:01 AM In reply to

    Re: Save report to HTML to embed in an email body?

    Alan (Developer Express):

    Could you please send us some results of how PowerTCP's mail component embeds our reports into e-mails as HTML with images, so that we can investigate whether it's possible to do this at our side? This would be greatly appreciated!

    I don't have access to the PowerTCP component any longer, but it wasn't long ago I was using it, and it works fine using the 30 day demo.  I believe I exported to html from the report, and in the powertcp mail component I would instantiate a new 'mail', and point it at the html file.  I presume it 'automagically' rewrites the html to embed the images and update the references. 

    If devex could make this happen I know it would be very popular.   The XtraReports looked great showing up in the emails - form emails, e-zines etc. could all be created using XtraReports.

  • 7/30/2007 4:09 AM In reply to

    Re: Save report to HTML to embed in an email body?

    I have already requested this feature some time ago.
     
    Add your vote here
     
    I would have thought it would be quite simple because it's very similar to the Export to MHT option.
    "Masa Ito" wrote in message news:189449@community.devexpress.com...

    Alan (Developer Express):

    Could you please send us some results of how PowerTCP's mail component embeds our reports into e-mails as HTML with images, so that we can investigate whether it's possible to do this at our side? This would be greatly appreciated!

    I don't have access to the PowerTCP component any longer, but it wasn't long ago I was using it, and it works fine using the 30 day demo.  I believe I exported to html from the report, and in the powertcp mail component I would instantiate a new 'mail', and point it at the html file.  I presume it 'automagically' rewrites the html to embed the images and update the references. 

    If devex could make this happen I know it would be very popular.   The XtraReports looked great showing up in the emails - form emails, e-zines etc. could all be created using XtraReports.



    http://community.devexpress.com//forums/p/56131/189449.aspx#189449

  • 7/31/2007 8:38 PM In reply to

    Re: Save report to HTML to embed in an email body?

    I added my vote - thanks for the link!   Hope many others do too!

  • 11/18/2008 11:24 AM In reply to

    Re: Save report to HTML to embed in an email body?

    Emailing reports as HTML emails hasn't been done by devex yet.  I hope many others will 'vote' for this feature - it would be very helpful.

    In the meantime, I know the 3rd party email vendor mentioned earlier works pretty easily.   I am wondering if anyone has tried any others?  Also, .NET 3.5 handles things manually a little easier, so someone with better skills than mine might be able to write some code to modify the HTML generated by devex export.

    I heard good things about Chilkat - anyone tried their mail tools with devex reports?

Page 1 of 1 (8 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED