I started to transition from a local SMTP Relay (Windows SMTP service enabled on the same box where web server is running) to an external one.
I'm using an OperationBinding with mail elements.
The external SMTP Relay works, but it's really slow, ~8 seconds per message. The client GUI hangs until the SMTP operation is completed. "Hourglass" appears next to mouse cursor, app buttons are "disabled" (non-responsive).
Issue #1: It appears the client is waiting for a callback response from the SMTP operation. Is there a way to not wait? Just send and forget? Recode to DMI with no return?
Issue #2: How to turn up log level for SMTP operations? I've turned everything in log4j.isc.config.xml to "DEBUG", but all I ever see for SMTP is
"...INFO MailMessage - trying to connect to SMTPRELAY.MYDOMAIN"
Please advise, thanks.
-------------------------
SmartClient Version: v12.0p_2019-11-22/PowerEdition Deployment (built 2019-11-22)
Chrome Version 80.0.3987.116 (Official Build) (64-bit)
I'm using an OperationBinding with mail elements.
Code:
<operationBinding appScreen="submit" operationType="fetch" operationId="sendEmailsOnSubmitRequest" > <selectClause>PK</selectClause> <tableClause>${defaultTableClause}</tableClause> <whereClause>PK=${criteria.PK}</whereClause> <!-- Send E-mail: From Requestor to Approver --> <mail contentType="text/html"> <from>${criteria.NOREPLY}</from> <to>${criteria.APPROVER}</to> <subject>${criteria.SUBJECT}</subject> <messageTemplate>${criteria.MESSAGE2APPROVER}</messageTemplate> </mail> <!-- Send E-mail: From Requestor To Requestor (Receipt-to-Self) --> <mail contentType="text/html"> <from>${criteria.NOREPLY}</from> <to>${criteria.REQUESTOR}</to> <subject>${criteria.SUBJECT}</subject> <messageTemplate>${criteria.MESSAGE2SELF}</messageTemplate> </mail> </operationBinding>
Issue #1: It appears the client is waiting for a callback response from the SMTP operation. Is there a way to not wait? Just send and forget? Recode to DMI with no return?
Issue #2: How to turn up log level for SMTP operations? I've turned everything in log4j.isc.config.xml to "DEBUG", but all I ever see for SMTP is
"...INFO MailMessage - trying to connect to SMTPRELAY.MYDOMAIN"
Please advise, thanks.
-------------------------
SmartClient Version: v12.0p_2019-11-22/PowerEdition Deployment (built 2019-11-22)
Chrome Version 80.0.3987.116 (Official Build) (64-bit)
Comment