IBM Support

When testing SMTP email notifications a pop-up error is generated: 0x80004005 Unspecified error - Sterling Gentran:Server for Microsoft Windows

Troubleshooting


Problem

When testing SMTP e-mail notifications a pop-up error is generated: 0x80004005 Unspecified error

Symptom

When testing SMTP e-mail notifications a pop-up error is generated.
Error Message when testing SMTP e-mail notifications a pop-up error is generated: 0x80004005 Unspecified error

Cause

When setting up Gentran:Server to send e-mail notifications via SMTP if the e-mail server requires authentication (user name and password) to log in, the "My server requires authentication" checkmark box must be checked and the "Account Name" and "Password" fields must contain valid entries.

Diagnosing The Problem

Turn on the SMTP logging on the CONFIG.exe > Audit/Notification tab. Run a test. Examine the log. Success will show like:

14:20:00 Thread 5204  - Receiving:  220 mail.company.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 15 Oct 2018 15:11:55 -0400
14:20:00 Thread 5204  - Sending Text:  EHLO CSB2BL2-531
14:20:00 Thread 5204  - Receiving:  250-mail.company.com Hello server1 [1.11.11.222], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
14:20:00 Thread 5204  - Sending Text:  MAIL FROM:<Gentran@comp.com>
14:20:00 Thread 5204  - Receiving:  250 2.1.0 <Gentran@comp.com>... Sender ok
14:20:00 Thread 5204  - Sending Text:  RCPT TO:<ediTeam@comp.com>
14:20:00 Thread 5204  - Receiving:  250 2.1.5 <ediTeam@comp.com>... Recipient ok
14:20:00 Thread 5204  - Sending Text:  DATA
14:20:00 Thread 5204  - Receiving:  354 Enter mail, end with "." on a line by itself
14:20:00 Thread 5204  - Sending Text:  Mime-Version: 1.0
To: ediTeam@comp.com
From: "gentran system" <Gentran@comp.com>
Subject: =?ISO-2022-JP?B?R2VudHJhbiBOb3RpZmljYXRpb246IFRlc3QgTm90aWZpY2F0aW9u?=
Content-Type: text/plain
Content-Transfer-Encoding: base64

R2VudHJhbiBOb3RpZmljYXRpb246IFRlc3QgTm90aWZpY2F0aW9u

14:20:00 Thread 5204  - Sending Text:  .
14:20:00 Thread 5204  - Receiving:  250 2.0.0 w9FJBtud002765 Message accepted for delivery
14:20:00 Thread 5204  - Sending Text:  QUIT
14:20:00 Thread 5204  - Receiving:  221 2.0.0 mail.company.com closing connection

Resolving The Problem

A) Ensure the Gentran configuration is passing an acceptable account for authentication.
To configure the "My server requires authentication" section of the Audit Notification E-mail Notifications section of Gentran:Server Configuration, follow the steps below:

1. Open Gentran:Server Configuration, select the Audit/Notification tab, click on the Server button, and select the Notifications tab.
2. Check the "My server requires authentication" checkbox.
3. In the Account Name field, enter the account name used to log into the e-mail account specified in the E-mail address field.
4. In the Password field, enter the password for the account specified in the Account Name field.
5. Click the Apply button, click the OK button to save and close out of the Gentran:Server Audit Notification Properties.
6. Click the Apply button, click the OK button to save and close out of the Gentran:Server Configuration.
7. Stop and restart the Gentran:Server services.

B) Enable the Notification log on the Config panel setup and review the logging after applying a test.
- The final 2-3 rows in the log will indicate what SMTP commands were being issued and responded to. Remember that messages in 200 series are successful and 3oo series is failure/error messages.
- If the last command from Gentran was DATA and it was not responded with acknowledgment or success, it's likely the SMTP system is not prepared to accept DATA. Further conversation with SMTP administrator is necessary.
- Attempt to test with a different SMTP system for comparison. Select a public email SMTP site to prove it's not an SMTP Server issue with pushing a message.

C) Telnet connection to the SMTP server (attempt to use both a dns and IP examples)

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"5.3;5.3.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

GSW

Document Information

Modified date:
11 February 2020

UID

swg21555740