cancel
Showing results for 
Search instead for 
Did you mean: 

Reciever Mail Channel Error

former_member193466
Participant
0 Kudos

Hello Experts

I am working on a scenario of Proxy to Mail.

But in Mail channel I am getting the below error which have no idea. can some one please suggest on this.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

adityavempati
Participant
0 Kudos

Hello VR,

Can you let me know if there are multiple receivers for your scenario.

-Aditya

former_member193466
Participant
0 Kudos

Hello Adithya

Its only one reciever mail id at this moment we are using.

Thanks

VR

rhviana
Active Contributor
0 Kudos

VR,

Are you use MailPackage or not ?

Please check if there is a adress into field "TO".

Also check if the SMTP server to send e-mail is avaliable.


I have similar issue the past time, check thread below:

http://scn.sap.com/thread/3317977

Regards,

former_member193466
Participant
0 Kudos

Hello Ricardo

We are not using use MailPackage, but the reciepients and subject is being fetched from Payload using dynamic configuration .

Infact it was working fine earlier, but since 2 days giving the attached error.

can you check and suggest me.

Thannks

rhviana
Active Contributor
0 Kudos

V R,

Could you post the attached error ?

Regards

former_member193466
Participant
0 Kudos

Hello Ricardo

My bad, the error i am getting is the one attached in my first question on top.

Thanks

VR

binod8
Active Participant
0 Kudos

Hi VR,

Please make sure that all the parameters of the mail adapters are getting filled correctly in ESR. You may check if your mail channel is in error. You may stop and start the mail channel and test your scenario.

Thanks,

Binod

rhviana
Active Contributor
0 Kudos

VR,

Could you please post the msg from sxi_monitor after mapping logical ?

I think there is some "null" values in field "THeaderFROM" or "HTHeaderTO" that´s a root causes of falier.

Regards,

BR.

Viana.

former_member193466
Participant
0 Kudos

Hello Viana

we are using PO7.4 single stack and when i look at the payload it has all the values like FROM, TO and SUBJECT.

Thanks

VR

former_member193466
Participant
0 Kudos

Hello

We are using the Dynamic Configuration to pick the mail parameters from Source structure.

I believe the dynamic configuration is not working. can have a look at the below:

String retVal = "";

try{

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

// File Name

DynamicConfigurationKey Filename = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");

conf.put(Filename, FName);

// Send FROM Email Address

DynamicConfigurationKey FromEmail = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail","THeaderFROM");

conf.put(FromEmail, FMail);

// Send TO Email Address

DynamicConfigurationKey ToEmail = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail","THeaderTO");

conf.put(ToEmail, TMail);

if (CCMail != "")

{

// CC Email Address

DynamicConfigurationKey CCEmail = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail","THeaderCC");

conf.put(CCEmail, CCMail);

}

// Email Subject

DynamicConfigurationKey Subject = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail","THeaderSUBJECT");

conf.put(Subject, SMail);

}

catch(Exception e)

{

String exception = e.toString();

return exception;

}

return "";

Former Member
0 Kudos

Bubble exceptions are generally if you dont pass your data or any parameter correctly as expected by adapter... please check once again.

Former Member
0 Kudos

Hi,

Small suggestion here.Please use Transport protocol as IMAP4 and check once.Becoz we have implemented the same scenario using Transport protocol as IMAP4.

Are you using Mail package in your scenario?

Regards,

Priya

jyothi_anagani
Active Contributor
0 Kudos

Hi,

What is the Message Protocol and Transport Protocol you are using?

And Specify the Sender Address properly. Otherwise it will give this error.

And check whether the particular mail server is using in SSL communication.

Thanks

Jyothi A

former_member193466
Participant
0 Kudos

Hi Jyothi,

Transport protocol using is : SMTP

Message protocol : XIPAYLOAD

Sender address is correct and which is being taken from Payload i.e. using Dynamic configuration.

There is no SSL connection.

Thanks