Hi, I was looking for a way to send email with embebed images programatically when I found DotNetOpenMail, which seems to be just what I nedd.
I am trying to execute the example but I always get the following error in the first statement (EmailMessage emailMessage = new EmailMessage();):
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
Additional information: Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Do you know what is it about?? I tried versions 5.6 and 5.7 with no progress. I tried the example in VB.Net also, but no results. I am using .Net Framework 1.1 .
Thanks in advance, and Happy New Year!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think there's some sort of conflict in your .net setup. It's referring to the machine.config in v1.0.3705 (i.e. .Net 1.0), so you might have to fool around with aspnet_regiis or else de-install 1.0 completely to get it working.
Hope that helps---happy new year!
-Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I was looking for a way to send email with embebed images programatically when I found DotNetOpenMail, which seems to be just what I nedd.
I am trying to execute the example but I always get the following error in the first statement (EmailMessage emailMessage = new EmailMessage();):
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
Additional information: Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Do you know what is it about?? I tried versions 5.6 and 5.7 with no progress. I tried the example in VB.Net also, but no results. I am using .Net Framework 1.1 .
Thanks in advance, and Happy New Year!
Hi-
I think there's some sort of conflict in your .net setup. It's referring to the machine.config in v1.0.3705 (i.e. .Net 1.0), so you might have to fool around with aspnet_regiis or else de-install 1.0 completely to get it working.
Hope that helps---happy new year!
-Mike