cancel
Showing results for 
Search instead for 
Did you mean: 

Read E-Mail Actionblock -Unable to read mail from Mailserver

Former Member
0 Kudos

Hi,

As a part of business requirement I need to write a transaction which picks the attachment from a particular mail on a server on a scheduled basis.

I am getting the below error while trying to connect to the server

[INFO ]: ReadMail: Connecting To: xxxx.yyyy.mycompany.com

[ERROR]: ReadMail error: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect+

[ERROR]: ACTION FAILED: End Action ReadMail_0 :

But with the same credentials I am able to send mail from xMII using the Send mail action block.So this signifies that I am using the right MailServer name.

Is this the problem with the firewall with the server ? or

Will there be different MailServer name for receiving and reading mails?

How to know which port number to be used?

Did any one faced this problem before?

Appreciate your help

thanks

Raj

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Im also having problems with reading mails from mailserver.

When I execute the transaction the action block Read Mail return me the following error:

[ERROR] [ReadMail]Unable to read mail Exception: [unicode-1-1-utf-7]

Could anybody help me?

P.S.: Im using the imap4 protocol.

Thank you!

Edited by: Thiago Barros on Jul 29, 2010 5:15 PM

Former Member
0 Kudos

Hi Rajesh,

Please inform the following regarding your above error message :

1. SAP xMII version whether it is 11.5 or 12.0 and

2. Your Mail server protocol whether it is POP3 or IMAP4

- Pandiarajan

Former Member
0 Kudos

For read mail by default port is 110.No need to change.You try by giving Mail Account name and account password. I am not sure it will work or not.

Former Member
0 Kudos

Hi,

I am still having problms with reading mails from mailserver.

I tried the way explained in help docs.

Any one faced this problem beore

Raj

Former Member
0 Kudos

Hi Rajesh

I have also worked like this requirement.In my transaction,I have picked the HTML report which is on MII server only by using Image loaded Action block and send the report by using Send mail Action Block.

Port no by defult 25 will be there. No need to change the port no.

First you see whether you are able to pick the attachment or not?