Configuring the mail adapter Sender
Hi Guys, hope you are fine.
I have a doubt: is it possible to configure, how many emails the sender mail adapter takes per polling?
I have an inbox with more than 300 emails and I have a sender mail adapter configured with a 10 minutes pooling and I need to limit the number of messages or, just to have an ideia about the number of messages it takes. Does it depends of the machine or something like that?
Any kind of help is welcome... =)
Thank you
Luciana Rossan
Hi Luciana,
Please refer to the FetchLimit option, described in SAP Help for sender mail adapter, it matches your requirement perfectly:
IMail.FetchLimit
You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
Please refer to the help itself if further details required:
http://help.sap.com/saphelp_nwpi711/helpdata/EN/48/3276dba3af58d8e10000000a421937/content.htm
Hope this helps,
Greg
Similar Messages
-
Mail Adapter Send Mail with Attachment
Hi all,
I'm doing some tests on XI and implemented a little scenario, that send Mails.
So this works fine, but I want to have the content as the content of the mail (no prob) and a attachment with a little more information for the user in a plain text file.
I tried to code it with content-type multipart and all these stuff, but didn't come to a solution.
Some one solved such a scenario already and can help?
I also read some thread on SDN, but no solution. Perhaps its to simple
Thanx
regards
OlliOliver,
We have found the solution for you.
You should configure the mail adapter with 'use the mail adpater' and 'keep attachments'.
Create an XML file conform the XML structure provide by SAP
The mail package should look like this:
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_Mail_Sent xmlns:xi="http://sap.com/xi/XI/Mail/30">
<xi:Mail>
<Subject>Item</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content_Type><b>multipart/mixed; boundary="AaBb--984dfgeSSd3532"</b></Content_Type>
<Content_Disposition>attachment</Content_Disposition>
<Content>
<b>AaBb984dfgeSSd3532</b>
Content-Type: text/plain
Hello, this is sample data.
<b>AaBb984dfgeSSd3532</b>
<b>Content-Type:</b> text/plain;name="CSV_data.csv"
Order number;Item number;description<xsl:text>
</xsl:text>
<xsl:for-each select="Article_line">
<xsl:value-of select="Ord_nmbr"/>;<xsl:value-of select="Item_nmbr"/>;<xsl:value-of select="Description<xsl:text>
</xsl:text></xsl:for-each>
<b>AaBb984dfgeSSd3532</b>
<b>Content-Type:</b> text/plain;name="TXT_data.txt"
Order number;Item number;description<xsl:text>
</xsl:text>
<xsl:for-each select="Article_line">
<xsl:value-of select="Ord_nmbr"/>;<xsl:value-of select="Item_nmbr"/>;<xsl:value-of select="Description<xsl:text>
</xsl:text></xsl:for-each>
<b>AaBb984dfgeSSd3532</b>
</Content>
</xi:Mail>
</ns:MT_Mail_Sent>
In the above example you should have some content and 2 attachments (1 csv file and 1 txt file).
After each break (AaBb984dfgeSSd3532) specify again the 'Content-Type'.
Good luck
Regards
Ron -
File to RFC, and through RFC response i am trying to trigger the Mail adapt
Hi All,
Right now i am doing File to RFC, its working fine but now the requirement is when xi connect to ftp and picks the file need to send one success mail after the file pickup and data sent to BW system again i need to send one mail and also error alerts to inbox.
Till now i am not using BPM, can we do this without BPM pls let me know
now i am trying to achieve this in File to RFC, and through RFC response i am trying to trigger the Mail adapter.
or else i need use only BPM pls share the steps which i need to be configure.
Am i correct or pls suggest me some idea to achive this and also pls share some smaple ones in BPM .
Thanks in advance
VenkatWith BPm, follow this:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Instead of receiving the response in file, use mail adapter
Regards,
Prateek -
Hi,
I need to use Mail Adapter Sender with MAPI protocol.
I have create my Comunication Channel of type IMAP4 and configured URL as mapi://server and actved one.
In RWB appears the message "mail client job stopped completly"
Can anybody help me?The URL must be: imap://server/inbox
This is hard coded in the mail adapter and cannot be changed.
Only imap4 and pop3 are supported.
Regards
Stefan -
How to configure reciever mail adapter
Hi All,
I have gone through your weblog for configuring reciever mail adapter BY PRASAD ULAGAPPAN.
I have few doubts .
Message protocol == XIALL.
If I am providing my mail address in MAIL ATTRIBUTES-TO parameter
then what do we have to exactly specify in connection parameters.
I want to send a mail from XI to my ID. Suppose my id is [email protected] .
So if I am providing this ID in " TO " parameter then what should I specify in connection parameters
i.e url = ?
user = ?
password = ? (which password to specify , usually we dont require to give password to recieve mails )
Please help me with this.
Waiting for your reply.
Thanks in advanceHi Yomesh,
The below help URL gives explanation for 'Connection Parameters for Mail Server':
http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
You need to provide your mail server details. When you send a mail normally, say from outlook, you configure it to connect to some SMTP/IMAP server, using username/password.
Provide that server details in URL.
If you dont use user/password to connect to it, leave it blank.
Also fill the 'From' mail address.
For eg., if there is a internet connectivity to your XI server, and you want to use SMTP server of yahoo to send out mails, then you can give:
URL: smtp://smtp.mail.yahoo.com
userid: yomeshsharma
password: <your yahoo password>
In this case, both your From & TO details are same.
You can change 'TO' to send to a different mail address.
regards,
Pops V
Message was edited by: Pops V -
How to configure the mail in Sales Support of SAP SD
Hi,
Experts I have one scenario in my co. that we have 300 users we have to send the mails to our 300
users for every 2 or 3 months once. Regarding new promotions (Discounts , Price changes) of
company. For this every time we are changing the sold to party in quotation and taking printouts then
sending to our users its a lengthy procedure, to avoid this long time very soon we are going to
implement SAP SD Sales Suppor in our company is there any functionality in SAP to send mail at
once to our 300 users may i know about how to configure the mail for this scenario.
Thanks and Regards
MHHi Prashant,
Thanks for you immediate responce, Can you give me the configuration steps in detail.
Thanks and Regards,
MH -
How to Configure Receiver Mail Adapter?
I need to designed a BPM if Message is failed to update database then send an e-mail to alias group in Microsoft outlook by using Receiver Mail adapter.
Can someone help me to design above BPM and how I need to configure receiver mail adapter.
Thanks in advance!
MrudulaI am getting <Trace level="3" type="T">Unknown channel type: Mail</Trace> when it tries to call "MAIL" adapter.
Does anyone has any clue where should I look?
Thanks!
Mrudula
<Trace level="3" type="T">Calling pipeline service: PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>
<Trace level="3" type="T">ADRESSMOD = SD</Trace>
<Trace level="3" type="T">P_CLASS =</Trace>
<Trace level="3" type="T">P_IFNAME =</Trace>
<Trace level="3" type="T">P_METHOD =</Trace>
<Trace level="3" type="T">FL_LOG =</Trace>
<Trace level="3" type="T">FL_DUMMY = 0</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Unknown channel type: Mail</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">PLSRVTYPE = AENGINE</Trace>
<Trace level="3" type="T">ADRESSMOD = SD</Trace>
<Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_IE_ADAPTER</Trace>
<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>
<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>
<Trace level="3" type="T">FL_LOG =</Trace>
<Trace level="3" type="T">FL_DUMMY = 0</Trace>
<Trace level="3" type="T" />
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" /> -
Cannot process a Fixed Field Length file using the File Adapter (Sender)
Hi -
I have checked throughout these posts and blogs but I still have not been able to find a solution to my issue. When using the File Adapter (Sender) I get a Conversion initialization failed with "xml.keyfieldName", no value found. Why would I require a key field when I am using fixed field lenghts? The file is comprised of 2 structures - 1 header and multiple details (see below). There are no key fields in the flat file that I would be able to use. Any suggestions?
011000390 Customer Americas 20080605164317 000000000000000800000008000000000016000000
12345678 100500 100500 Supplier 1 0000000000030000002008040400
12345678 100501 100501 Supplier 2 0000000000052000002008042100
The File Adapter is configured as follows:
Document Name = Rfchke00
Document Namespace = 'my namespace'
Recordset Name = Rfchke00
Recordset Structure = Dtachkh,1,Dtachkp,*
Recordset Sequence = Ascending
Recordsets per Message = 1
Key Field Type = String (Case-Sensitive)
Dtachkh.fieldFixedLengths = 15,25,8,6,1,8,8,8,15,3,31
Dtachkh.fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11
Dtachkh.processFieldNames = fromConfiguration
Dtachkp,fieldFixedLengths = 18,13,13,35,15,3,8,2,21
Dtachkp,fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9
Dtachkp,processFieldNames = fromConfiguration
Thanks,
DaveHi,
you can use the module from which u can convert your structure to
H011000390 Customer Americas 20080605164317 000000000000000800000008000000000016000000
D12345678 100500 100500 Supplier 1 0000000000030000002008040400
D12345678 100501 100501 Supplier 2 0000000000052000002008042100
Please note the extra H,D in the struture added by the module.
You can then use them as your key fieldValues.. The module should be deployed in Visual Admin and then can be used in the Module tab of your adapter CC
While writing the content conversion after that please dont forget about the added new characters
Please note also that i can find that the word supplier kept repeating in all the Dtachkp records
Please use that
Also if you feel that the field is of 13 characters and that would cause a problem dont worry... create a dummy field eg split tht 13 to two fields and use the common one as key field Value and identifier... as i see in ure case its like 500 Supplier , 502 Supplier . u can split the first 4 char and the remaing 9 char are key field value.
try this out
Rgds
Aditya -
Using the RFC adapter (sender), how do I know which RFC is being sent?
Hello everyone!
Has anyone used the RFC adapter (sender) in XI to pick up RFC messages? How would I know which RFC is triggered for example when a user creates a PO (purchase order)?
Warm Regards,
GlennGlenn,
When u are writinfg RFC program, u will have destination right? There u know u have to give RFC Destination(SM59) while creating RFC destination we will be giving Program ID .
Similarly in XI while creating Sender RFC u have to give the program id. So with these program id these programs are linked together and triggered from R/3 to the exact Sender adapter.
Please see Michal weblog for more details
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
I hope it clears your doubt!!!
Best regards,
raj. -
XI needs to capture the form back in the mail adapter
Hi Experts,
I am working on a scenario where , data needs to be sent from SAP and in XI , a form sort of( like a web form or pdf form) needs to be created. This form needs to be emailed ( using the mail adapter ) to an outside entity. They will fill out the form and email it back. XI needs to capture the form back in the mail adapter translate it and put the data back into sap.
Can some one help me out with this ?
Regards,
HemanthikaHi patnaik
Follow these links to covert to PDf and then mailing through mail adapter
Converting Smartform into PDF and sent to EMAIL
Check this..Smartform as attachment in mail. - 46k
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/convert-smartforms-form-in-pdf-998715 - 87k
SMART form to PDF
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertSmartformtoPDFformat
smartform to MAIL
https://wiki.sdn.sap.com/wiki/display/Snippets/SmartformtoMailasPDF+attachment
regards
Sandeep sharma
If helpful kindly reward points -
Hi Folks,
I have a sceanrio where an AXIS client needs to talk to the XI SOAP Adapter.
How do I configure the SOAP adapter?
I tried to access the help docs for configuring the SOAP adapter. I understand that the adapter depends upon the plain J2SE Adapter Engine which should be available on port 8000.
But when I try to access
http://<hostname>:8000 I get an access denied error
Please help!
Thanks in advance,
ShaileshHi Shailesh,
Maybe your 8000 Port is in Use. So you can chance the port to 8200 or something else.
You Change port in "GUIBrowserEngine.properties" file.
And try to patch the Plain J2SE Adapter Engine with "SP 10 for XI Connectivity SE 3.0"
Regards,
Robin -
I forgot my security question and the mail they send for recue the awnsers are wrong
i forgot my security question and the mail they send for recue the awnsers are wrong, like my mail is [email protected] but they say they send to f・・・・・・・@live.com, first i thougt that was normal but the mail never come...... someone help me!
Call Apple for support. They have account security who can reset those security questions for you if you can verify the account over the phone... Once your security questions are reset you can go to appleid.apple.com and manage your account there! good luck!
-
reinstalled 10.6.3 and now several days later the mail buttons 'send' 'reply' 'reply all' are frozen (not greyed out, just completely unresponsive). also every other keystroke or so in the body of the email returns an alert bleep (but the charactor seems to be entered without a problem). i can recieve mail and all the "connection status" checks in Mail Connection Doctor return posative connections. so far i tried removing the com.apple.mail.plist permissions from my library and then repairing permissions with disk utility, as well as running applejack. no luck. any suggestions?
Hmmm, interesting problem & not on 10.6 at the moment, but quit Mail & in the Finder go to...
Users/YourUserName/Library/Mail
Do a Get Info & see if it's locked or what rights are there. -
Send a XML file using the mail adapter
HI ,
I have to send an incoming xml message as a attachment in the mail using mail adapter .
how can I achieve this .
Thanks
NikhilHi Nikhil,
Just check with this blog-
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Creating mails with attachments from flat text files
Hope this helps..
Regards,
Moorthy -
Sender mail adapter sending xml attachment comes with .bin
Hi all,
I have the following scenario: Sender Mail >> RFC
As I can receive multiples attachments I´m using payload swap bean and adapter module to get all attachments together in the first attachment.
In most cases is working very well, but in some cases the xml attachment is coming as a ".bin".
The same mail with this wrong format, when it´s been forwarded, comes with the right xml file so I can figure that is the mail format sent by vendor.
I tried to simulate this error myself and I could observe that when I change the message format from html to plain text in my outlook I get the same error, the attachments comes as .bin
Does anyone know how can I receive those mails in the right format?
Thanks for your help!
VanessaHi Ravi, thanks for your help.
I have configured:
TRANSFORM > swap.keyName > Content-Disposition
TRANSFORM > swap.keyName > Content-Description
TRANSFORM > swap.keyName > attachment;filename="MailAttachment-1.xml"
TRANSFORM > swap.keyName > MailAttachment-1
When the mail comes as html format is working fine, but not working when comes as plain text.
Any Idea?
Regards
Vanessa
Edited by: Vanessa Balsanelli Zocaratto on Nov 25, 2009 5:10 PM
Maybe you are looking for
-
Air Mid 2011 hot cpu, fan on high, short battery life
Since it seems many have this problem, here is what I have found so far. Background: Air i7 Mid 2011 4gb RAM, 256 SSD, purchased in Aug 2011. Battery life is normally 5.5hours with wifi on, blue tooth off. I charge the battery until status says
-
Why is my iPad 2 no longer able to screen share to external monitor?
I used to connect my ipad 2 to various shared displays via HDMI and VGA converter cords quite frequently. The other day I connected and no signal is found...tried multiple screens, projector and different cords. Convinced its my iPad. Fixable? Hardwa
-
Multiple blocking of Customers
Hi! Good Day!! Can anyone please help me... Scenario: Customer A & Customer B are sister companies. Customer A is suspended due to over credit limit. Question: Is there a way that the system can also automatically block customer B? Provided that they
-
Need to identify the id of clicked element in jsp
HI Edited by: namit bhandari on Nov 5, 2008 4:46 PM
-
Intel Mac/10.4.6/whois - please help
OK, I'm trying to see if I'm the only one here. If you are using an Intel Mac, and OS X 10.4.6, please open your Terminal up. Type "man whois". Do you get the man page for whois, or do you get a "command not found"? On my 10.4.6 PPC Macs whois is the