Unable to cast object while using RichMail

Unable to cast object while using RichMail

  

Symptoms:

While using RichMail to send files/images the following error message appears:
  • Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'.

Cause:

The URL that is being provided to upload the files/images is not in HTTP format has required by the RichMail Extension.


Resolution:

To solve this we have to:
  • Use an HTTP URL path instead of the one used before.

-----------------------------------------------------
Best Regards

Carlos Cabral