SSRS email report job uses wrong content type for PDFs -


i have ssrs (2012) configured auto send reports in pdf format. in gmail (android), cannot click on reports open. need save drive , open drive. (outlook can open though)

i think problem content type wrong.

it sends out as: content-type: application/octet-stream; name="application/pdf"

it should be: content-type: application/pdf; name="application/pdf"

can assist on how fix this? thanks, zev.

headers email. pdf attachment ssrs attached when sent it.

----boundary_2_ee6bd0fc-4e77-432e-81f4-b678737c8c05 content-type: application/octet-stream; name="application/pdf" content-transfer-encoding: base64 content-id: <770d9496-f9ed-45cf-8e20-37667a2cd081> content-disposition: attachment; filename="=?utf-8?b?rw1wbg95zwvzq2xvy2tlzelurhluyw1py0dyb3vwaw5numvwb3j0lnbkzg==?="

according this post, e-mail gets wrong content type when gets' modified post-ssrs:

update on - after experimentation found e-mail gets malformed when modifying in transit after has left ssrs server (i.e. gateways adding disclaimers).

this doesn't explain why issue seems have started ssrs 2012, though.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -