Nav And Microsoft Outlook 2007

Kc_Nirvana
Member Posts: 146
Hello.
I've been searching in the forum but i didn't find what i was looking for.
I want to send a mail through NAV but that opens Outlook and create a message.
How can i do this?
I've been trying the CU 397 but it doesn't do anything
Thanks
I've been searching in the forum but i didn't find what i was looking for.
I want to send a mail through NAV but that opens Outlook and create a message.
How can i do this?
I've been trying the CU 397 but it doesn't do anything
Thanks
Junior Consultant & Developer in Dynamics NAV
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit
0
Answers
-
Hi,
You can send it immediately through Outlook, without opening a message in Outlook.
To do that, you use the "New Message" Trigger and just make sure that the last parameter, "OpenDialog", is set to false.
This way it will create the message and send it immediately.
However, you are limited to 260 characters in the body.
It is an easy change to expand that.
Otherwise there is codeunit 400, SMTP mail. This codeunit uses the SMTP protocol and does not use Outlook.
Hope this helps,
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Thanks for the answer but that is my problem.
I want to see the message but with true or false the outlook only opens and close, if false, or opens.
The outlook doesn't create the message or send it automatticaly....
Can you help?Junior Consultant & Developer in Dynamics NAV
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit0 -
Hi,
I'll try and help. Have you tried to open MS Outlook prior to running your code?
If not, try and open Outlook and see if your code creates a message.
Does the user that you are using on the box have an Outlook account setup?
Also, the Outlook install that you are using, is it fully registered? If not, you can only use it for about 20 times, I think.
let me know,
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
KYDutchie wrote:Hi,
I'll try and help. Have you tried to open MS Outlook prior to running your code?
If not, try and open Outlook and see if your code creates a message.
Does the user that you are using on the box have an Outlook account setup?
Also, the Outlook install that you are using, is it fully registered? If not, you can only use it for about 20 times, I think.
let me know,
Regards,
Willy
I've tried with outlook open and close.
If open and Mail.NewMessage opendialog=TRUE gives an error system and closes NAV, if opendialog=FALSE it opens and closes outlook.
Yes it had and outlook account and it's fully registered.
I Know that the it not pass from hereIF (NOT OApplication.Logon(TRUE,'','',FALSE,FALSE)) THEN BEGIN OApplication.Logoff; MailSent := FALSE; EXIT END;
it enters in if and do exit.
if i comment the code enter in this if and give me an error on "ns sincronization handler"IF ISCLEAR(OSendMail) THEN CREATE(OSendMail);
Can you help me?Junior Consultant & Developer in Dynamics NAV
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit0 -
Hi,
This looks like a mail account error to me.
It sounds like the automation is not able to create a message based on the user account that you are using.
What is the error it generates?
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Ns microsoft outlook sincronization handler.sendmail error....
I solved with an automation of microsoft outlook library 12 but it preferible to use nav code units......Junior Consultant & Developer in Dynamics NAV
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit0
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