NS Outlook Synchronization Handler - Mails in Drafts

jongu
Member Posts: 4
Hello.
I was wondering if anyone could help me.
I´m trying to add the OSendMail.SentOnBehalfOfName property for the 'NS Outlook Synchronization Handler'.OSendMail Automation server class.
The problem is that the e-mails that are created aren´t sent out directly from outlook, but end up in drafts, and when they eventually are sent, the from field is changed from the SentOnBehalfOf address, to the address of the user who creates the mail. And the strange thing is that if I open the mail, before it is automatically sent, and send it manually, then it works fine. The mail is sent by me on behaf of the address in the From-field, no problem....
So, I was just wondering if anybody knows this issue and maybe has some suggestions for me...?
I´m using MBS Navision 4.0sp2 with Outlook 2007 on Win XP.
I was wondering if anyone could help me.
I´m trying to add the OSendMail.SentOnBehalfOfName property for the 'NS Outlook Synchronization Handler'.OSendMail Automation server class.
The problem is that the e-mails that are created aren´t sent out directly from outlook, but end up in drafts, and when they eventually are sent, the from field is changed from the SentOnBehalfOf address, to the address of the user who creates the mail. And the strange thing is that if I open the mail, before it is automatically sent, and send it manually, then it works fine. The mail is sent by me on behaf of the address in the From-field, no problem....
So, I was just wondering if anybody knows this issue and maybe has some suggestions for me...?
I´m using MBS Navision 4.0sp2 with Outlook 2007 on Win XP.
0
Comments
-
Hello,
Did you solve this problem? i have the same situation...0 -
There is a validation used internally in Outlook which changes OnBehalfOfName within a while. (I couldn't find any place to change this property.) If I remember correctly if you save the e-mail first and then send this problem does not occur. And in order to save e-mail you have to use Outlook Object library instead of OS handler and redesign your code. (You have to check if it is possible to save e-mail in OS handler automation)Ufuk Asci
Pargesoft0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions