Mail Adapter Settings ??

Hi Experts,
Please let me know how to use Connection Parameters for Mail Server in the MAIL ADAPTER.
1) Here, What is the URL stands for ?
2) User Name and Password is related to what ?
I initailly gave the Company ID and Password, so it worked.
But later when I tried with GMAIL it didnt work.
What is the significence of Mail Attributes given in the Mail Adapters down side.
I am getting confused with all these. Please put the clear light on it.

Hi,
URL stands for the mail server URl, userID is also mailserver userID(not mail ID) and pwd also server password, by using this authentication details only we can able to connect to the mail server.
If you want to send the attachments then
By using the mail atttributes Mail package and Keep attachments we can send the attachments. And in the Module configuration tab we can get one default file and we add 3 more files that are
Transform.ContentDescription
Transform.ContentDisposition
Transform.ContentType
  These files are available on the Net you can search for that files.
Ex : URL : smtp://10.30.200.107
Select the configure user authentication check box and Authentication method is Plain and give the user id and password for the mail server.
Guna gave good link, for configuration settings you can follow that link.

Similar Messages

  • SMTP Mail Adapter settings

    Hi Experts,
      I have small doubt regarding SMTP Mail Adapter settings.
    Right now i am sending files in attachment to the Users through SMTP.
    But  now User needs in MIME type for which i can see settings in Security Parameter.
    I can see is S/MIME, when i flag that i can see Duration like Days, hours, minutes, seconds.
    Could you please tell me what is the significance of it.
    Appreciate for your suggestions
    Regards,
    Bhasker

    Hi,
    >>>What does Duration means is that if i give duration that security archiving works for that duration
    nothing for now - this functionality does not work so it makes no difference what does it mean
    Regards,
    Michal Krawczyk

  • MIME settings in reciever mail adapter.

    Hi,
    We are trying to send the emails from XI system through SMTP adapter to a legacy system.
    The Legacy system wants file in the MIME format.
    At the XI end we have done the java mapping for the email configuration. Also, the configuration has been done to set the outgoing message format as MIME.
    The issue is the legacy system is not accepting the mail sent by our system.
    The issue has been found in few files. As in the legacy system is accepting randomly some files sent by our system.
    Please advice whether the error can be at the XI configuration end or it is at the legacy system end.
    Appreciate your quick responses.
    Regards,
    Alpa.

    Hi Jyothi,
    The MIME settings was there in the reciever mail adapter.
    Please note that the system was working fine since last month.
    The legacy system was recieveing the data sent by XI system since last month.
    There has been no changes done at the XI end and the reciever adapter end till now.
    Moreover now some files are being accepted by the legacy system.
    for eg. lets say if the system sends the files in sequence-1 2 3 4 5
    Randomly the legacy system is accepting file 1 and 4.
    We dont see any difference in the way the files are being created and sent in the XI end.
    The legacy party is claiming that no changes has been done.
    So wanted to know where to look for the possible cause of error.
    Regards,
    Alpa.

  • Duplicate messages in sender mail adapter

    Hi,
    We are using the sender mail adapter to retrieve messages from an IMAP mail server. Messages are being picked up correctly, but when we have large messages (with e.g. PDF attachments) things go wrong.
    The time it takes to retrieve the mail message is longer than the poll time. In this case the adapter logs in again in the mail server to retrieve the first new message from the inbox. However the first adapter threat is already retrieving that message. This results in a duplicate message in XI. (messages are set to be deleted when read).
    We have tried all kind of settings in the adapter but without any results. The adapter works fine with very small messages.
    Does anyone recognize this problem? 
    PS. please do not post links to sap help or the mail adapter FAQ. Useful answers will be rewarded.
    Thanks,
    Christiaan Schaake

    Hi Christiaan !
    I understand your problem. Could you set your IMAP account to avoid multiple simultaneous sessions?? maybe if there is only one session allowed per user or per time, then parallel XI threads will not be able to start downloading the messages.
    If you cannot use a longer poll interval, then you could develop an adapter module for the Mail sender adapter that could be used to verify if the current mail is just being downloaded by other thread. This adapter module could check the unique mail data (date/time + subject + etc.) against a local table.
    Regards,
    Matias.
    PD: please award points if helpful.
    Message was edited by:
            Matias Denker

  • Receiver mail adapter - Payload as a Text attachment

    Hi,
    In my proxy to mail adapter scenario, when i want to send payload to email as a Text email, where i need to content conversion in XI (XML to Txt file)
    when i send payload, currently i am receiving as a XML file.
    I try to follow like Rushikesh Deshmukh XI thread: Text Attachment in Mail Adapter  in XI forum(topic)
    I have having following config
    Processing Sequence
    localejbs/CreateAttachment Local Enterprise Bean XML2Plain
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    Module Configuration
    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
    XML2Plain Transform.ContentType text/plain;charset=utf-8
    XML2Plain xml.Header1000.fieldFixedLengths 100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
    XML2Plain xml.Header2000.fieldFixedLengths 100,30,40,240
    XML2Plain xml.addHeaderLine 0
    XML2Plain xml.conversionType StructXML2Plain
    XML2Plain xml.recordsetStructure Header1000,Header2000
    Please suggest some solution."
    Could you tell me exactly where i need to do all these setting and
    do i need import localejbs/CreateAttachment Local Enterprise Bean XML2Plain...I mean shall i add same in my processing sequence
    give in detail ? (in Receiver mail adapter Communication channel,  advanced mode additional parameters)
    I tried to follow this also
    http://help.sap.com/saphelp_nw04/helpdata/EN/4e/c153426da9bd30e10000000a155106/frameset.htm
    but i could not find much info on this help.sap.com reg. req.
    Thanks
    Prabaharan

    Hi
    f i create like this Receiver CC (module Tab)
    number: 1
    Module Name: localejbs/CreateAttachment
    Module Type: Local Enterprise Bean
    Module Key: mail
    is it enough? do i need any other setting like this
    Did you deployed CreateAttachment on PI server. As this is not a standard SAP module this is a custom module?
    mail as module key is already used by XIMAILAdapterBean use some other key for CreateAttachment
    Settings are fine for the Module
    Processing Sequence
    localejbs/CreateAttachment Local Enterprise Bean XML2Plain
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    Module Configuration
    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
    In this:
    Module Key: XML2Plain
    Parameter Name: Transform.Class
    Parameter Value: com.sap.aii.messaging.adapter.Conversion
    is it right?
    Processing sequence is fine
    XML2Plain Transform.ContentType text/plain;charset=utf-8
    XML2Plain xml.Header1000.fieldFixedLengths 100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
    XML2Plain xml.Header2000.fieldFixedLengths 100,30,40,240
    XML2Plain xml.addHeaderLine 0
    XML2Plain xml.conversionType StructXML2Plain
    XML2Plain xml.recordsetStructure Header1000,Header2000
    can i anyone explain how to these settings?
    Is this key valid to provide inputs to the module check with the code for this module
    This looks like valid for MessageTransformBean ro StrictXMLtoPlainBean
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 15, 2008 5:34 AM

  • Receiver Mail Adapter, Mail Package with Payload as Attachment

    Hi Everyone,
    I have spent the better part of the day today searching and testing all of the different combinations that I could think of to solve this problem, so please don't just do an SDN search for me and cut/paste in the links as there are too many contradictive answers piling up over the last year.
    I am trying to use a Receiver mail adapter to send some data using the mail package, and I want to have the <content> tag be in an attachment.  I am using mail package to dynamically set the mail address, but to also try and turn my data into a csv file that the recipient can open in Excel.
    My mail package sets the following values:
    <Content_Type>text/plain</Content_Type>
    <Content_Disposition>attachment</Content_Disposition>
    <Content>Sample Text</Content>
    This blog is basically what I am trying to do: 
    <a href="/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword:///people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    But no where in here is he setting ContentDisposition, and he is (potentially) not using the MessageTransformBean module.
    It is unclear if I need to use the MessageTransformBean to make this work? 
    Questions:
    1) Do I need to use the MessageTransformBean?
    2) Do I need to set the ContentDisposition in the mail package?
    3) Does Service Pack matter with these settings?  We are on SP15 upgrading to SP18 very soon.
    Thanks
    Peter

    Hi Peter,
    try:
    <Content_Type>text/plain;name="file.csv"</Content_Type>
    <Content_Disposition>attachment;filename="file.csv"</Content_Disposition>
    <Content>Sample Text</Content>
    Regards
    Stefan

  • Receiver Mail Adapter

    Hi All,
    I am using Receiver Mail Adapter to send mails.
    When i choose Message Protocol the mail goes. But when i change it to XIPAYLOAD the mail doesnt go.
    I cannot find any errors in SXI_MONITOR or in adapter monitoring.
    My file is in this format..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
      <Subject>Mail From XI new</Subject>
      <From>kmadmin</From>
      <To>[email protected]</To>
      <Content_Type>text/plain</Content_Type>
      <Date>2006/08/24</Date>
      <Content>Test mail from XI</Content>
      </ns0:Mail>
    Tried both ways..
    XIPAYLOAD without “Mail Package”
    XIPAYLOAD with “Mail Package”
    Can anyone temme where im going wrong..or any settings which i need to do.

    Bhavesh
    <i>Am not sure which SP onwards this is applicable. But , did you select and try with MAIL PACAKGE also selcted.</i>
    Tried using both wayz..
    You dont need to create ,http://sap.com/xi/XI/Mail/30  namespace in IR.
    The mail is going now..
    just disabled
    Content_type, Date in Mapping.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
      <Subject>Mail ALert XI</Subject>
      <From>kmadmin</From>
      <To>[email protected]</To>
      <Date>2006/08/24</Date>
      <Content>SQL Server Is Not Working</Content>
      </ns0:Mail>
    Thanks
    SUmit

  • Error in receiver Mail Adapter of PI 7.1

    Hi Team,
    I had configured Mail Receiver Adapter in PI 7.1 with the following Parameters.
    I had imported the XSD given & Mapped only Subject, From, To, Content fields.
    In Receiver Communication Channel parameters are
    *Transport Protocol = SMTP
    Message Protocol = XIALL
    URL = SMTP url given
    Authentication Method = Plain
    User/ Password given for my id only
    MAIL Attributes
    From, To = my own company id
    Content Encoding = base64*
    These are the seeing i had done for Mail Receiver Communication Channel
    When I test by HTTP, i am getting Succesful in Moni & in Adapter i am finding this error.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error: invalid XIMailAdapter channel 'b7b80e17d9e336b38354f663c01aed68'
    Mail Settings have been done in System, got even Test mails from System.
    Thanks in Advance,
    Sriram

    See, the XSD that you are referring or the blog is referring needs to be imported under External Definitions and directly use it in message interface & message mapping ....you dont again need to create a DT based on that XSD!......you will need a DT & MT just on the sender side (in your particular case)
    So just create the DT for sender (you seem to have done this part).....import the XSD into IR from this location
    https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
    use it on the receiver side.....The only thing that i wanted to mention is that when you enter the Subject, To, From details in CC you can even design your own DT for receiver side
    I hope that you are entering the URl in this format --> smtp://<the url>
    Check this thread :invalid XIMailAdapter
    and this blog to confirm your settings: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards,
    Abhishek.

  • Sender Mail Adapter Transport Protocol as SMTP

    Hi,
    i am Working with Mail to File Scenario..
    Done with Whole Process..
    But when i m Sending a mail from SBWP... the mail was sent Successfully sent to the receptint...
    But i m not able to see my message in SXMB_MONI ... and when i check in RWB i got the following error at Sender Communication Channel..
    Can Anyone help me to fix this Error... what might be the problem ?
    1/5/11 1:20:29 PM   mail client job stopped completly
    1/5/11 1:16:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
    1/5/11 1:11:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
    1/5/11 1:06:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
      1/5/11 1:06:26 PM   mail client job scheduled

    Hi Deepthi,
    Try to restart the j2ee engine , Tcode=SMICM by SAP GUI.
    hope it works.
    Also try to chk themailserver security settings , maybe XI is not able to reach it.
    Chk whether theauthentication details for accessing mail box are correct ?
    Connection refused this error generally  occurs when XI is not able to connect .
    maybe some ports are not opened on the firewall
    check if the mail server you are trying to access is running.
    just chk the below link for Configuring the Sender Mail Adapter :-
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    Regards,
    Rohit

  • Mail Adapter: Working with mail packages

    Hi All
    I am having a receiver mail adapter.
    I am using mail package to send data as a text file attachment.I am getting the following error:
    failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found TM_Mail at state 1
    How can i override my current namespace with the recomended namespace 'http://sap.com/xi/XI/Mail/30}Mail'??
    Thanks
    Chandra

    I am trying to use the mail package as well and no e-mail delivered.  However,  when I do not use the mail package an use mail attribute and remove the code below it works fine.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30"> 
    <subject>824 test</subject>
    <from>edi/@/na.modine.com</from>
    <to>s.m.posnanski/@/na.modine.com</to>
    <reply_to>edi_support/@/na.modine.com</reply_to>
    <content_Type>text/plain</content_Type>
    <content>
    Hello
    </content>
    </ns:Mail>
    Can some provide the settings that are needed in the Module tab when using the "Mail Package" option??

  • Mail Adapter Configuration in XI 3.0

    Hi all,
    i tried to set up a process using the mail adapter. Unfortunately it doesn't work. Has anyone succeeded in setting up a process with the mail adapter using POP3 and SMTP?

    Hi Michael,
    I did not find any documentation of the XI 3.0 mail adapter so result of practical test only for outgoing mail using SMTP:
    <b>Mail server settings:</b>
    SMTP port 8025 (you can configure any port of course)
    Account demo, password test
    <b>Mail adapter configuration:</b>
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl
    Part 0 : common part ######
    Mail.MailSubject="mail from adapter z_outmail"
    Mail.MailFrom=[email protected]
    Mail.MailTo=demo@<you mail server name>
    XIALL or XIPAYLOAD
    Mail.MessageProtocol=XIPAYLOAD
    Mail.Log=1110
    Part : XI client to Mail server ######
    OMail.TargetURL=smtp://<you mail server name>:8025
    OMail.User=demo
    OMail.Password=test
    The port and path where the adapter waits for XMB messages from clients.
    XI.Port=8240
    XI.Path=/z_outmail
    It look so that there is no POP3 support, just only IMAP.
    Jiri

  • Receiver mail adapter error -mail not going to other domain users

    in xi this error is coming in mail adapter -
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to MAIL FROM;  Domain of sender address XXXat d rate of XX.XX.com does not resolve
    any resolution.upto yday everything was working fine.i crosschecked scot settings they r ok.

    Hii,
    In SXMB_MONI , its showing successful.
    In RWB , its showing error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to MAIL FROM;  Domain of sender address XXXX does not resolve.
    I checked mail id is perfect and settings r ok.
    Pls let me know wat else we can check and rectify it.

  • Sender Mail Adapter consegue ler emails com HTML?

    Olá pessoal,
    Encontrei um "issue" onde estou deconfiado de uma limitação do Mail Adapter.
    Gostaria de ouvir suas opiniões.
    O cenário usa um Canal de Comunicação do tipo Mail com XIPAYLOAD em uma caixa POP3, com as seguintes variantes:
    - com ou sem Mail Package;
    - com ou sem encoding;
    - mantendo os anexos.
    Independente das variações acima o resultado do email proveniente do POP é TEXTO.
    Será que o Mail Adapter suporta mensagens HTML?
    Será que o Mail Adapter suporta multipart/alternative Content-Type?
    >Versão do PI: SAP PI 7.0 SP14
    >Mail Server: Lotus Domino 7.0.x
    []´s
    Marlo Simon.

    Marlo,
    o content type é lido a partir do MIME Header que o Cliente de email que enviou a mensagem cria.
    Em geral, mesmo colando um conteudo XML no corpo do email, se o Content Type no Header vier text, o adapter vai interpreta-lo como texto.
    Se vc sabe que o conteudo sempre vai ser um XML, existe uma maneira de forcar que o adapter sempre sete o content type como xml, atraves do parametro avançado IMail.AssumeXMLContent. Veja o help do Sender Mail Adapter:
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
    Specify the additional parameter names and parameter values in the table:
    ●      For the security settings, enter values for the receiver party and receiver service here.
    ●      In the table, set the parameter IMail.AssumeXMLContent = true. The text of the message is then interpreted as XML and is copied unchanged to the mail package. If this parameter is not set, the information is copied from the content type of the MIME header. If the type specified there is application/xml or text/xml, the text of the message is copied as XML; otherwise it is copied as text.
    Abs,
    Henrique.

  • Mail adapter configuration

    Hi all,
      I am using the mail adapter to send mails to end users for a certain process from the integration server. The SXMB_MONI doesn’t give me any errors but I cannot see the mail coming through. On viewing the adapter monitor, I don’t see the mail adapter in the monitor though I have configured the mail adapter in the directory settings. Am I missing something? Do I have to do something extra to get the mail adapter into the adapter monitor? When I run the “trace , I am able to see the following error
    <Trace level="3" type="T" />
      <Trace level="3" type="T">Unknown channel type: Mail</Trace>
      <Trace level="3" type="T" />
    Any ideas please…
    -Teresa

    Hi Teresa,
    If your XI system in on SP9 then check this OSS note:789584
    It describes the solution for the problem "The XI 3.0 Adapter Monitor does not display the status of the mail adapters in detail"
    This will atleast help you see what is happening with the mail adapter.
    You may also want to check these OSS notes:
    817049 and 810238 on mail adapter.(SP10)
    Regards,
    Sridhar

  • How to access attachement in mail adapter

    Hello,
    i receive mails with an xml file attached with the mail adapter. Within the integration engine i can see that the adapter creates a message with two parts in the payload "MailAttachement-1" and "MailMessage". When i configure a file writer for my message i only get the content of the "MailMessgage" part (which contains only the sender, subject, mailtext ... and not the data i need (= "MailAttachement-1")). I tried several settings within the mail adapter configuration (user Mail Package, keep Attachements) -> no success.
    How can i get access to the "MailAttachement-1" within the mapping?
    Thanks
    Peter

    Hi,
    If you want only the header data of the file (expecting you are having other data also) then it is not possible to do so without mapping. What I would suggest is to do the mapping for header and use this in ID.
    So configure two receivers one for mail and another with file. In the receiver determination for the mail you use mapping and for file you dont use mapping at all. This would resolve your issue.
    Regards,
    ---Satish

Maybe you are looking for

  • Airplay won't connect to my Airport Express & is intermittent with Airport Utility

    Hi Yesterday, my iTunes 10 stopped connecting via Airplay to my Airport Express. It spent a long time displaying a Connecting message, then finally gave me this error message: "An unknown error (-15006) occurred while connecting to the AirPlay device

  • How to open sharepoint files in edit mode using associated link?

    Hi All, We are trying to use the URL links available through SSM to open documents we hold on SharePoint. These will be the action plans for the risks we are entering as KPIs. The aim is to established a one-to-one link between the risk KPI and the r

  • Any way to get rid of reflection effect in .Mac slideshows?

    I find the reflection effect in the slideshows totally unnecassary, and very distracting. With some photos it even has a distorting effect. I tried to get rid of it by using a workaround posted last year: http://discussions.apple.com/thread.jspa?mess

  • HP psc750xi

    I have two of these all-in-ones, one at home and one at work.  I have never had a problem until the last few months.  If I try to print from a receipt window, shopping list window or an attachment window - it will not print.  Printer makes noise only

  • Displaying long numbers in crystal

    How can I display a number in Crystal that is 18 digits long without having it automatically get converted to scientific notation?