Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Getting "The specified media type is invalid" when sending a mail with programatically attached pdf

$
0
0

Hi,

I have a solution where I get a pdf from an online service within an xml that I extract and add to an email as an attachment with a plugin. When I try to send the email from the GUI I get "an unexpected error" and the trace tells me that "The specified media type is invalid.". When I open the attached pdf it looks ok, I can save it, remove the attachment and reattach the saved file, and when I click send after these steps, the email is sent ok.

How do I get around this?

Thanks


Rickard Norström Developer CRM-Konsulterna
http://www.crmkonsulterna.se
Swedish Dynamics CRM Forum: http://www.crmforum.se
My Blog: http://rickardnorstrom.blogspot.se


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>