Dynamic SFTP Send in itinerary using BRE resolver

Hi,
Could you please provide your comments on the steps to achieve the below scenario.
I want to send a message to a SFTP location from within an itinerary. I have used BRE resolvers to set the endpoints in the past for FILE and Wcf service endpoints. Could you please comment on how to set the SFTP endpoint details in the itinerary (messaging
extender or orchestration extender, any approach is fine)
(BizTalk 2013, ESB 2.2)
Regards,
Ujjwal
-Ujjwal

You need to create a bre prolicy first like the below with condition 1 equal 1 then publish and deploy
then you need to update your itinerary  Resolver
Implementation drop-down list, click BRE
Resolver Extension.
then choose your created policy
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

Similar Messages

  • Dynamic mapping in BizTalk orchestration using BRE

    Hi,
    I want to do a transformation dynamically based on the schema type (document strong name). In one of the thread, I saw a solution for a similar problem, but in which an additional field was needed to be added to the schema to hold the map name. In my scenario,
    i will not be able to add the additional field to the schema.
    Can you please suggest an approach where I can set my map name in the BRE (based on the document strong name and retrieve the map name in the orchestration.
    Regards,
    Ujjwal
    -Ujjwal

    Have you considered " BRE Pipeline Framework", I know some of the BizTalk project uses it and it quite good. I don't want to duplicate this forum with how this works as
    the details are already available online. Find the following reference on how this can be used with BRE and in what use cases this can be really helpful. Hope this helps.
    Using the BRE Pipeline Framework to execute maps dynamically
    Also Paolo Salvatori's component is also quite popular on this context, but this doesn't directly implement using BRE.
    But this just for your reference.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • BizTalk 2013 SFTP Adapter Dynamic SFTP send port exception: Open remote file for write error

    I am using BizTalk 2013 SFTP adapter. I defined a Dynamic One-Way
    send port on BizTalk server administration.
    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
     Server stack trace:
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.OpenRemoteFileWrite(String fileName, Int32 fileOffset)
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpFileWriterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at Microsoft.BizTalk.Adapter.Sftp.SftpOutputChannel.Send(Message message, TimeSpan timeOut)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
     Exception rethrown at [0]:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
     Exception rethrown at [1]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IOutputChannel.EndSend(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendCallback(IAsyncResult result)
    MessageId:  {926F44F2-9180-4B33-96FF-9E4CBC459382}
    InstanceID: {36A50A7F-63C4-48D9-903D-A33C85DDAE36}
    Can you please assist with explaining why are we getting this exception?
    Thank you for your help.

    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
    Hi Yaeli1,
    From the error message above,  please check the permission for file writing , it seems that this issue is related to access permission.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Sending empty files using SFTP Adapter

    I am trying to send empty files using SFTP adapter. The interface has to send the file whether its empty file or containing data using SFTP adapter. I am using BizTalk Server 2013 R2. Is it a bug or the hotfix is already there for this issue.

    The issue here is not your SFTP not able to send 0KB files, but the file receive adapter that is receiving the file. The file adapter deletes 0 KB files and doest not transmit it further.
    If u have a ftp receive for example you should be able to send 0KB files.
    If u have a custom file receive adapter , is it handling 0KB files ?
    Regards <br/> When you see answers and helpful posts,<br/> please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • Send mHTML email using publication but without dynamic recipients

    I need to send the content of a report as part of the email body. I have used Publications to achieve the same. However, I do not want to use Dynamic recipients as I need the same email with the same content to go to the same list of people like a normal schedule.
    I tried not configuring the dynamic recipients and only put an email in the Destinations section but that didn't work.
    Is it possible to send mHTML emails using publication without using dynamic recipients?

    I thought you could send a publication anywhere, but I'm not sure you can - I think you have to specify recipients - either Enterprise or Dynamic.
    The 3.x admin guide says:
    ...which kinda points that way.
    HTH
    NMG

  • Itinerary using UDDI

    Hi
    I have an Itinerary that I have tested using a STATIC Resolver Extension with WCF-Custom to connect to OracleDB. It seems to work fine with this resolver implementation. 
    Then when I move the endpoint to UDDI, I get the following error
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
       <s:Body>
          <s:Fault>
             <faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode>
             <faultstring xml:lang="en-ZA">There was a failure executing the receive pipeline: "Microsoft.Practices.ESB.Itinerary.Pipelines.ItinerarySelectReceiveXml, ..." Source: "ESB Dispatcher" Receive
    Port: "..." URI: "..." Reason: Value cannot be null.
    Parameter name: binding</faultstring>
             <detail>
                <ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                   <HelpLink i:nil="true"/>
                   <InnerException i:nil="true"/>
                   <Message>There was a failure executing the receive pipeline: "Microsoft.Practices.ESB.Itinerary.Pipelines.ItinerarySelectReceiveXml, Microsoft.Practices.ESB.Itinerary.Pipelines,..."
    Source: "ESB Dispatcher" Receive Port: "..." URI: "..." Reason: Value cannot be null.
    Parameter name: binding</Message>
                   <StackTrace>at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.EndOperation(IAsyncResult result)
       at AsyncInvokeEndEndTwoWayMethod(Object , Object[] , IAsyncResult )
       at System.ServiceModel.Dispatcher.AsyncMethodInvoker.InvokeEnd(Object instance, Object[]&amp; outputs, IAsyncResult result)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace>
                   <Type>Microsoft.BizTalk.Message.Interop.BTSException</Type>
                </ExceptionDetail>
             </detail>
          </s:Fault>
       </s:Body>
    </s:Envelope>
    I have the microsoft-com:esb:runtimeresolution:endpointconfig set to:
    BindingConfiguration=<binding name="OracleDBBinding" useOracleConnectionPool="true" minPoolSize="1" maxPoolSize="100" incrPoolSize="5" decrPoolSize="1" connectionLifetime="0" useAmbientTransaction="false"
    enableSafeTyping="false" useSchemaInNameSpace="true" enableBizTalkCompatibilityMode="true" enablePerformanceCounters="false" />&BindingType=oracleDBBinding&Password=****UserName=****
    Wonder Andile Hlongwane MCTS

    I think you need to  add category of microsoft-com:esb:runtimeresolution:transporttype WCF-Custom
    for more information check Consumption
    of ESB Resolver Services
    But why don't you use BRE it is much better?
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • Error while sending the data using input schedule

    Dear Friends,
    I am unable to send the data using input schedule due to following error is occur while sending the data.
    The Error Message : Member (H1) of dimension (ENTITY) is not a base member (parent or formula)
    Can anyone please help me to resolve the above error.
    Thanks and regards,
    MD.

    Hi,
    You are trying to send data to a parent/node, you can only send data in BPC to lowest-level children (base mamabers) of any dimension.
    "H1" is a parent in the entity dimension so you should try sending to a child.
    Tom.

  • Seeburger SFTP Sender Adapter Failure

    Hello,
    a SFTP sender channel causes the follow error when executing a poll cycle:
    SFTP Adapter failure Details: while trying to invoke the method com.seeburger.uri.dt.sftp.schema.DtSFTPPollingResponse.setSuccessMessage(java.lang.String) of an object loaded from local variable 'e'
    The server was pinged successfully so there should be no firewall issue. We are also able to logon to the server using a third-party SFTP client.
    The error description is not very meaningful for tracking down the root cause.
    Do you have any idea what could have caused this error?
    Thank you.
    Edited by: Guppenberger Florian on Jan 24, 2011 4:00 PM

    For the Roll back error plz chk the below points.
    1. Check the module parameters.
    2. Make sure the sender agreement doesnt have any * 's.
    Ex: The SA should not be like : | BS | SI_test_oa | * | *
          SA should be like  BS | SI_test_oa | |
    3. If the input file has special chanracters ,  use the encoding .
    If the above doesnt work, try to create a new communication channel and test it.
    We also faced this error toomany times in the sender CC for sFTP advatco adapter.
    Thanks,
    Soumya.

  • SFTP to File Scenario using multiple files

    Hi All,
    I have a scenario wherein 2 separate CSV files ex a.csv and b.csv has to be picked up from the SFTP folder and the same has to be mapped and send to one single file ex c.csv.
    Say a.csv contains fields Name,Address and b.csv contains Phone,Mobile and I need to map them as per FSD into c.csv which will then have Name,Address,Phone,Mobile
    I am bit confused on how to do it.
    Shall I use Additional File name option in SFTP sender channel configuration? In that case how will I use the FCC as we have 2 separate csv files and both the files are CSV files and needs to be converted to XML.
    Any related threads will help.
    Regards,
    Shaibayan

    Hi Inaki,
    Thanks for your reply.
    BPM is not an option in our case as we are told not to use BPM.
    However as per the thread from Michael
    "pick both files in one run (one as file, the other one as attachment - so one communication channel )
    inside the mapping you can get the values from the attachment and do the mapping"
    This part is fine and we can do the mapping by creating N:1 mapping but since our files are .csv files so a content conversion is required for both the a.csv and b.csv. How to go through with this.
    The structure will be something like below in the message mapping after we add both the source structures in Signature Tab:
    Message
         Message1
              MT_FILE_A
                   RecordSet1
                        Name
                        Address
                        Field3
         Message2
              MT_FILE_B
                   RecordSet2
                        Phone
                        Mobile
    Can I use the below values for Content Conversion?
    Document Name:MT_FILE_A,MT_FILE_B
    Recordset Structure:RecordSet1,*,RecordSet2,* or we have to use MT_FILE_A.RecordSet1,*,MT_FILE_B.RecordSet2.*
    And in the Name Value for Name do we need to use dot for each Document Name i.e.
    MY_FILE_A.RecordSet1.fieldSeparator?
    Regards,
    Shaibayan

  • Is it a good idea to use BRE for Message transformation instead of using Maps?

    We are thinking about a scenario of constructing multiple versions of hl7 messages from a source schema. We thought of constructing BRE vocabulary for both source schema and HL7 2.6 schema and then use policy per version with bunch of rules for
    transforming the source schema to hl7 schema. We think this will provide more maintainability to tackle future changes but in other way this seems a over kill. Any suggestions or opinions would be highly appreciated.  Thanks you

    If you are using BizTalk 2010 and above, you can think of using BRE pipeline framework.
    Pls read the description below and see if this fits into your requirement. 
    https://brepipelineframework.codeplex.com/
    http://adventuresinsidethemessagebox.wordpress.com/2014/08/16/using-the-bre-pipeline-framework-to-execute-maps-dynamically/
    Alternatively, refer:
    https://social.msdn.microsoft.com/Forums/en-US/043527f4-cb1f-47b2-ab82-e412c149b9b3/dynamic-mapping-in-biztalk-using-bre?forum=biztalkgeneral
    Rachit

  • Reg: sending an email using report server

    Hi,
    i am using the below code to send an email using the report server.
    When send button Click:
    DECLARE
    PL_ID ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    rep_status varchar2(20);
    l_host_name varchar2(50);
    l_port_num varchar2(10);
    l_server_name varchar2(50);
    l_month_name varchar2(20);
    l_from varchar2(50);
    l_to varchar2(50);
    l_cc varchar2(50);
    l_property varchar2(1000);
    l_sub_out varchar2(200);
    l_sub varchar2(400);
    L_BODY VARCHAR2(1000);
    l_email_dir varchar2(50);
    BEGIN
    l_sub:=:block1.number||' '||replace(replace(:block1.desc,'&','ampersand'),'''','$quote');
    if length(l_sub) >150 then
    l_sub_out:=substr(l_sub,0,150);
    else
    l_sub_out:=l_sub;
    end if;
    l_host_name := (i used my host ip address local host);
    l_port_num := '8889';
    l_email_dir := 'C:\forms\';
    l_from := [email protected];
    l_cc := [email protected];
    L_BODY:=' Please refer to the attached abc Report';
    repid := find_report_object('PRINT_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'abc');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,MAIL);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');     
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,l_server_name);
    go_block('abc_MAIL_TO');
    first_record;
    if :abc.email_address is not null then
    loop
    l_to:=:abc.email_address;
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no DISTRIBUTE=YES DESTINATION='||l_email_dir||'test.xml'||' '||
    ' p_2='|| TO_CHAR(:control.sessionid)||' '||'P_ID='||TO_CHAR(:block1.ID)||' '
    ||'P_LIST_TYPE='||'A'||' '     
    ||'DISTRIBUTE=YES DESTINATION=test.xml'||' '
    ||'P_FROM='||''''||l_from||''''||' '
    ||'P_SEND='||''''||l_to||''''||' '
    ||'P_CC='||''''||l_cc||''''||' '
    ||'P_FILE='||'C:\testfile.txt'||' '
    ||'p_email_path='||l_email_dir||' '
    ||'P_BODY='||''''||l_body||''''||' '
    ||'P_NUM='||''''||'Email report: '||l_sub_out||'''');
    v_rep := RUN_REPORT_OBJECT(repid);     
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    null;
    ELSE
    message(rep_status);
    message('Error when sending email to: '||l_to);
    END IF;
    if :system.last_record='TRUE' then
    exit;
    else
    next_record;
    end if;
    end loop;
    end if;
    message ('Mail has been sent.');
    END;
    In the report:
    I created all the required parameters and i wrote a trigger as
    function AfterPForm return boolean is
    dst_file text_io.file_type;
    l_email_dir varchar2(50);
    begin
    dst_file := text_io.fopen(:p_email_path||'test.xml','w');
    text_io.putf(dst_file, '<destinations>'||chr(13));
    text_io.putf(dst_file, '<mail id="ex1" '||chr(13));
    text_io.putf(dst_file, 'from="&P_FROM"'||chr(13));
    text_io.putf(dst_file, 'to="&P_SEND"'||chr(13));
    text_io.putf(dst_file, 'cc="&P_CC"'||chr(13));
    text_io.putf(dst_file, 'subject="&<P_NUM>">'||chr(13));
    text_io.putf(dst_file, '<body srcType="text">'||chr(13));
    text_io.putf(dst_file,'<![CDATA>'||chr(13));
    text_io.putf(dst_file, '</body>'||chr(13));
    text_io.putf(dst_file, '<foreach>'||chr(13));
    text_io.putf(dst_file, '<attach format="pdf" name="report.pdf" srcType="report" instance="all">'||chr(13));
    text_io.putf(dst_file, '<include src="mainSection"/>'||chr(13));
    text_io.putf(dst_file, '</attach>'||chr(13));
    text_io.putf(dst_file, '</foreach>'||chr(13));
    text_io.putf(dst_file, '</mail>'||chr(13));
    text_io.putf(dst_file, '</destinations>'||chr(13));
    text_io.fclose(dst_file);
    return (TRUE);
    end;
    Then after compilation i click the button send. Then i got the message as
    Mail has been sent to [email protected].
    But i didn't receive any mail.
    then i check the report job id. It was showing job was successful .
    And i check whether the test.xml file was created or not. It has created the test.xml file as below:
    <destinations>
    <mail id="ex1"
    from="&amp;P_FROM"
    to="&amp;P_SEND"
    cc="&amp;P_CC"
    subject="&amp;&lt;P_NUM&gt;">
    <body srcType="text">
    <![CDATA Please refer to the attached abc Report]>
    </body>
    <foreach>
    <attach format="pdf" name="report.pdf" srcType="report" instance="all">
    <include src="mainSection"/>
    </attach>
    </foreach>
    </mail>
    </destinations>
    I have 2 machines having dev 10g. one machine is working fine with this code. but in my machine it was not working.
    Do any one of you had a solution for my case.
    Thanks in advance.
    Edited by: user648380 on Dec 29, 2009 5:59 PM

    Sorry to all.
    I made a mistake in the from email address.
    Instead of gmail.com i had given gmail,com
    I am really sorry about it.

  • If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    OUtlook was already set as the mail client for FF, and is my operating system (XP)'s default mail programme. therefore problem not solved at all. what I get whenever I follow a link in a webpage to send an e-mail is a little pop up window asking me to sign in to gmail or open an account. any other suggestions?

  • I have BIS but can't surf, send/receive email, use apps

    i have BB Curve 8520. My BIS was running smoothly (sending and receiving emails real time and surfing the net through BIS), until i noticed when i tried to reply to an email that came in, it won't send. i noticed that it's fluctuating. i was able to send the email after a few minutes... then a few minutes later, i received a replied email from my friend, and when i tried to send my reply, i wasn't able to. also, i can't surf using the browser with the "internet browser" as default. i tried using my wifi and then suddenly all my emails started coming in, all emails that were not able to go through hours ago. my big question was why do i need to turn on wifi just to receive emails. but since i had my BIS for 2 months now, i can send and receive emails and surf through BIS itself without turning on the wifi.  also, i can't use any of my apps like facebook, twitter, yahoo messenger, etc.  They used to work fine with BIS... but now, i have to turn on the wifi connection, so i could log in with them.  aren't these supposed to be running through BIS only?
    I have GPRS on top, not gprs. my carrier says i have active data plan/BIS. but under Services Status..it says Blackberry Internet Service:  Connection:  not connected...
    so, i wiped out my BB and deleted all third party apps. when this was done, i received emails telling me "Your handheld has been registered with the wireless network" and even got "Activation Server" emails telling me that the emails that i have previously set up are now up and running. so i thought my BB is now ok.. i tried surfing, it was okay. after like about 5 minutes, it was down again. tried sending email but can't... i turned on the wifi and boom! the emails started coming in again.i have the Host Routing Tables and my Service Books in my BB. I have GPRS (not gprs) on top which means i have active BIS.  i have registered my HRTs several times... and resending my service books... same thing...
    the big mystery is when i turn on the wifi, the emails suddenly go through and i can send emails. i can open apps that used to only run on BIS. this is ok i guess, but i could never do any of these if i'm not connected to wifi.
    my sister and i have the same BB... i removed my sim and inserted it to her BB and the BIS worked fine... i was able to surf and use apps.. but when i put my sim back on my phone, the problem still exists.  i even used a different sim card that is also subscribed to BIS/data plan, and it still has the same problem... my guess is my carrier is right that my data plan is working ok and that my handheld itself has the problem... 
    i updated my OS, same problem.. wiped it out... used BBSAK, reinstalled OS... numerous battery pulls... same thing... i can receive the HRTs and service books, but after that can't do anything else like i used to... (send/receive emails, use apps like facebook, twitter, ym, etc., can't surf with internet browser - except when wifi is on everything else work fine even emails and apps).. 
    i would really appreciate your help guys.. thanks!

    Hi tarifiq and welcome to the BlackBerry Support Community Forums!
    Can you send me a private message with your PIN so I can check this out for you?
    Thanks
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Sending an email Using IChannel

    I am developing a portal component which would send an email using the IChannel's sendTo method. The problem is the sendTo method takes the to and from addresses of the receiver and sender in a channel specific format. For which I could use the following code
    Does anybody know how I could get these addresses in these specific format.
    Thanks

    Hi Mukesh,
    I'm not sure I understand you correctly.
    The to and from addresses are the email addresses of the sender and the reciever.
    These are simple strings, just as you would write them in the "To:" section when you sent an ordinary e-mail.
    You can use "annonymous" as the from address if you don't have an address to send from.
    Here's an example:
    IChannel emailChannel = ChannelFactory.getInstance().getChannel(ChannelFactory.EMAIL);
    MimeMessage  msg = createMessage();
    emailChannel.sendTo("[email protected]","[email protected]",msg);
    createMessage() is for you to implement of course.
    Hope that helps,
    Yoav.

Maybe you are looking for