BAGAss Super Contributor.
Super Contributor.
381 views

smartemail integration

Jump to solution

Hi!
IO use smartemail integration of Tailoring > Integration Manager
i set up all parameters and can get and process inbound emails.
BUT SM process inbound mail by one message in minute. I think task handler works with one email for one minute cycle.
Where i can set up to handle e-mails one per second or two?

22/06/2018 11:35:47 SMIS [INFO][SmartEmailController]: startup
22/06/2018 11:36:28 SMIS [INFO][SAVED]: 2018-06-22T11:27:09+0300,post@box.ru test 4
22/06/2018 11:37:29 SMIS [INFO][SAVED]: 2018-06-22T11:29:43+0300,post@box.ru test 5
22/06/2018 11:45:49 SMIS [INFO][SmartEmailController]: startup
22/06/2018 11:46:31 SMIS [INFO][SAVED]: 2018-06-22T11:42:04+0300,post@box.ru test 6
22/06/2018 11:47:32 SMIS [INFO][SAVED]: 2018-06-22T11:42:14+0300,post@box.ru test 7
22/06/2018 11:48:33 SMIS [INFO][SAVED]: 2018-06-22T11:42:25+0300,post@box.ru test 8

0 Likes
1 Solution

Accepted Solutions
Highlighted
BAGAss Super Contributor.
Super Contributor.

Re: smartemail integration

Jump to solution

need to correct 2 things
1. lib.SmartEmailController.processSmartEmail()
correct line 68 to

print("task is null, return")
//return;

return null;

2. correct schedule SmartEmail_Processor javascript tab to

print('start SmartEmail');
var ret=0;

var quan=0;
while(ret!=null)
{

var ret = lib.SmartEmailController.processSmartEmail();
if(ret!=null) quan++;
}
print('finish SmartEmail -> '+quan);

 

0 Likes
3 Replies
Carlos_V_SM Acclaimed Contributor.
Acclaimed Contributor.

Re: smartemail integration

Jump to solution

Hi

  1. Log on to Service Manager as a system administrator.
  2. Click Tailoring > Integration Manager. Integration Instance Manager is displayed.
  3. Click Add. The Integration Template Selection wizard opens.
  4. Select SmartEmail from the Integration Template list, and then select the Import Mapping check box.

  5. Click Next. The Integration Instance Information page is displayed.
  6. Complete the following settings in the Integration Instance Information page as necessary.

 

IntervalTime (s)(required) User-defined. Default: 300.

                                                      Polling interval (in seconds) for synchronization.

Max RetryTimes(required) User-defined. Default: 5.

                                                        Maximum allowed number of retries if the background scheduler fails to run.

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
BAGAss Super Contributor.
Super Contributor.

Re: smartemail integration

Jump to solution

Carlos, for what did you write this? to help or to write samething?
SO - you didn`t help. 
PR - best thing, but not here.

0 Likes
Highlighted
BAGAss Super Contributor.
Super Contributor.

Re: smartemail integration

Jump to solution

need to correct 2 things
1. lib.SmartEmailController.processSmartEmail()
correct line 68 to

print("task is null, return")
//return;

return null;

2. correct schedule SmartEmail_Processor javascript tab to

print('start SmartEmail');
var ret=0;

var quan=0;
while(ret!=null)
{

var ret = lib.SmartEmailController.processSmartEmail();
if(ret!=null) quan++;
}
print('finish SmartEmail -> '+quan);

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.