Mail easy scenario ...
Hi.
I'm trying to do a simple mail scenario.
I receive a file and i only want to send the two fields that came in that file (name and surname).
I've defined a Data type with those to fields.
Then, the message type and the message interface (one outbound and the other one abstract)
Then, a simple BPM with a receiver (file) and sender (email).
In ID, i've defined the sender channel and the doubt is ...
when i define the receiver determination, with sender the BPM and receiver ...?
Thanks for your answers.
Hi,
>>>Then, the message type and the message interface (one outbound and the other one abstract)
you need one inbound (for mail) that's for sure
use a business service as receiver - easy to configure
Regards,
michal
Similar Messages
-
Mail Adapter Scenario ----- Need help
Hi All
Again with same mail adapter scenarios .
I am trying to send my e-mail on Microsoft Exchange server to a FTP server .
So flow is like Mail system->XI-> File system.
While configuring sender mail adapter , i gave the following URL imap://S4DE8PSAANH.ibm.com/InBox as i am using IMAp4 as the protocol.
Now i have set of doubts and questions for which i need input from you all
a>I am still seeing my sender communication channel with green light (running ), its not picking up any new mail i came to my inbox. Any reasons why it did not pick up ?
b> Now to set up Receiver Determination and Interface Determination , i need to have inbound interface created, but here when my requirenent is just to send a e-mail content as XML to fle system , what interface should i use or how should i create a interface with interface mapping or message mapping ?
c>Any idea whether just configuring a sender mail adapter with certain poll interval will result in a XML message that can be seen in SXMB_MONI txn ? Or do i need to fullly set up my receiver system and complete whole configuration of the entire flow.
My intent is just to get a simple mail body into XI , how do i achieve it ?
I gave URL as imap://S4DE8PSAANH.ibm.com/InBox , still i did not get any XML message in SXMB_MONI txn ..or should i give IP address of my exchange server instead of S4DE8PSAANH.ibm.com ? ...
Can we see a XML message if only a sender communication channel is set up with no receiver ? .. I am just wondering why new mail in my inbox is not getting picked up into XI.
Thanks a lot to all who helped to me earlier , i guess i rewarded points to all those who guided me : -) and will do same again as promised.
Please help .
Thanks and Regards
rohanHi Rohan -
Here's what I can tell you:
- if the hostname is wrong, you'll get a 'UnknownHostException'.
- if the path (e.g. Inbox) is wrong or doesn't exist, you'll get a 'IOException... The requested item could not be found'.
- if you don't configure user authentication, you'll get a 'NullPointerException'.
This is all within Adapter Monitor - so since your mail CC status is green, we can only assume that your mail host is valid, your path is valid, and your user id/pwd is valid.
One thing to try, since 'Inbox' is common to any mailbox, try creating a new folder at the Inbox level (e.g. called 'Test1') and specify the URL as:
imap://S4DE8PSAANH.ibm.com/Test1
and see if your CC status is still green in the Adapter Monitor (make sure to look at the ID Cache Notifications and the timestamp in the adapter monitor).
Outside of this, SP9 is relatively old. You should patch your XI system as soon as you get a chance - with or without this problem.
Regards,
Jin -
Hi
I require some input on including a mail adapter to an existing scenario
The scenarios is as follows,
I have to create some files around 20 and place them in two folders , that build has been done and tested , so I have a multi mapping , for those 20 files , and enhanced interface determination and is working fine
Now a new requirement is to send an email ,
kindly tell me the steps in IR and ID to include the mail adapter in this interface ??
considering it as an additional feature, nthing to do with Files ,,,
which means that an email adapter has to be called with the file adapters ( not before not after....the precedence doesnt matter )
its just that along with creating the files an email has to be sent ... thats all
I want to know what am i required to create :
in IR : is there a separate interface required .. smthing to do in mapping also ? i am presuming not since it is inbound
in ID : can i create a dummy busines service and what all do i need to create ???
please help
thanks
DevHi,
You create a message type for mail adapter and an message interface. You can also use the predefined message type from sap. So now in multimapping you add this message type and map from your source to this mail mapping. Add the same message interface in interface mapping.
Create a mail receiver communicaiton channel with your mailbox parameters. Then add this to your receiver determination. Also you need to create a receiver agreement for this one.
You can see some help here:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
You can do a search for more blogs and tutorials on mail adapter.
Regards,
---Satish -
Help Required on File to Mail Adapter scenario
Hi all,
Can someone give me some links or material regarding the step by step procedure to configure a file to mail adapter scenario (including the design and configuration). I have already gone through help.sap.com, but I need more clarification. So please guide me accordingly
Regards
V.KartikHi Karthik,
Also check these links on File to Mail adapter scenario:
Blogs:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/sap.user72/blog/2005/06/08/sending-attachments-in-mails
Sap File on Mail Adapter:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
Also check these similar threads:
How to implement file to mail scenario
What is the process for sending file thru email using Mail Adapter ???
Regards,
Subhasha Ranjan -
File to mail adapter scenario.
Hi All,
i have a file to mail adapter scenario.
here i get the data from tthe different vendors and what ever comes in should be validated and if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.
my questions are...
<b>1.whare should we validate the data..is it in the XI server or receiver mail adapter..
if so..how to do that validation
2.how can we send as attachments ..
3.how can we detach them..i.e if attachments are not required 4.if content conversion conversion has to be done where is that done..
4.after coming out of the receiver adapter....how can we send it to the appliocation server.</b>
Thanks in advance..
cheers,
raghavesh
Message was edited by:
Raghavesh Reddy
Message was edited by:
Raghavesh ReddyRaghavesh,
Not sure if i follow the entire question.
><i>here i get the data from tthe different vendors and what ever comes in should be validated</i>
I guess you are getting files using the file adapter.
><i>and if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.</i>
Not sure I follow this part. You validate your incoming file and what do you do
1. If the file is valid?
2. If the file is invalid?
are you sending mails in both cases.
Like pinted out there are multiple places where validations can be done,
1. Module --> https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
2. Mapping --> Graphical / Java
There are many options and they all depend on the incomuing payload and the entire process.
So , if you can give us more details, maybe an optimum solution can be discusses.
Regards
Bhavesh -
I am working on a scenario where XI will send the xml to the receiver via e-mail. I am not getting any e-mail from the XI system. Can I specify gmail or yahoo account ids along with the property settings?
Do I have to do anything on the SCOT transaction?
Regards,
N.SMoorthy,
I wanted to let you know that am working on a RFCBPM-XI-Mail adapter scenario. This scenario worked on a regular file adatper scenario. Now I am just changing the sender communication channel to selec the mail adatper.
I am getting the following error in the mail adapter:
<b>'error occured: [2006-09-27T00:21:04Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.0 Must issue a STARTTLS command first 40sm120265wrl"</b>
Here are the parameters:
Transport protocol : SMTP
Message Protocol : XIPAYLOAD
Adapter Engind : Integration Server
url:smtp://gmail.com (also tried the IP address of this server)
Authentication mode: plain
user: [email protected]
password : no password
Mail attributes:
From : [email protected]
To : [email protected]
subject : sample e-mail
Content Encoding: base64
Please let me know where the error is;
N.S -
Need to send a mail back to the user in Sender Mail adapter Scenario
Hi all,
I have a scenario where the user fills the Price form or the Article form (which is a Adobe Form).When the user clicks on the "submit" button,the form is converted into xml , gets attached to the mail and sent to PI.
Now the user sometimes attaches the pdf directly instead of submitting the form. This results in the mail being sent
with pdf as attachment.
Now my requirement is to send a mail back to the user asking them to send an xml instead of a pdf.
How can this be done ?
Kindly let me know friends.
Quick Response is appreciated.hi Sanjay,
Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
Mickael -
Configurations required for sender/ reciever mail adapter scenario...
Hi,
I have to work on few mail scenario's i.e, sender and reciever.
Please let me know what all configurations are required in XI server to make the system ready to send and recieve mail like SMTP configurations...
Thanks..Hi,
how to use mail adapter
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
XI: Dynamic name in the mail attachment - pseudo "variable substitution"
The specified item was not found.
XI: Sender mail adapter - PayloadSwapBean - Step by step
The specified item was not found.
XI: HTML e-mails from the receiver mail adapter ?
The specified item was not found.
Mail Adapter (XI) - how to implement dynamic mail address
The specified item was not found.
S/MIME Security for the MAIL-Adapter within XI
S/MIME Security for the MAIL-Adapter within XI
Configuring sender mail adapter
http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
Thanks,
Madhu
Edited by: Madhu sudhan Reddy on Jul 18, 2008 7:54 AM -
Not able to send mail using Scenario.
Hi All,
I am getting below line in debug log.
/atg/scenario/IndividualEmailSender
Unable to send email to recipient: Customer:150002. Email status is set to invalid
DEBUG SMTP: connected to host "pro.turbo-smtp.com", port: 25
EHLO Jitendra-HP
250-turbo-smtp.com
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250-8BITMIME
250 SIZE 20000000
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg "PLAIN"
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "SIZE", arg "20000000"
DEBUG SMTP: Attempt to authenticate
AUTH LOGIN
334 VXNlcm5hbWU6
aml0ZW5kcmEudmlzaG5vaUB0ZWNobWFoaW5kcmEuY29t
334 UGFzc3dvcmQ6
aml0ZW5kcmE=
235 ok, go ahead (#2.0.0)
NOOP
250 ok
NOOP
250 ok
NOOP
250 ok
QUIT
221 turbo-smtp.com
Below is the configuration for properties file.
# /atg/scenario/IndividualEmailSender
#Wed Jan 22 01:28:09 IST 2014
contextPathPrefix=^/Constants.null
loggingDebug=true
# /atg/userprofiling/email/TemplateEmailSender
#Wed Jan 22 00:42:17 IST 2014
loggingDebug=true
contextPathPrefix^=/Constants.null
# /atg/dynamo/service/SMTPEmail
#Thu Jan 23 00:29:25 IST 2014
defaultFrom=[email protected]
defaultSubject=o lala laa
emailHandlerHostName=pro.turbo-smtp.com
emailHandlerPort=25
loggingDebug=true
password=Pass@123
username=[email protected]
Any one please help.
Thanks in advance.from the Personalization Programming Guide
"Each time TemplateEmailSender sends an e-mail message, it generates an event of class atg.userprofiling.email.TemplateEmailEvent, which indicates whether or not the message was successfully sent. For example, suppose you create a mailing with 10 recipients, and 1 message does not get sent because the recipient has an invalid e-mail address. TemplateEmailSender generates 10 template e-mail events, 9 indicating success and 1 indicating failure.
When a message fails, TemplateEmailSender looks at the e-mail address of the failed message, finds all profiles that use that address, and marks those profiles as being ineligible for receiving e-mail by setting the emailStatus property to invalid."
So check the emailStatus attribute of the profile Customer:150002, if it is false set it to true.. -
Making tracker mails easier to filter
Hi,
Any chance of including the thread subject into forum tracker e-mails? That would make OTN forums much easier to track by e-mail, because I could easily skip over the messages that are not interesting and sort them by thread in my e-mail reader. With the current set-up, OTN Discussion Forum "Database - General" has been updated does not say much about what is in the message, so I have to open the message body to see if it contains something of interest to me (and there are quite a lot of messages in that forum daily).
gojko adzic
http://gojko.netWe have requested this enhancement from Jive.
-
E-Mail reporting in file to mail adapter scenario
Experts,
I am working on a file to mail adapter in which, have to just send a mail to the recipient by putting a subject line and mail body.
am following the following example
/people/community.user/blog/2006/09/07/email-reporting
but my requirement is not to send the mail attachment. I just need to send a mail body stating the error location.
here at teh receiver side, have downloaded a mail.xsd. in this "subject line","from field" , "to" field is there but there is no "mail body" field .
Can any one please help me out. I just require to send a mail body to the recipient.
Thanks
VeeruExpert,
I have used but still am getting teh attachment not as a mail body.
Isit possible to send the mail body via XSLT mapping , for eg
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://perks.com/MailTest">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>Error files from XI</Subject>
<From>from mail ID</From>
<To>to mail id</To>
<Content_Type>text/html</Content_Type>
<Content>
<xsl:text xsl:space="preserve">The error files for which service entry has not been created:</xsl:text>
<xsl:value-of select="$break"/>
<xsl:value-of select="$break"/>
<xsl:value-of select="$tableB"/>
<xsl:value-of select="$thB"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:
</Content>
</ns1:Mail>
</xsl:template>
</xsl:stylesheet>
Any suggestions?
Thanks
Veeru -
How to configure receiver communication channel in File to mail scenario?
Hi all,
I'm working in FIle-to-Mail Scenario. I did all the required configuration In Integration repository. As per my Scenario whenever a text file stored in Application server of the R/3 system. it should be sent as a attchment with a mail.so i set a sender communication channel with file adapter in sender R/3 system . i dont know which business system should i refer for my receiver communication channel.because my receiver end is a mail server. should i create any third party business system for this one?
can anyone suggest me to define a receiver comm channel in a right manner?
helpful answers will be rewarded.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 -
In file to mail scenario how can we send a document/image as an attachment along with the data?
Go thru this link. It contains demos on how to work with Mail adapter
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]
Have a look at these weblogs ....
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
Regards,
Shabari -
Hi
Am trying to Pass an PDF file using the sFTP to Mail scenario. i also have to keep the same file name of the source.
(ie Attachment should have the source file name). i have tried all the possible ways to do it but the files get stuck up at the Mail adapter with error
Exception caught by adapter framework: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 25, 50, 44(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 25, 50, 44(:main:, row:1, col:3)
I am not able to use the MM as there are some special charcter coming in the PDF document.
Currently am using the JAVA Mapping to pass the file name and the data.
Experts please help.Hi,
Find below link will helpful for configuration, but as per my knowledge file name at attachment will take as message id. Check it with below link, i hope it will work
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure -
File to mail scenario with zip file as an attachment
Hi experts,
I have a file to mail scenario.The mail contains a zip file as an attachment.
The file in the input folder is a zip file. I want to send this zip file via email using mail adapter.How can i achieve this?Please help me to solve it out.
Regards
DiviaHi Narath,
Do check the below link it will be helpfull
Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
Thanks
Sampath
Maybe you are looking for
-
My iPhone 3gs after restoration is not being activated ... can you help?
my iPhone 3gs after restoration is not being activated ... can you help?
-
Adobe Photoshop crashes when I choose language and accept?
After Installation of photoshop I clock on it to open it up. It asks me what language, so I choose English (International) then hit accept. Photoshop crashes and goes back to asking me what language
-
Error Calling a java file through procedure
Create or replace procedure Javacallprocedure(asOfDate DATE) as language java name 'oracle.xx.yy.server.Creator.run(java.sql.Date)'; Is Begin Javacallprocedure(asOfDate); end; end procedure Javacallprocedure; Am trying to complie the above procedure
-
Default Transition Not Always Working
I use CMD+D quite a lot to save time dragging the Cross Dissolve to clips. But, it sometimes just doesn't work. I can sit hitting CMD+D as much as I want (with the CTI on the cut) and nothing happens. If there was nothing to cross dissolve with I
-
WebDAV -- Which Technology to choose???
Hi, This is my requirement, am having a WebDAV folder created through IIS, inside that i can create folders, files (.docx,.ppt,.pdf,.txt,.xls...). Till this everything works! Now i want to develop ASP.net application to show folder and files which ge