Skip to Content
avatar image
Former Member

Steps to create file to Mail scenario in sap pi

Hi All,

My Scenario is ,I need to pick the file from location and send the file as attachment to the receiver mail.I configured both File and Mail adapters.but i didn't receive any mails.Please find below is the source and target structure i am using

Source Structure:

<?xml version="1.0" encoding="UTF-8"?>

http://infosys.com/sap/pi/workbench/hyd/inf670710">

<Record>

<EmailFrom/>

<EmailTo/>

<Subject/>

<Message/>

</Record>

</ns0:MT_670710_fileinput>

Target Structure:

<?xml version="1.0" encoding="UTF-8"?>

http://infosys.com/sap/pi/workbench/hyd/inf670710">

<Record>

<From/>

<To/>

<Subject/>

<Message/>

</Record>

</ns0:MT_670710_Mailoutput>

Please find below is the File sender and Receiver mail adapter which i configured in ID.Please provide the steps to send the source file as attachment.

mail-adapter.png (18.9 kB)
file-adapter.png (19.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 25, 2016 at 01:22 PM

    This Blog should help you.

    Stop Using Mail Package

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Firstly chekc if there is any error in receiver channel , if yes please let us know what is the error ? Usually the mail server would be something like smtp://server.XXXX.com so just cross check withan y of your earlier existing mail channel and chekc the mail server.

      And also i see you have enabled Delivery Notification , didn't you get any delivery error/successful mail ?

      br,

      Manoj

  • avatar image
    Former Member
    Nov 03, 2016 at 09:00 AM

    Hi Manoj,

    yes i am getting Delivery Notification as mail sent successfully.

    Regards,

    Priya D

    Add comment
    10|10000 characters needed characters exceeded