Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. [VB.NET 2008] How to use OpenNETCF.Net.Mail?

[VB.NET 2008] How to use OpenNETCF.Net.Mail?

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestioncsharphardware
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steve_9496613
    wrote on last edited by
    #1

    Hi, I need to send mail (not receive) from my application running on Windows Embedded Compact 7 (Compact Framework 3.5). After a lot of googling and some test with EaSendMail, mailcf, cslmail... I found OpenNETCF that looks very promising but I'm not able to use it... I can use other component of OpenNETCF but not the one I need: OpenNETCF.Net.Mail. Simply my application doesn't compile when I add to the project a reference to OpenNETCF.Net.Mail.dll. To get this problem it is enough to create a new SmartDevice project (VS2008, VB.NET, CF3.5) and in the property of the project to add a reference to OpenNETCF.Net.Mail.dll: the project doesn't compile any more. I just get a warning about a version conflict and no error: Consider app.config remapping of assembly "System, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "2.0.0.0" [] to Version "3.5.0.0" [C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly. Searching info about that warning I found that it is "safe" to ignore it because the OpenNETCF version that I'm using (2.3.12004.0) is compatible with CF3.5. If I remove the reference to OpenNETCF.Net.Mail.dll and I add a reference to OpenNETCF.Windows.Forms.dll I get 5 warnings about remapping but the project compiles. I have already posted this question in another forum without getting any answer, I hope here someone could help me. Any suggestion is appreciated, also about other free component to send mail. Thanks in advance.

    S 1 Reply Last reply
    0
    • S steve_9496613

      Hi, I need to send mail (not receive) from my application running on Windows Embedded Compact 7 (Compact Framework 3.5). After a lot of googling and some test with EaSendMail, mailcf, cslmail... I found OpenNETCF that looks very promising but I'm not able to use it... I can use other component of OpenNETCF but not the one I need: OpenNETCF.Net.Mail. Simply my application doesn't compile when I add to the project a reference to OpenNETCF.Net.Mail.dll. To get this problem it is enough to create a new SmartDevice project (VS2008, VB.NET, CF3.5) and in the property of the project to add a reference to OpenNETCF.Net.Mail.dll: the project doesn't compile any more. I just get a warning about a version conflict and no error: Consider app.config remapping of assembly "System, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "2.0.0.0" [] to Version "3.5.0.0" [C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly. Searching info about that warning I found that it is "safe" to ignore it because the OpenNETCF version that I'm using (2.3.12004.0) is compatible with CF3.5. If I remove the reference to OpenNETCF.Net.Mail.dll and I add a reference to OpenNETCF.Windows.Forms.dll I get 5 warnings about remapping but the project compiles. I have already posted this question in another forum without getting any answer, I hope here someone could help me. Any suggestion is appreciated, also about other free component to send mail. Thanks in advance.

      S Offline
      S Offline
      steve_9496613
      wrote on last edited by
      #2

      Hi, it seems that this topic is not very interesting but I've found the solution and I want to share it. I contacted OpenNETCF support and Chris Tacke answered very kindly. The solution is to remove from project references System.Xml.Linq that for some reason sometimes generates this kind of problem in VB.NET CF 3.5 projects.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups