Problem sending e-mails automatically

Leroy
Member Posts: 199
Dear folks, maybe I posted this before months ago. This is not exactly a post about Navision, because there are serveral factors. I've the following code:
CodeMail is the codeunit Mail.
I put this code (and others changing the e-mail and sales person) on Onvalidate trigger in a table field. When anyone write in this field automatically sends an e-mail to the address according to the sales person code. It works fine, but only in some computers, in other computers don't send any e-mail, simply doesn't do nothing. I've come to the conclusion that is problem of Office or Outlook configuration, because the code runs well. All the computers have the same version of Navision (3.70), the same O.S.(WXPProf. SP2) anda the same version of Office (2003), this is the reason because I don't know what can be the problem. Does anybody knows what happend? Have you had a similar problem?.
Thanks in advance.
IF "Salesperson code" = 'person' THEN BEGIN CodeMail.NewMessage('mail@mail.com','','This is a testing' + "Item", '','',FALSE); END;
CodeMail is the codeunit Mail.
I put this code (and others changing the e-mail and sales person) on Onvalidate trigger in a table field. When anyone write in this field automatically sends an e-mail to the address according to the sales person code. It works fine, but only in some computers, in other computers don't send any e-mail, simply doesn't do nothing. I've come to the conclusion that is problem of Office or Outlook configuration, because the code runs well. All the computers have the same version of Navision (3.70), the same O.S.(WXPProf. SP2) anda the same version of Office (2003), this is the reason because I don't know what can be the problem. Does anybody knows what happend? Have you had a similar problem?.
Thanks in advance.
0
Comments
-
If you use smtp to send your mails, you don't need a mail client to be installed on the users PC's.
Starting from NAV 5.0 SP1, you can set this up through Administration -> IT Administration -> General Setup -> SMTP Mail Setup.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Thanks for reply. Our version is Attain 3.70, and we need mail client because we use Exchange2003. Any idea else please?
Thanks for help.0 -
I don't think that Exchange2003 requires a mail client. So or you do a technical upgrade to NAV 5.0 SP1, and downgrade the smtp-mail functionality, or you need to install a smtp component (ocx or dll) on every PC.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Thanks for help. You know what dll or ocx I need and when I can get them?.
Thanks.0 -
If you search the download section or forum for "smtp", you'll find some.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Thanks for help. I'll see it.
Thank you.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