Receiver Mail adatper Issue

Hi Exports,
PI7.0
My scinario is File to Mail. This is simple one pick the .txt format file and send with attachement by mail. We do not have any design objects by using Integration Repository. We confirgured with Integration directory direclty. 
In this scinario, I have .txt format file should be attached and send it by using Mail adapter. Here I am able to receive mail with attachement. But file format is not with .txt format and became with .dat format. 
How should I conifure to get .txt format file with an attachment .On which level I should be configure in ID either Sender channel(using file adapter) or receiver channel(using Mail adapter).
scot level setting are OK.
Any suggestions. Thanks in advance.

Hi,
i think, you need to use an Adapter module to change the name of attachment. Have a look into below discussions.
Mail adapter- Attachment file name of scheme ddmm
Have a look into this article.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05?quicklink=index&overridelayout=true
Regards
Aashish Sinha
Edited by: Aashish Sinha on Mar 13, 2011 5:36 AM

Similar Messages

  • Receiver Mail Adapter Issue.

    Hi All,
    I am running an interface from proxy to email using the inbound mail adapter. The email adapter is resutling in the following exception:
    failed to send mail: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    Could any one please throw some light into this issue?
    Thanks a ton! in advance.
    Thanks,
    Manohar Dubbaka.

    Hi,
    Thanks for the quick response.
    I am trying to send an attachment using the email. I am using
    Transport Protocol as : SMTP
    Message Protocol as : XIPAYLOAD
    Adapter Engine as : Integration Sever
    URL as: smtp://10.1.1.11
    Configure User Authentication as : Check
    Content Encoding as: base64
    Keep Attachments as : Check
    And also using the Adapter Framework modules as:
    AFT_Modules/StrictXml2PlainBean                               Local Enterprise Bean       1
    AF_Modules/MessageTransformBean                           Local Enterprise Bean        3
    AF_Modules/PayloadSwapBean                                   Local Enterprise Bean        2
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean      Local Enterpriese Bean   mail
    I am converting the XML message into comma separated text file using the following transformation
    1              Record.beginSeparator         "
    1              Record.endSeparator           "\r\n
    1              Record.fieldSeparator          ","
    1              singleRecordType               Record
    3             Transform.ContentType        text/plain;name="MGFSPECS.TXT"
    2             swap.keyName                   content-type
    2             swap.keyValue                   text/plain
    This mail adapter was working fine, earlier. I am not sure, why this is resulting in issues ?
    Truly, appreciate any kind of help in gettint this resolved.
    Thanks
    Manohar Dubbaka

  • I can receive mail on my 5S but can't send email. Setting appear correct so what is the issue?

    I can receive mail on my 5S but can't send email. Setting appear correct so what is the issue?

    Who is the email provider and what settings are you using?

  • Mail Receiver and Attachment Issue - how to get an attachment into the body

    I have an abap proxy that sends a simple message to XI with a pdf attachment. XI maps the xml message to the Mail Adapters Mail Package format.
    To have the email sent with the PDF attachment I must click the "keep attachments" option. However this also has the side-effect of making the message payload an attachment as well (seems silly?). Therefore I get an email with two attachments: one is the PDF and the other is the plain text that should be in the email body.
    The question is: How do I get that plain text attachment back into the Message Body ? I have tried all combinations of the MessageTranformBean and the PayloadSwapBean with no luck.
    I can easily change the names of the attachments with the MessageTransformBean but if I set the text attachment to Transform.ContentDisposition inline, it still just comes out as an attachment. And, if I use the payloadswapbean the adapter log says it corectly swapped the right payload however the email still comes out with the text as an attachment!!
    Any ideas on how I can do this? Is it a bug in the module beans?
    (I'm using MS Outlook as the email client.)
    Maybe I need to write my own module bean to do this... If I set keep attachments to OFF, can I still set the PDF attachment with my own modules (the reason I ask this is that with keep-attachment OFF, the message body correctly has the text in it...
    Regards,
    Jason.
    Edited by: Jason Scott on Mar 6, 2008 3:22 AM

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • Receiver Mail adapter Content type issue

    Hello,
    I am formatting the body of the receiver mail. The body of the email  should look like below.
    Dear PI User,
    The following Interface has been successfully processed by the middleware PI system.
    Please do not reply to this email. If you need more information please contact the Super User.
    Regards,
    SAP PI Team
    The mapping looks fine and My source MT looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Mail_Reply xmlns:ns1="http://test.com/Mail/Reply"> 
    - <Reply>  [0..unbounded] 
    - <Item> [0..unbounded] 
    <MESSAGE>Dear Business User, </MESSAGE>   [0..1] 
    /Item>
    - <Item> 
    <MESSAGE>The following Interface has been successfully processed by the middleware PI system.</MESSAGE> [0..1]
    </Item>
    - <Item> 
    <MESSAGE>Please do not reply to this email. If you need more information please contact the Super User.</MESSAGE> [0..1]
    </Item>
    - <Item>
    <MESSAGE>Regards,</MESSAGE> [0..1] 
    </Item>
    - <Item>
    <MESSAGE>SAP PI Team </MESSAGE>  [0..1]
    </Item>
    </Reply>
    </ns1:MT_Mail_Reply>
    The mapping works fine without errors and I get the target message as below after mapping-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30"> 
    <Subject>ISAP PI Interface Status</Subject> 
    <From>[email protected]</From> 
    <To>[email protected]</To> 
    <Content>Dear Business User</Content> 
    <Content>The following Interface has been successfully processed by the middleware PI system.</Content> 
    <Content>Please do not reply to this email. If you need more information please contact the Super User</Content>
      <Content>Regards,</Content>
      <Content>SAP PI Team</Content>
    </ns1:Mail>
    t
    The context of MESSAGE has been changed to Reply.
    In the adapter I still get the following error.       
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: expecting end tag: {http://sap.com/xi/XI/Mail/30}Mail, but found {}Content at state 1
    Please advise !!
    Thanks,
    Teresa
    **I changed the receiver mail adapter to not use Mail package and I receive an email without errors with the Content as mentioned above. **

    Hi Teresa,
    I think the problem is that you are using multiple "Content" tags. Have you tried to use only one?, you can concatenate all your text.
    Check the page 3 of this document to know how introduce new-line character http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992?overridelayout=t…
    Regards.

  • Mail sending issue and receiving sound intermittent

    I have three mail accounts on the 3G iPhone if that matters.
    The primary SMTP server I have setup for when using email at home on wi-fi. Set up the same as on the Mac to the ISP I connect to. Works fine sending and receiving on the iPhone.
    Under other SMTP servers I have set to reflect the mobile provider I connect to when not on wi-fi.
    The only way I can send mail using the mobile provider is to turn off the primary server.
    The instructions on the screen say " If mail is unsuccessful using the primary server it will try the other SMTP servers in succession. Clearly not doing this as if it can't connect using the primary server it doesn't continue searching through other servers.
    Anyone else experiencing the same problem?
    In addition the sound on receiving mail is intermittent and generally doesn't work. If it does it only works the one and then only one of the three accounts. And then goes away again.
    I was hoping that the 2.1 update may have fixed both of these.

    Bump

  • From mac mail,  I can send but not receive mail. Also, on the same mac, I can run mail through Entourage and no issues with sending or receiving

    only found this problem with mac mail , when new hard drive waqs installed!!
    i CAN SEND from mac mail
    When I first set it up, i could receive mail but not send and now its the other way around
    I cannot receive mail.
    However, under Entourage mail, i have not problems with similar settings!!
    Can you help, this is wrecking my head!!

    What do you see if you invoke Mail's menu option Window > Connection Doctor?

  • Mail issue: received mail is being replaced by older mail from my inbox

    Some of my inbox received mail content is being replaced by older mail from my inbox.  Since I receive mail from my gmail account, I have to go there to check the mail which is not replaced.  An ideas/suggestions?

    Did it work correctly before now?
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.
    In Mail's Window Menu, choose Connection Doctor, any red dots for status, if so what is the message?
    Then click the Show Details button & Check again.

  • Cannot receive mail from .Mac account on port 143

    I use my laptop at work. I used to have a 12" Powerbook G4 running OS X 10.4.3. I had no problem receiving mail from my .Mac account. Now, and all of a sudden, I can no longer receive my .Mac mail using the Mail app. The error I get is:
    The server "mail.mac.com" refused to allow a connection on port 143.
    I called AppleCare about this issue last night and they told me to perform the following steps:
    1. Choose .Mac in System Preferences and delete my username and password from the Account tab.
    2. Move com.apple.mail.plist and the Mail folder from my ~/Library folder to the desktop.
    3. Restart the Mail app and re-import the Mail folder from the desktop. I was told not to directly copy the Mail folder from the desktop into the ~/Library folder.
    4. Go back into .Mac in System Preferences and re-enter my account information.
    According to AppleCare, things should now work. But there's a little problem with this "solution." I spoke with my network admin and he told me that incoming traffic on port 143 is blocked. That being the case, I fail to see how any of the above steps will solve my problem. It seems nothing more than an issue of trying to get my network admin to open port 143 and he seems reluctant to do that.
    Any feedback would be appreciated.
    Thanks,
    Richard

    I've solved this problem. Well, actually, I didn't do anything other than:
    1) Rebooting my computer, then...
    2) Following the instructions at the top of the following thread to re-create my email accounts (I had two):
    http://discussions.apple.com/message.jspa?messageID=1598309#1598309
    Not sure what this fixed, and how I got into this issue in the first place.
    I had four or five days worth of email to come in... it took...
    ...a...
    ...long...
    ...time...
    But its looking like its working.
    A few things I tried, and although they didn't have an immediate effect to fix the connection refused problem, they might have kicked something to start something working again:
    1) Created a new 'test' user on the system, restarted, logged in as that user, and started Mail.app setting it up with .Mac settings (it was after this everything worked)
    2) Changed SSL ports in the accounts settings (no difference)
    3) Turned firewall on and off (no difference)
    4) Attempted to use Thunderbird to read .Mac email as IMAP mailbox (didn't work)
    Hope this rather obvious help helps anyone else

  • My gmail account receives mail, but will not send, forward, or reply...it gets stuck in the spin and then I have to force quick firefox.

    My gmail accounts receives mail, but will not send, reply or forward. Also cannot open settings. It gets stuck in spin mode.
    I worked with an apple tech, tried several things, and then she suggested I contact Mozilla support.

    Hey Butterworth,
    You may need to use the information in this article to help you troubleshoot the issue with your outgoing server:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • I have 3 mail accounts in apple mail. One of them has had the spinning ball going for several days and I cannot receive mail in this account. I can receive mail in this account on my iPad and by signing into aol on safari. It's obviously a glitch in Apple

    I have 3 mail accounts in apple mail. One of them has had the spinning ball going for several days and I cannot receive mail in this account or delete messages etc. For some  reason, I CAN send mail on Apple mail using this account, although it takes several minutes. I can receive mail in this account on my iPad and by signing into aol on safari and internet explorer on my office PC. It's obviously a glitch in Apple's Mail. I've deleted this account and reopened it in Mail on my Mac Pro with no difference. Any suggestions would be greatly appreciated, this E amil account is major to my business.

    http://support.apple.com/kb/TS3276
    sounds like a corrupt database or index
    the glitch is your home folder and mail folder, esp look at syncservices
    I'd post in the mail or Lion forum where you will find similar issues being discussed.
    http://www.apple.com/support/mail

  • My Mac has stopped receiving mail. Mail is still coming through to my iPhone and my wife's iPad but is not appearing on my mac. I have mail from today on the phone but nothing newer than 18 Feb on the Mac. I have not touched any settings. Can anyone adv

    My Mac has stopped receiving mail. I have a mac.com address. Mail is still coming through to my iphone and my wife's ipad but nothing is coming through to my imac.I have mail from half an hour ago on the phone but nothing newer than 18 Feb on the mac. Everythng was working fine until recently and I have not touched any settings! Can anyone help?

    So I tried something else recently and it seems to have fixed the issue. My mail is now getting new mail again and refreshing after waking from sleep without having to restart mail. Give it a try and hopefully it will help you too.
    First, make sure your Mailbox List is visible (Shift + Control + M). Then select all of your inboxes, mailboxes, and folders (not just the root folder for nested folders, make sure to select them all). Then under the "Mailbox" menu, select "Rebuild."
    It may take a while to rebuild them all if you have a lot, but like I said it seems to have done the trick for me. I hope that proves to be more of a long-term solution.

  • My mail is getting stuck in outbox, but I am receiving mail just fine. Message says 'server timed out'. What can i do to fix this?

    My mail is getting stuck in outbox, but I am receiving mail just fine. Message says 'server timed out'. What can i do to fix this?

    Hello Naila1,
    It sounds like you are unable to send emails, as they go straight to the outbox, but you can get the emails without issue. I recommend using the Connection Doctor to help you troubleshoot what is happening with the following article:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • I can log on icloud on pc but when i enter password on my ipad mini first gen with ios8 it tells me wrong password. and i can receive mail but cannot send any mail via icloud, gmail, yahoo never had to set this up with ios7. how do i resolve this?

    I updated my ipad mini first gen 32gig (4.3gig free) to run ios8 8.0(12A365) and i have a problem sending emails. i can receive mail but when i send it fails. my dropbox works fine, safari, and other apps work fine on the internet just the receiving of mail. Do i need to add a new outgoing server, though i dont remeber having to do this when i updated to ios7. how do i resolve this?

    Here's a troubleshooting article from Apple:  iOS: Troubleshooting Mail
    It doesn't seem to cover your specific issue, but have you tried using a different network (either a different wi-fi network, or switching from wi-fi to cellular or vice-versa if you have a wi-fi+cellular iPad)?
    For GMail, iCloud and Yahoo, copies of messages are stored on their respective servers, so you could try deleting the account on your iPad, then re-adding each account one at a time to see if that resolves the issue.

  • How do I set up my 3G to send/receive mail from MS exchange?

    How do I set up my 3G to send/receive mail from MS exchange?

    Welcome to the Apple Community.
    If you can't get your mail to work on Snow Leopard after June 30, you might want to try one of these approaches
    1. Configuring Mail in Snow Leopard
    2. Delete your mail account from Mail preferences and set it up again using the Mail Server Information.
    Some users have apparently encountered issues using this information in pre-Lion set ups (I haven't), Roger Wilmut has kindly provided instructions for those who find themselves with this problem.
    Entering iCloud email settings manually in Snow Leopard or Leopard

Maybe you are looking for

  • How to trace a USER in oracle?

    Hi Sir, I have a rquirement that I need to Trace a session created through the Application. The only data I have is that I know the application will connect to a Database schema and nothing else. How is it possilbe that I can create a trace file for

  • Is there a length counter of sorts

    I am splicing together video clips. Is there a counter where I can start at a certain number and end at a number, within the length of that clip?

  • Can´t transform illustrator files

    I´ve just downloaded the application because it said it can transform illustrator, indesign and photoshop files. Since the app to see those type of files is not supported on the ipad I thought this would be a solution to my problem of seeing my work

  • Can't add new printer to iMac G5

    Hi, I've just purchased a new Epson Stylus CX7800. I installed the software, plugged in the USB cable and restarted the computer. When I try to add the printer in the Printer Setup Utility, it's listed but when I select it, the button to "add" it doe

  • Reloading Vista after a disk wipe

    I have a Paviillon 6500 Entertainment laptop that came with Vista pre-loaded.  I bought a new laptop a couple of months ago and wiped the drive of this pavillion because I originally thought I was going to junk it.  But now, if I can get Vista back o