how to send mail autoamtically

mohana_cse06
Member Posts: 5,506
Hi All,
I want to send mails to customers through outlook.
i have done upto new message creation but i have to click send to send that message.
how to send mail automatically.
there is a function called send.,
can anyone tell me how to use that function. ](*,)
thanks in advance
I want to send mails to customers through outlook.
i have done upto new message creation but i have to click send to send that message.
how to send mail automatically.
there is a function called send.,
can anyone tell me how to use that function. ](*,)
thanks in advance
0
Comments
-
How did you do message creation?
You can have a look at codeunit 40 SMTP Mail, using which you can create and send emails from navision.Tomas,
Dynamics NAV Enthusiast0 -
Hi,
If you are using the Mail codeunit (397) function NewMessage then the last parameter is a boolean to open outlook or not.
try
Mail.NewMessage( ToName, CCName, 'Test', 'Test', '', FALSE );0 -
DaveT wrote:Hi,
If you are using the Mail codeunit (397) function NewMessage then the last parameter is a boolean to open outlook or not.
try
Mail.NewMessage( ToName, CCName, 'Test', 'Test', '', FALSE );
Yes am using codeunit 397
at present am using true in above funtion
u mean if i use false then the mail will be sent automatically.am i right?
if i use false in above funtion am geeting the an error and C/side getting closed automatically.0 -
Hi,
Correct the FALSE will send automatically. What error are you getting?
Remember the this solution still needs a mail client on the machine and will send from that address otherwise you will need to use STMP as Thomas suggested.0 -
DaveT wrote:Hi,
Correct the FALSE will send automatically. What error are you getting?
Remember the this solution still needs a mail client on the machine and will send from that address otherwise you will need to use STMP as Thomas suggested.
"Microsoft Dynamics NAV Classic has encountered a problem and needs to close. We are sorry for the inconvenience."
should i call any send function or it will send automatically?
what is mail client?0 -
Hi,
What I mean by a mail client is to have outlook install on the machine you are sending from.
This is strange - does is work ok with the TRUE parameter and then clicking send?
You might need to update your OLHANDLER.DLL - have a search and you will see lots of posts on this.0 -
DaveT wrote:Hi,
What I mean by a mail client is to have outlook install on the machine you are sending from.
This is strange - does is work ok with the TRUE parameter and then clicking send?
You might need to update your OLHANDLER.DLL - have a search and you will see lots of posts on this.
outlook is installed in my system
no problem with dat.
yes its working with true and clicking send.0 -
DaveT wrote:You might need to update your OLHANDLER.DLL - have a search and you will see lots of posts on this.
I have imported OLHANDLER.DLL in custom objects
from 5.0
now its working fine with False
thanks alot to all0 -
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