E-Mails

sabzam
Member Posts: 1,149
Hi Everybody,
I need help with the Emails. To say the truth I haven't got any idea of how to set Navision to be able to send emails. I have read quite a lot from mibuso but I must admit that I haven't found the right solution. Can anyone help me out?
I need help with the Emails. To say the truth I haven't got any idea of how to set Navision to be able to send emails. I have read quite a lot from mibuso but I must admit that I haven't found the right solution. Can anyone help me out?
0
Comments
-
I am not a programmer, so I am not going to be able to provide a solution, but neither is anybody else. Please explain your question with more detail.
out the solutions you have read on the forum, how do they not meet your needs, what are your needs, are you trying to send email notifications for completed sales orders. or mayby you want to be able to email a purchase order to a vendor. or maybe you want to email your customer statements each month.
but from your post we really have no idea what you are looking for.0 -
1) Emails can be send through MS Outlook (see Codeunit 397 Mail)
2) Or you can use some SMTP module for that - search for JMail or SMTP Mail on forum and in download section.0 -
Create a variable of the codeunit 397.
Mail.NewMessage(ToName,CCName,Subject,Body,AttachFileName,OpenDialog);
If you don't have a CC or attachment just leave them blank (''). The open dialog basically means if you want it to send the e-mail automatically or not. Use the value FALSE to auto send the email and TRUE if you want it to open and sit there for the user to edit before sending.0 -
Use Codeunit 397 Mail -Use Navision 4.0 SP2.
Ensure that you have setup Microsoft Office Outlook as default mail and also
have a working a profile-Latest version would be better MS Office Outlook 2003
Use this code
Mail.NewMessage('E-Mail Address','Cc E-Mail Address',
'Subject' ,'MessageBody','',FALSE) ;
Declare Mail as Codeunit 397
You can also Search the forum :arrow: <Mail Code Unit 397>
there are lots of helpful info0 -
Dear All,
I have got a problem with the emails again. I have used the above code of the mail.newmessage which you have suggested above and it has worked perfectly for some time. For some strange reason all of a sudden it simply stopped sending emails without any error messages or anything of the sort.
I have been checking the code all over again but to no avail. I have tested the same coding on both Navision SP3 and Sp2 but while the SP3 is working fine still the SP2 is simply not sending any emails. The line of code is the following:
MailModule.NewMessage('***@***.com,'','NAV - Interaction Logs',EmailBody,'',FALSE);
MailModule is codeunit Mail.
Has anyone ever encountered this problem?
Regards,
Stephen0 -
I have uninstalled the Microsoft Office and re-installed it and the code has worked properly. Does anyone has a realistic reason for this? I was thinking that maybe an update patch may for some reason or another disrupt the email sending. Could this be a plausible cause?0
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