Skip to Content
author's profile photo Former Member
Former Member

File to Mail adapter

Hi,

I have some queries in File to mail scenario:

1)I have configured this scenario,but can able to send email only to tree receipient keeping one by one in To,CC and BCC field,but while trying to keep more than one receipient in To,CC or BCC its giving error as

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to RCPT TO; 501 Syntax error, parameters in command "RCPT TO:<sonalika@gmail.com,apu@gmail.com>" unrecognized or missing.

So please suggest how to solve this.

2)I am getting Filename as Untitled.xml and the File name is being populated dynamicaaly inside this attachment XML.But i want to populate the File name as attachment...means i place of Untitled.xml the Filename needs tobe sent as attachment.Please suggest.

Thanks,

Sonalika

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 20, 2013 at 02:43 PM

    Hello Sonalika,

    I've always used ';' to separate emails addresses.

    Try to use sonalika@gmail.com;apu@gmail.com

    To rename your attachment you can use

    Content-Disposition: attachment; filename="myfilename".

    Also check these threads. Maybe can be helpful.

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

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

    Regards,

    Diego

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.