Sending Emails from NAV

krvenkata
Member Posts: 154
Hi
Does NAV support both POP3 and SMTP protocol for sending emails from it? I understand AX supports only SMTP.
Does NAV support both? Also what about Microsoft exchange
Does NAV support both POP3 and SMTP protocol for sending emails from it? I understand AX supports only SMTP.
Does NAV support both? Also what about Microsoft exchange
0
Comments
-
NAV has SMTP out of the box but not POP, NAV has an outlook integration client as well which could be configured to support POP (outlook side)
Exchange uses MAPI
to just send mails SMTP should be sufficent. What is it you wish to send?0 -
PO's, Alerts, Sales Invoices etc.
My client has a Exchange at his place. WIll he be able to use NAV for sending emails.0 -
POP is for receiving e-mails...
NAV uses default mail client for sending e-mail.
And yes, you can use native SMTP (check download area for Mail.ocx or use 'Microsoft CDO For Exchange 2000 Library'.Message Automation.0 -
You can try smtp mail v1.6 components, which can be downloaded from mibuso. It works fine for me. You can download it from
http://www.mibuso.com/dlinfo.asp?FileID=3660 -
You can try this. it does not require to register custom OCX/dlls. (too long line for declaration of parameters: HTML body, Text Body as Variant)
Name DataType Subtype Length Mail Automation 'Microsoft CDO For Exchange 2000 Library'.Message Config Automation 'Microsoft CDO For Exchange 2000 Library'.IConfiguration Fields Automation 'Microsoft ActiveX Data Objects 2.5 Library'.Fields Field Automation 'Microsoft ActiveX Data Objects 2.5 Library'.Field ItemIndex Variant ItemVal Variant SendSMTP(Sender : Text[50];From : Text[50];RcpTo : Text[50];Cc : Text[50];Bcc : Text[50];SMTPServer : Text[50];Subject : Text[150];HTML CLEARALL ; IF ISCLEAR(Mail) THEN CREATE(Mail) ; Config := Mail.Configuration ; Fields := Config.Fields ; ItemIndex := 'http://schemas.microsoft.com/cdo/configuration/SendUsing' ; ItemVal := '2' ; Field := Fields.Item(ItemIndex) ; Field.Value := ItemVal ; ItemIndex := 'http://schemas.microsoft.com/cdo/configuration/smtpserver' ; ItemVal := SMTPServer ; Field := Fields.Item(ItemIndex) ; Field.Value := ItemVal ; ItemIndex := 'http://schemas.microsoft.com/cdo/configuration/smtpserverport' ; ItemVal := '25' ; Field := Fields.Item(ItemIndex) ; Field.Value := ItemVal ; ItemIndex := 'http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout' ; ItemVal := '1' ; Field := Fields.Item(ItemIndex) ; Field.Value := ItemVal ; Fields.Update ; Mail.From := From ; Mail.Sender := Sender ; Mail."To" := RcpTo ; Mail.CC := Cc ; Mail.BCC := Bcc ; Mail.Subject := Subject ; IF NOT ISCLEAR(HTMLBody) THEN Mail.HTMLBody := HTMLBody ELSE Mail.TextBody := TextBody ; Mail.Send ; CLEARALL ;
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