Im using VS2010 and VB.net. I want to send emails with attachments in my application.
The app we are using currently is written in VB6 and is using MSMAPI32.OCX and MSWINSCK.OCX to send emails, this works without specifying SMTP server. I cannot specify SMTP sever as our organisation does not permit relay, so I assume its doing some DNS lookups. As I understand I cannot use these active x components or any other for that matter that is targeting .net 4 assemblies?
Its really frustrating that VB6 could manage this and VB.net 4 cannot!
Now I'm testing 3rd party SMTP components like EAsendmail and Easymail, but these cannot manage to send the email when connected with a vpn client for some reason.
All emails are being send internally.
Is there a way to use DNS lookup to send emails with any method with VS2010 4 framework?
System.Net.Mail seems to be great when using SMTP server, but when not it seems to be useless?
Any suggestions would be appreciated?