all groups > sql server reporting services > january 2005 >
You're in the

sql server reporting services

group:

Sending HTML Email with return from ReportingService.Render (web service)?


Sending HTML Email with return from ReportingService.Render (web service)? Jeffrey
1/23/2005 11:02:23 AM
sql server reporting services:
Is there a way to take the return from ReportingService.Render MHTML
format and email it using CDO?? I've tried rendering in MHTML and then
emailing that but it seems to make everything an attachment.
Re: Sending HTML Email with return from ReportingService.Render (web service)? Daniel Reib [MSFT]
1/24/2005 10:04:10 AM
The MHTML format is an email message. It is just missing the to header. I
don't think there is a way to just give that to CDO to have it mailed. You
could crack the file and add the to header and then drop it in the local
pickup directory (you might need the from header as well for the message to
be forwarded) of a local SMTP, which would then forward the message.

Is there a reason you can't use the provided email delivery system?

--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Re: Sending HTML Email with return from ReportingService.Render (web service)? Jeffrey
1/24/2005 5:49:56 PM
I figured the problem out. After I made the CDO message, I needed to
strip out the MIME header attributes in content-type and
content-disposition that made it come across as an attachment.

I can't use the provided email delivery system since I need to track
each email and act upon success or failure.
AddThis Social Bookmark Button