axis payroll Year End Updates are now available »

Technical Support Note

TSN-2004-133

Email Integration in axis diplomat (SMTP & MAPI)

Last Reviewed: 05 November 2004

Products affected: axis diplomat 2004, 2000SE

Description

How axis diplomat integrates with and utilises Microsoft Windows email facilities.

1. Overview

axis diplomat interfaces to operating system email facilities in numerous situations. This may for example be when an operator elects to email a report to another person, when the system emails an order acknowledgment for an order imported from an axis vMerchant eCommerce server, or when the system encounters a critical error and sends an email to the axis diplomat support provider.

axis diplomat utilises two alternative email interfaces depending on the circumstance. Both interfaces are based on de-facto or industry standards available from within Microsoft Windows operating systems.

The first standard, known as MAPI, is utilised where the composition and sending of the email is interactive with the user. An example of where MAPI is used is when an operator selects the email icon when in print preview. This opens a dialogue window allowing the operator to specify the recipient, subject and message text.

The second mechanism, known as SMTP, is utilised when emails are generated automatically by axis diplomat. An example of where SMTP is used is where an axis diplomat program encounters a fatal error and sends a diagnostic report to the support provider.

Neither interface is of course any use if axis diplomat is installed on a system without an Internet connection so if this is the case stop reading now!

2. Configuring SMTP

Before axis diplomat can utilise SMTP email it must be given some basic information about the configuration of your network. This information will only need to be entered once  (generally as a part of running the axis diplomat SETUP process on your server). No configuration work is necessary on the workstations as they will automatically pick up and share this configuration information.

If you run SETUP on a system not currently configured with the appropriate SMTP information you will see the following dialogue:

2.1 SMTP email server

If you do not know the address of your SMTP server you may need to contact your system support provider however here are some pointers to get you started:

(a) If you have an email server server on your network (e.g. Microsoft Exchange or WinProxy) it is very likely that this will be acting as your SMTP server. If you know the address of this server, try entering that as your SMTP email server.

(b) If your axis diplomat server (or one of your workstations) has email software installed (e.g. Microsoft Outlook) you may be able to take the configuration information from this.

In Microsoft Outlook go to the "Tools" menu and select "Email Accounts". Select "View or change existing email accounts" and look for a connection with either a Microsoft Exchange or a POP3 connection type. Alternatively go to Settings, Control Panel, Mail and select email accounts.

On a Microsoft Exchange connection type look at the setting of the "Microsoft Exchange Server" and enter this as the SMTP server within axis diplomat SETUP.

On a POP3 connection, look at the setting for "Outgoing mail server (SMTP)" and enter this as the SMTP server within the axis diplomat SETUP.

 

(c) If you are using Outlook Express go to the "Tools" menu and select the "Accounts" option. Select the "Mail" tab, select a connection and "Properties". In the Properties dialogue select the "Servers" tab and look at the setting for "Outgoing mail (SMTP):". Enter this as the SMTP server in axis diplomat SETUP.

 

2.2 Domain name

You will also need to specify the domain name from which messages will be sent. This will normally be the domain name used by your organisation for its email addresses (for example if your email address is fred@mycompany.com then  enter mycompany.com as the domain name.

2.3 Error messages

SETUP will attempt to verify convergence to the SMTP server you configure. If this attempt fails you will see the following dialogue:

 

Either the server address you have specified is incorrect, or there is currently a communications problem preventing SETUP from reaching that server, or that server is not currently responding to SMTP requests. You may need to refer to your system support provider to identify and resolve such issues.

 

3. Configuring MAPI

If the workstation has Microsoft Outlook installed and correctly configured then axis diplomat can utilise the MAPI interface to interface with Outlook and no further configuration is required. Each individual workstation which will be used to send emails from within axis diplomat will require Outlook to be installed and configured.

If you wish to email from within axis diplomat and do not have Outlook installed (or it is not correctly configured) please contact your system support provider.

4. Technical Information

4.1 AXIS.INI

The SMTP server parameters configured during SETUP are stored within the AXIS.INI file in the axis diplomat home folder and may be changed by editing these settings at any time. You can also configure SMTP support manually by adding an [smtp] section to the INI file instead of running axis diplomat SETUP.

[smtp]
server=212.46.128.144
domain=mycompany.com

Revision History

1.0

22/06/2004

Published

0.1

10/06/2004

First draft.

?
Call Back
This site uses cookies. By continuing to access this site you are accepting the use of cookies by this site.
Read more about cookies...
OK

Cookies are small text files stored on your device when you access most websites on the internet.

This Website uses cookies in order to make the Website easier to use, to support the provision of information and functionality to you, as well as to provide us with information about how the Website is used so that we can make sure it is as up to date, relevant and error free as far as we can. Further information about the types of cookies that are used on this Website is set out in the box below.

By using this Website you agree to our use of cookies. You can choose to restrict or block cookies set on the Website through your browser settings at any time. For more information about how to do this, and about cookies in general, you can visit www.allaboutcookies.org. Please note that certain cookies may be set as soon as you visit the Website, but you can remove them using your browser settings.

However, please be aware that restricting or blocking cookies set on the Website may impact the functionality or performance of the Website, or prevent you from using certain services provided through the Website. It will also affect our ability to update the Website to cater for user preferences and improve performance.

We don’t sell the information collected by cookies, nor do we disclose the information to third parties, except where required by law (for example to law enforcement agencies).

We may sometimes embed content from 3rd party websites such as YouTube. As a result, when you visit a page containing such content, you may be presented with cookies from these websites. We do not control the dissemination of these cookies and you should check the relevant third party's website for more information.

Cookies We Use

Cookie Description
CookieConfirm The presence of this cookie is used to remember the fact that you have confirmed that you are happy to accept cookies
ASPSESSIONIDxxxxxxxx This is a Session Cookie (session cookies are temporary and are erased when you close your browser). It identifies you from one page to the next and is used, for example, to keep track of your logged-in status.
UserID, account, password These cookies are used to remember your login credentials for when you next visit our website. They are only created if you choose the “Remember Me” option on the login page.
_utma, _utmb, _utmc, _utmz These are cookies created by Google Analytics and are used to provide us information on which web pages are the most popular, and the most popular search terms used by visitors arriving at our site.