cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Mail Adapter Connection Issue

0 Kudos

Hi Team,

We are doing scenario Mail-->PO-->xml(ftp directory), while doing sender mail adapter configuration. Facing below issue, can you please help us.

Sender Mail CC Configuration as below:

URL = pop://<mailservername>

Regards,

Satish

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Sathish,

Check the URL configured in the mail channel.

0 Kudos

Hi Raghu,

Still we are facing with sender mail channel.

we have given mail server URL as below.

URL = pop://mail.abc.com/owa     (This is our webmail acess)

Username: xxxxx    

Password: *******

can you please correct me if any configuration error.

Regards,

Satish

former_member186851
Active Contributor
0 Kudos

Hello Satish,

Make sure you can and have access to hit the Mail box.

from the error I can see there is a problem in the connectivity.

0 Kudos

Hi Raghu,

Now we are able to connect mail server using below details.

URL = https://mail.abc.com/owa     (Now channel is running fine)

Username: xxxxx    

Password: *******

But still our mail attachment didn't pick up by our communication channel. In module tab we have configured PayloadSwapBean with below parameters.

swap.keyName --> Content-Description

swap.keyName --> Content-Disposition

swap.keyName --> attachment;filename="Mail2FileTestFile.csv"  ( Mail2FileTestFile.csv -- my filename)

swap.keyName --> Mail2FileTestFile.csv

swap.keyName --> .csv

swap.keyName --> Content-Type

can you please guide us here..

Regards,

Satish

former_member186851
Active Contributor
0 Kudos

Hello Sathish,

Am not understanding ur beans.

Check as per the below link and check.If you dont have transformation bean keep payload bean @ first

engswee
Active Contributor
0 Kudos

Hi Satish

If the attachment file name always contains csv, then you can configure PayloadSwapBean as follows:-

ParameterValue
swap.keyNamePayload-Name
swap.keyValuecsv

If you are still unable to get it to work, please provide screenshot of your error, your configuration as well as the content of the message and attachments in the monitor.

Regards

Eng Swee

0 Kudos

Hi Eng Swee,

Still we are not able to read the file from mail box.

Please find below existing configuration steps.

1. Channel Configuration:

2. In Module Tab, we have configured

My filename: MyMail2FileTestFile.csv

3. Error Description:

If I click on ping channel, It showing binding with correct S.Interface and Namespace with green.

4. My test data file.

Regards,

Satish

engswee
Active Contributor
0 Kudos

Can you provide the log from the Communication Channel monitor? You are just showing that there is an error. There should be more details under Processing Details.

0 Kudos

HI Eng Swee,

Please find log details.

Type

Time Stamp

Message ID

Explanation

4/6/2016 12:46:41 PM Europe/Londonmail client job stopped completly
4/6/2016 12:46:25 PM Europe/Londonexception caught during processing mail message; java.io.IOException: unable to create a socket
4/6/2016 12:44:25 PM Europe/Londonexception caught during processing mail message; java.io.IOException: unable to create a socket
4/6/2016 12:42:25 PM Europe/Londonexception caught during processing mail message; java.io.IOException: unable to create a socket
4/6/2016 12:40:25 PM Europe/Londonexception caught during processing mail message; java.io.IOException: unable to create a socket

Regards,

Satish

former_member186851
Active Contributor
0 Kudos

Hello Sathish,

This is a connection issue.

Did you check the URL as mentioned in the link I shared.

0 Kudos

Hi Raghu,

Yes..I am able to connect mail server with credentials.

Can anyone help me on this issue. what configuration is required to read file from mail server.

Regards,

Satish

former_member186851
Active Contributor
0 Kudos

Hello Sathish,

How you confirm that from PI connection to mail server is established?

Java socket error is because of connection issues.

0 Kudos

Hi Raghu,

If I enter the below URL in browser, it will connect to our mail box logon page for credentials.

Regards,

Satish

former_member186851
Active Contributor
0 Kudos

Hello Sathish,

That is from Browser.

Its not connected from PI.

nitindeshpande
Active Contributor
0 Kudos

Hello Satish,

This means, the necessary ports are not open from the mail server end. Please ask the 3rd party team to open the port and firewall connection to allow your PI system IP address. That should resolve the issue.

Just to ensure the same you can ask your 3rd party if at all they are receiving any connection request from your PI server.

Regards,

Nitin