Regarding the Mail Sending
Hi Experts,
i have two fields in my selection screen.
1. Mail id it is parameter id
2. display all it is radio buttton
when i select the radio button display all and enter the mail id in that field, then all the data should go to that mail.
i have done coding but it is reaching the mail as attachment. i want to post the mail without attachment. all the data should come to the body.
Which function module or method are u using for email sending.
The table parameter in which we send the mail text should have 1 line item, if there are 2 line items 2nd is considered as attachment. Whatever body u want to send send in one row of the table parameter for email.(SO_DOCUMENT_SEND_API1 the table parameter is CONTENTS_TXT)
Similar Messages
-
Adding attachments to the mail send from XI
Hi all,
How can we add attachments to the mails send from XI?
Regards,
Satpreet SinghHi
Do the Mail Receiver Adaptor Configuration as mentioned.
Choose any of the options suiting to your requirements. All the options shall give attachments in one way or the other.
1) Choose Message Protocol = u201CXIALLu201D
The mail will go to the address mentioned in Mail Attributes in the adaptor as two attachments. The file something like ATT123.xml will contains all the system information and another file u201CpayloadXXXu2026..xmlu201D will contain the input file you give.
2) Message Protocol = u201CXIPAYLOADu201D with u201CMail Packageu201D
If we check u201CKeep Attachmentsu201D in u201CMail Attributesu201D then, the content will be sent as an attachment otherwise, the content will be sent as body of the mail.
3)Message Protocol = u201CXIPAYLOADu201D without u201CMail Packageu201D
The content will go as attachment even though u201CKeep Attachmentsu201D is not checked. If u201CKeep Attachmentsu201D is not checked then the attached file name will be same as that of the subject we have given in the Subject in Mail Attributes.
If the checkbox u201CKeep Attachementsu201D is checked, then the attachment file name will be u201CPayloadXXXXu2026.xmlu201D irrespective of the input file name.
For more details:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
Regards
Monika -
How to know the mail send by outlook or owa ?
how to know the mail send by outlook or owa ?
Please click the Mark as Answer button if a post solves your problem!Hi Eric,
I think there is no possible way to check if the mail is sent was from Outlook or OWA.
Regards.
Naren Neelam, Messaging Consultant, ITBigBang (P) Ltd Www.ITBigBang.Com | Hire Us for Messaging Consulting
It actually is possible for an admin to tell if a message was sent from Outlook or OWA by looking at the MessageTracking and the information in
SourceContext. MOMT is Outlook and the other two speaks for them self.
Get-MessageTrackingLog -Start 2014-05-12 -Sender
[email protected] -EventId submit | fl Sender,sourceContext
Sender :
[email protected]
SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351505, MessageClass:IPM.Note, CreationTime:2014-05-12T16:41:29.038Z, ClientType:MOMT
Sender :
[email protected]
SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351552,MessageClass:IPM.Note, CreationTime:2014-05-12T16:44:52.039Z, ClientType:OWA
Sender :
[email protected]
SourceContext : MDB:995793b8-2c2c-4a14-b617-3e54371179ec, Mailbox:5e29199f-b877-46ed-b985-f2ede9bad293, Event:8351611,MessageClass:IPM.Note, CreationTime:2014-05-12T16:46:25.772Z, ClientType:AirSync
Martina Miskovic -
Hi experts,
I m using SO_NEW_DOCUMENT_ATT_SEND_API1 function moduel for sending mails to dealers. That is, whenver i execute a Z transaction, the customer invoice details are getting displayed in report output. At the same time, the same output data is sent as mail to the respective dealers.
Now teh user is asking whether there is any possiblity for the end users to have a proof of the mail which is being sent from the Z transaction. If the mail is sent, the end user who executes the Z transaction (mail sending transaction) should have that mail in his/her SENT ITEMS. If the mail not reaches the dealer, then the user must identify the mail bounce identification.
Pls tell me how to achve the same..
Regards,
ShanthiHi,
Yes it is possible..
Just pass 'X' to the exporting parameter 'put_in_outbox'. The user can check the send mail in 'sost'. All the details of the mail will be there. This will be the proof that the mail was sent.
Reg the 2nd part of your query, if the mail is not delivered to any reciepent or to particular recipient, the details will be there in the SAP outbox, that also you can see through transaction 'sost'.
Thanks & Regards
Rocky -
Restrict E-mail sender in the Mail sender communication channel.
Hi All,
My scenerio customers want to Email with attachment to PI server. I've successfull tested this scenerio without one open issue. Right now anyone having email id can send mail to PI server.
I want to restrict the senders list. Is this possible in the sender Mail adapter configuration.
Thanks,Hi,
Its possible.
You need to configure 2 receiver
1)MailA
2)MAILB
in receiver determination.
then you need to route it based on Subject using condition in receiver determination.
Use the below XSD to create your sender mail message type
<?xml version="1.0" encoding="utf-8" ?>
<!--
SAP takes no position regarding the validity or scope of any intellectual property or
other rights that might be claimed to pertain to the implementation or use of the
technology described in this document or the extent to which any license under such
rights might or might not be available; neither does it represent that it has made any
effort to identify any such rights.
Copyright © SAP 2003-2004. All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative
works that comment on or otherwise explain it or assist in its implementation may be
prepared, copied, published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this paragraph are included on all
such copies and derivative works. However, this document itself does not be modified in
any way, such as by removing the copyright notice or references to SAP.
This document and the information contained herein is provided on an u201CAS ISu201D
basis and SAP DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
xmlns:xi="http://sap.com/xi/XI/Mail/30"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!--
* Mail
-->
<xs:element name="Mail">
<xs:annotation>
<xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Subject" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="From" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="To" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="Reply_To" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="Content_Type" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="Date" type="xs:dateTime" minOccurs="0"></xs:element>
<xs:element name="Message_ID" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="X_Mailer" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="Content" minOccurs="0">
<xs:annotation>
<xs:documentation>any type</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="encoding" type="xs:string"></xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="MailReceipt">
<xs:annotation>
<xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Server" type="xs:string"></xs:element>
<xs:element name="Format" type="xs:string"></xs:element>
<xs:element name="UseMailPackage" type="xs:boolean"></xs:element>
<xs:element name="Encoding" type="xs:string"></xs:element>
<xs:element name="Subject" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="From" type="xs:dateTime" minOccurs="0"></xs:element>
<xs:element name="To" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="Date" type="xs:dateTime" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
and use mail package in sender mail adapter.
Then your mail will come in XI in the above format.
then based on subject field you can conditionaly determine the receiver.
Message Protocol
u25CF XIALL
In this mode, the content of the RF C822 e-mail matches the content of the XI message. The XI message is a multipart MIME message with a SOAP envelope as its first part. See also: Messages, under XI Message Protocol.
u25CF XIPAYLOAD
In this mode, the content of the e-mail is put in the payload of the XI message. If you do not set the Use Mail Package indicator, the information about the sender (From), receiver (To), and subject of the e-mail is lost.
http://help.sap.com/saphelp_nw70/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm -
Hi Experts
I have configured the mail alert in ChaRM.
When user change the status the alert has to triggered to 2 business partner, but now it's triggering to only one business partner. I have chekced all the configuration it's looking same.
Could you please help me to resolve the issue.
Thanks in advance
Regards
VenkatHi
with addition to the Ragu's update
please check the below suggestions for the same such scenarios in CHARM
[automatical email to report transport status|automatical email to report transport status]
Thanks,
Jansi -
How to customize or change the subject of the mail send throu SM36
HI,
i m using SM36 to Schedule some of reports and send the output of those reports as an attachement to particular email ids.
It is working fine people are receive mails with an output of the report as an attachement , but the subject is coming like this
"Job PRODUCTION PLANING REPORT, Step 1" where "PRODUCTION PLANING REPORT" is the job name . What i want is the Subject should be only my Job Name "PRODUCTION PLANING REPORT" the Prefix Iob and the Sufix Step 1, should not appear in the subject. How can i achive this ?
Regards
Edited by: nau on Jan 20, 2010 3:31 PMIn SM36, under the 'General Data' area, the answer is right there. Click on the Spool list recepient button and place the e-mail recepient in the box. It looks like only one entry can be entered there so you may want to have a distribution group setup accordingly for multiple recepients
My view is as per the line i can see only .html attachment only you can send...
See Mr NA. take intitiative and tell the clients....Clearly that if we schedule thtrough SM36 then we have limited funcitonalities like you can't attach the excel version's specially and Subject issue what you are discussing...
So as of now my suggestion is Using the FM (if it is version 6.0 Ecc prefer using classes....) You can write extra funcitionality to report to send via Email
Sas -
Issue regarding external mail send
Hi,
I have created a workflow wherein i am sending a mail to my gmail address. The problem is that when i execute a workflow, it gives me status for task as completed but when i check my gmail mail doesnot appear in it.
The thing i done regarding this issue is that i went to tcode SOST and from that tcode i executed but it was showing me error message as "Message cannot be transferred to node SMTP due to connection error (final)" How to solve this error ?
I have also gone through SCOT tcode and there i done with SMTP node
then why is this error and how to resolve it?
Thanks
ParagThis problem is related to configuration in SCOT. I think you can check the Basis forums for more help.
Check this link also
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c
Thanks
Arghadip -
I am trying to send a message with an attachment, I get this message: An error occurred while sending mail. The mail server responded: 5.3.4 Requested action not taken; To send your message, please sign into your account online first and solve a puzzle. (Sorry for the inconvenience--these puzzles help us stop spammers.). Please check the message and try again.
== TodayMe too (with Thunderbird). EXCEPT it reads
Requested action not taken; This account is currently blocked from sending messages. If you don't think you've violated the Windows Live Terms of Use, please contact customer support...
Occasionally the mail "sends", but it is unpredictable. Tech Support at Qwest (for q.com under Windows Live) does not find a problem at their end.
More suspiciously, the same account accessed from my Mac does not seem to exhibit this problem. Have reloaded T'bird. Recurred again. -
Variable Transport Parameters in Mail Sender
Did anyone ever successfully use the "Variable Header XHeaderName1" in the mail sender adapter (IMAP4)?
We have two mail sender channels which require a slightly different mapping. My idea was to define a value for the field "Variable Header XHeaderName1" and evaluate that in the mapping. But the value is not passed into the SOAP header, I can configure what I want. I turned on "Adapter spec.attributes" and "Variable Transport...".
So I cannot access the field value in the mapping.
Now I evaluate the dynamic configuration field "SUser", that works, but that's only a workaround.
So either this is a bug in the system (XI 3.0 SP 21) or the documentation is wrong.
We are using an attachment, is that the problem ? "Use Mail package" off/on does not change anything.
Any ideas ? No general links to the documentation please.
CSY
Edited by: Christian Sy on Aug 15, 2008 8:48 AMI think the DynamicConfigurationBean would help in this scenario.
You can assign a constant value in sender channel and use that constant for the determination of the mapping.
Regards
Stefan -
Error in mail sender channel : invalid sequence number
Hello all,
I'm having the following issue.
I'm using the mail adapter to get messages from a mail server, which are attached to the mail.
This interface is already productive, and is working fine most of the time.
Only frequently I get the following error, which can be found in the java log.
exception caught during processing mail message[630];
java.io.IOException: the specified message not found: -ERR invalid sequence
number
This error seems only to appear when there are a lot of mails to be fetched.
All the mail is read into PI and processed succesfully, only I also get a lot these errors.
Does anyone know what causes this error?
I also don't know where this sequence number is coming from, and what's the meaning of this.
Is it possible it's trying to read the same mail more then once?
The settings in the mail sender channel are:
- transport protocol : POP3
- message protocol : XIPAYLOAD
- Use mail package : enabled
- content encoding : none
- Keep attachments : enabled
- QOS : exactly once
- Set adapter specific message attibutes : enabled
The PI version is 7.01
Thanks a lot in advance for the replies on this question.
Kind regards,
Marco van IerselHi
Well we have used it with POP3 and it is working in the way as it should be.
This feature is recommended by sap when the number of emails to be read is large.
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.
That's why I have asked you to give it a try. -
Mail Sender Adapter - read from public folder.
Hello Experts.
I have a scenario, where I need to read an incoming mail from a public folder, and after mapping the attachment (which is a csv) I need to put the result as a file in a shared folder.
right now the problem is, I am not sure how to access the public folder.
should I use one of the exchange users, and try to access the public folder?
what should I be writing in the URL parameter in the mail sender adapter ? (imap://server/???/public folder ?)
Also - in case I will want to switch the location of the mail to a private foler inside of the user mailbox - what is the URL parameter in that case?
Anyone ever did something like this and can help?
Thanks,
Imanuel Rahamim.Hi Imanuel,
do u mean u want to pick the mail which contains an attachement from a specified folder instead of inbox?
u can configure the URL like imap://host:port/path/PublicFolder.
after PI received the mail. we can use PayloadSwapBean to get the attachement payload and do following message mapping.
ur question: Also - in case I will want to switch the location of the mail to a private foler inside of the user mailbox - what is the URL parameter in that case?
do u mean u want to pick the mail from a specified mail account? if like this, create an user for the interface only. then configure the UserName/Password in the channel.
Regards,
Kevin Song -
Transport protocol SMTP in Mail Sender Adapter
Hi Experts,
How can I use SMTP as the Transport Protocol instead of POP3 / IMAP4 protocols in the Mail Sender Adapter.
I am referring Note 856599 - FAQ Mail Adapter.pdf but not getting a l
" 9. Other Questions
Q: How can I configure my sender channel for my SMTP server?
A: You can specify your SMTP server as URL. For example, if your
server is called host, your URL should look like
smtp://host:port/ "
Regards,
ShobhitHi
How can I use SMTP as the Transport Protocol instead of POP3 / IMAP4 protocols in the Mail Sender Adapter.
In case of sending mail from XI you can use SMTP. To read mails you need POP3
IMAP works for both.
Yes in XI mail adapter receiver type. URL field you can use URL like
SMTP://Mailhost.com
Refer this
The specified item was not found.
Thanks
Gaurav -
IMAP-Mail sender adapter handling with read messages in mailbox
Hi,
(PI 7.0)
we have a "funny" situation:
We are using imap-mail-sender adapter polling a mailbox.
Sometimes there are read messages in mailbox so the adapter cannot read these messages.
When we sort all read messages and we mark e.g. the second message in list as not read, the adapter polls fetch the first (already read) message and afterwards the not-read message and afterwards no other message is read.
I think this behaviour is wrong because pi should not handle an already read meassage.
Does anybody know this problem?
Or is it a problem of the mail-server (Exchange 2003)?
Thanx and regards
WolfgangHi,
thanx for your answer.
The default behaviour of imap is "only fetching unread message" (s. FAQ of mail adapter)...
The mail sender channel with IMAP4 fetches only the unread messages from the specified mail box in the order they are stored. Therefore, please make sure that you have some unread messages in the top of the list (if ordered by most recent on top). After a polling cycle, you can look at the status of this channel at the adapter's monitor. This should show any error if the messages are not processed correctly. Once the messages are read but not processed correctly, they remain in the mail box but are not read in the subsequent polling cycle. You must correct the problem and delete these messages using your mail client program or reset them as unread so that they can be resend.
In our example the adapter fetchs read messages too (till the first unread one) - and this is wrong (i think so!?).
But I dont know if its a MS-Exchange problem.
Regards
Wolfgang
Edited by: Wolfgang Hummel on Oct 7, 2009 12:20 PM
Edited by: Wolfgang Hummel on Oct 7, 2009 12:21 PM -
Mail Sender - Encoding (I need to change from UTF-8 to ISO-8859-1)
Hi,
I'm getting data from email (in ms exchange) using the Mail Sender Adapter.
In the e-mails exists characters as ç (ccedil), ã (atilde), õ (otilde) and others. The XI cannot read this characters because the encode in XML is UTF-8.
How I do to change the encode in XI from UTF-8 to ISO-8859-1 ?
Thank you!Unfortunately most mail server do not apply the codepage to the content type of a mail.
In this case you have to set the content type with help of the MessageTransformBean:
Transform.ContentType text/plain;charset="ISO-8859-1"
Regards
Stefan
Maybe you are looking for
-
Abap program to list the status of BW infocubes
Hi experts, I am an SAP BW consultant. My BW environment has around 20 cubes and dataloads are carried out every 2 hours. I need to write an ABAP program which when run anytime returns the list of all BW cubes which are reportable at that point in ti
-
Seeburger Adpater for PI with EhP
Hi, Does anyone know whats the correct Seeburger version or the CD set number (for example: 51038606 & 51038611) for PI 7.1 with EhP 1 SPS 05? I'm unable to open the OSS Note 890721, to check the right version or CD set number for Seeburger adapter f
-
Squashed image when attaching jpeg to email
I export a jpeg image from Aperture3 to the Finder as a file. Some clients who receive this image attached to my email find the image squashed. If I put the image in a folder it seems to go through okay. Is there an explanation for this? Thanks, jp
-
Cannot open pages with shockwave popup
SAFARI for iPOD... ipod safari cannot open page if the main page opens shockwave(macromedia or flashy) popup.. I have tried enabling popup on ipod but it didn't help.. Can someone tell me how to bypass that.. the webpage is epaper.timesofindia.com ..
-
What are the two views that are automatically created when we create a material.