Q: How to use Poco::Net::MediaType I need to be able to create a multipart mail message including images.
I found this suggestion Sending HTML code in a mail using Poco library but when I try this with VS2015/Windows/C++
Poco::Net::MediaType mediaType("multipart", "related");
I get 
Error   C2440   'initializing': cannot convert from 'initializer list' to 'int' AdvancedEmailer
Error   C2079   'mediaType' uses undefined class 'Poco::Net::MediaType' AdvancedEmailer 
I've looked at https://pocoproject.org/docs/Poco.Net.MailMessage.html but I can't figure out what's wrong
whats the correct usage for Poco::Net::MediaType
