I have a problem.
I want to automate EMails during off-hours processing. Everything used to work using Navision's Mail codeunit. Until I applied some Windows security updates ... Now, Navision brings up modal windows about someone accessing my Contacts list and so on. In other words, Outlook thinks a virus is at work.
I accessed the MAPI OCX controls for Sessions and Messages directly and the app does send EMails and attachments correctly ... but I still get the same modal Outlook prompts.
Has anyone encountered this before? I know Expand-IT does it some way. However, what I'm using EMail for is notifications during off-hours EDI import.
Any assistance would be greatly appreciated. Thanks.
Comments
Better option is to send your mail using smtp. You can download different smtp-mail components from this site. Using smtp, no Outlook message will pop-up.
'Are You Absolutely Sure You Want to Delete Company "My Company's Live Databse" (Yes) (No)'
and True is the default, something really bad is going to happen.
I do appreciate your input, though. Thanks.
Administrator Information About the Outlook E-mail Security Update
Customizing the Outlook Security Features Administrative Package
RIS Plus, LLC
FYI:
I also noted that programs who do EMail w/o the Outlook warning require entry of the Exchange Server.
I downloaded the Exchange Server SDK. There is a sample app called EmailSample.vbp (if you install the samples).
The security warning comes from MS products, and the only way to go around it is to use the standard internet mail protocol (SMTP), which is product-independent. You can program your own, or buy an external one.
RIS Plus, LLC
I found source code that uses SMTP with Winsock to establish a connection with the server. It worked perfectly! No messages.
FYI -
URL is http://www.planet-source-code.com/vb/sc ... 3&lngWId=1
The name of the app is Anonymous EMail, and the version that works was written by Tom Mod.
Thanks again.
How did you manage to have it working?
Did you use the whole program or part of that?
Please help me I have the same problem as you had. [-o<
I use this for sending PDF files in conjunction with Gotomaxx PDF mailer when sending statements and remittances...... Oh and any other report that you need to send
Works a treat
p.s. the dll file can be re-engineered to run with previous versions as I use this with 3.70 db
We have MS Excange 2000 and when I try to send mail from Navision 4.0 it asks for permisions (with the security window).
I have to do somthing to avoid this?
Thanks
This is your problem i'm afraid. There is an error for sites using outlook 2000 which MS are aware of and are working on a hotfix ( or so I have been assured!!)
As it was just a helper for a bigger project, I consider it to be freeware.
If you are intrested, send me PM.