Proxy to mail
HI All
I am working on a proxy to mail interface. Requirement is to send attachment coming from proxy with the attachment name generated by proxy itself.
I am able to generate the email out with attachment but it is happening only when i am not using Mail package. With this attachment is coming as Untiled.
Using the transformation bean i am able to give attachment a name but whats the way i can receive the name of the attachment from proxy dynamically.
Is it possible using Mail package.
Thanks
Gaurav
ABAP Proxy with attachment --------> Mail (Content + File Attachment)
If you are using the mail adapter as receiver then if u dont use mail package then the attachment will come as it is file.
If you use mail package then it will come in XML format
please check these links.
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
eMail Reporting
eMail Report as Attachment (Excel/Word)
The specified item was not found.
The specified item was not found.
The specified item was not found.
Similar Messages
-
Receiver agreement fails in Proxy to Mail Scenario ( B2B)
Hi All,
I have a proxy to mail Scenario. It is an B2B scenario. I communicate on the sender side via a Business System and on the receiver via a Business Service.
This is a Proxy to mail scenario. I test via the test configuration tool. The sender agreement, Receiver detemination, Interface detemination runs fine.
The failure occurs in the receiver agreement. It fails saying " NO standard agreement found" .
I did the the following checks
1. Checked whether the Agreement is active
2. Checked the name of the Communication component and Interface. all ran well
What could be the issue. Why can sender agreement fail.
Can anyone please help.
Thanks
AbhishekHi All,
I have a proxy to mail Scenario. It is an B2B scenario. I communicate on the sender side via a Business System and on the receiver via a Business Service.
This is a Proxy to mail scenario. I test via the test configuration tool. The sender agreement, Receiver detemination, Interface detemination runs fine.
The failure occurs in the receiver agreement. It fails saying " NO standard agreement found" .
I did the the following checks
1. Checked whether the Agreement is active
2. Checked the name of the Communication component and Interface. all ran well
What could be the issue. Why can sender agreement fail.
Can anyone please help.
Thanks
Abhishek -
How to set proxy for mail with Gmail account
Hi, I'm using mail and set up a Gmail pop account. My mac is behind a proxy, say 192.168.0.1:808. I set the system http and https with the above address and can browse the internet with safari. But the mail app cannot receive or send any mails from the google pop/smtp server. Do you know how I can set the proxy for mail so that it can send and receive mail? Thank you very much!
I solved this problem myself by using an app called proxifier. It's a tunneling tool I guess.
-
Hi Experts,
I have a requirement like a control report is comming from SAP through proxy to XI and I need to send that control report as an attachment in excel format from XI to the 3rd party by the mail adapter.Also in the mail body I have to send the information what is there in the excel.
Now as I have not worked before in mail adapter I want to know how can I send the report as an attachment in a mail adapter that too in excel format format and how can I do the mail body?
Thanks and Regards
Atanu MazumdarAFAIK there is no standard solution in PI to convert the xml message sent by proxy as an xls attachmet. You may have to plugin adapter modules to your receiver email com channels to achieve this. first step would be to convert the xml to flat structure using MessageTransformBean, you could then use the payloadswapbean to convert the payload to an attachment and name it with a .csv extension(which can be opened in excel). If you are looking at xls file creation, you could chk the links http://wiki.sdn.sap.com/wiki/display/XI/CODE-CreateanExcelFileviatheJExcel+API , /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
Thanks
Saravana -
Socks5 Proxy in Mail.app
So this is some background. I'm a Peace Corps volunteer living in Samoa. I have a powerbook, and my roommate just purchased a Macbook Pro --- a very nice machine. We work at the National University and get our internet access through a connection in American Samoa. Our university filters traffic as well as at least one person upstream of us.
When I got here, I realized that pop requests were being dropped. For me this wasn't a problem. I came from a unix world, and I'm still using fetchmail to get my email. I have shell accounts on several computers in the states, so I filter all my email fetchings through a socks 5 proxy. Now my roommate just got his computer, and he's coming from the other end of the computing world. He's used windows a bit, but doesnt know much about computers.
So he'd like to use the Mail.app to check his yahoo mail. The delima is that pop access is being blocked. So I thought, hey I can set up a socks 5 proxy and all I should have to do is make some changes in his network settings. I tried to test it out on my powerbook, but I'm having no luck. I can route safari traffic through the proxy just fine, but Mail.app doesn't seem to respect these settings. I've read on the internet that other people have had similar problems. So these are my questions: is there a way to get mail.app to use proxy settings of some sort? If not is there an alternative mail client someone can suggest which will respect these settings?
Powerbook Mac OS X (10.4.6) Mail.app 2.0.7 (746.2/749.3)Mozilla Thunderbird will do what you ask.
However, I'd much rather use Apple Mail, so am anxious for any possible workarounds. -
Hi all,
I recently moved to Japan for a university exchange from Australia and I am living on campus as well as using the university's internet service.
The Uni supplied information on setting up the network settings (pretty straight forward) and then some proxy settings as well which have all been set up and everything.
After setting up everything I was able to use the internet for basic things but some of my favourite sites were being blocked by the proxy (banking sites, Gmail, etc). Furthermore, Mail and Messenger will not connect.
I recently downloaded a program called Authoxy to help bypass this issue and am now able to use Safari on any site i wish. But messenger and mail are still not connecting.
Messenger isn't that big a deal but I use Mail everyday so I need to get that working.
I am using a GMAIL account in Mail and I have checked with Gmail's support page on all the settings which are fine. However, mail still won't connect. It says that the smtp server can't be contacted or something.
I am using IMAP for the client and it worked fine until encountering the proxy.
Any ideas to figure out a way around it? Anything appreciated, thanks.
ALSO: When I use windows with boot camp on the same internet settings, messenger works fine.... hmmm...
thanks again
TimMy ISP also uses a proxy, which has been a real pain. One thing I can suggest is that you go to the apple on upper left side of your screen, then to location, and then to network settings>advanced for that network. In network settings be sure the proxies have been set up for the network you are using. DO NOT CHECK Socks Proxy - for me, at least, checking that box makes me unable to get mail.
I also use gmail and have been able to get it to work through the proxies, so continue to try checking and unchecking certain proxies and being sure they are set up for your network, and eventually you should get it right. -
How to get mail with Proxy in Mountain Lion?
my company is using network proxy server to connection internet.
but i was found the proxy setting is't work on Mail application, the mail application always saying connected server(04-imap.mail.me.com) is timeout.
when i got home, and switched into direct connect without proxy, that mail service was fine.
BTW,i'm pretty sure the company proxy server was fine, because my safari and other network applications is work well when i was using same network condition with mail application can't. the proxy setting is using a Pac file to making its working.Actually this seems to be on-going problem that is not being addressed by Apple.
The scuttlebut on the Forums is the fact that Apple specific programs and apple specific adressess do not obey PROXY instructions even if set in the Advanced Network settings. Therefore it does not matter what our Network Administrators do the proxy will not be found.
Hence in Mail, my exchange setup works fine (though need to use DavMail as well), My iCloud apple account dismal failure behind the proxy.
There are a number of programs that have been suggested to help MacProxy and Proxify for example.
However, I have found these confusing to use and slove one problem but cuase another for example, with Proxify managed to get BOTH email accounts working, but lost Safari etc etc.
Have never managed to get messenger to work.
I would be enternally greatful if someone with network knowledge could step us through the use of these Proxy directing programs to overcome this "behind a proxy" problem. -
Proxy (WithAcknowledgements) to Mail Scenario
Hi,
I am doing Proxy to mail Scenario ..and trying to send the Proxy with Attachments. After executing ClientProxy when i check in PI moni_sxmb.. i got error regarding HTTP...
Can anyone tell me where i have to check regarding this ..
The error in the moni is
- <!-- Call Integration Server
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
Regards,
Deepthicheck below links.....
HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
HTTP_RESP_STATUS_CODE_NOT_OK - Error in ABAP proxy -
Mail Proxy: Emails got stuck in Outgoing directory
Hi
We have a BM3.9SP1 on NW6.5SP7 configured as a HTTP Proxy, Transparent Proxy and inbound Mail Proxy.
But we have a lot of email stucked in the Outgoing Directory(7000 files) and I don't know why.
The BM has only one network card defined asa public/private and it is behind a firewall.
How can I find out what is the problem ?
The Mail volume is a traditional one, because whe had some issues in the past with nss volumes.
If we rename the outgoing directory and the proxy will recreate it we can copy back the files to see if they are going out ?
And why are the files in the Outgoing directory and not in the Incomming as we only use is for the Incomming emails ?
Thanks.
VikiOn 03/17/2010 10:26 AM, vdusnoki wrote:
>
> Hi
>
> We have changed the switch and now we dont have retransmissions in
> excess but the email are still building up in the Outgoing directory and
> eventualy the server abended.
> In some of the emails, the CTL file shows "received HELO command
> without domain name" but in other I dont see anything wrong.
> How can I see the reasons why the emails are not leaving BorderManager
> ?
> Thanks.
>
> Viki
>
>
1. without seeing the abend, i'd suggest to go to bm39sp2 and bm39sp2_ir1.
2. Unload proxy, start taking a lan trace on bm using pktscan, load
proxy. Mail proxy will try to deliver the mail. Lan trace will show the
conversation, if any, with the internal mail daemon
3. if mail has never worked, it could be a configuration issue as well -
Query on Mail Receiver Adapter
Hello Experts,
I am using Asyn Proxy to Mail Scenario.
Mail receiver adapter generating the Mail with Excel file attachment by using the following details.
R3 coding (Proxy calling code):-
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Alert Mail'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE = 'application/vnd.ms-excel;name="filename.CSV"'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Field1,Field2,Field3'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
ID COnfiguration:-
-->Selected the Use Mail Package & Content Encoding = base64
-->Selected the Keep Attachment option.
I have two questions as mentioned below.
(1)Can i generate the Mail BODY and Excel file attachment both together in a single mail?
(2)With this same IR & ID Objects can i generate only Mail body without any attachment (i.e.
by changing the Content_Type in R/3 coding) ?
Please suggest.
Thanks & Regards
JageshHi Michal,
Thanks for ur reply.
I referred your Blog /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments for genreating the
Mail With attachment and Content together.
but when I select the option KEEP ATTACHMENT in the Mail Receiver Adapter and sending only the Content data without any attachment coding as shown in this Blog then also i am getitng attachment(.txt) file and no mail content. In this case i have used the following R/3 coding.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'subject'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'How are u? This is Mail Content'.
Calling the Proxy method.
Important:- with this same coding if i deselct the KEEP ATTACHMENT option in ID then i am geeting
Mail Content properly.
So i think i have to use different communication chaneel one for the Excel file attachment and second for the Mail content.
Please suggest me if i am wrong.
Regards,
Jagesh -
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
PrabaharanHi
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 - Text attachment
Hi Folks,
sorry to post again & again same issue.
if i want to achieve (proxy 2 mail scenario) Payload as text attachment in email,
do i need to use below 2 modules in My receiver CC?
Number 1 as AF_Modules/StrictXml2PlainBean
Number 2 as AF_Modules/MessageTransformBean
is it right (the order which i used and Modules which i used)?
Screen shot link of my config:
http://farm4.static.flickr.com/3071/2951413865_498cb4f19b_o.jpg
http://farm4.static.flickr.com/3027/2951427759_d4d3097826_o.jpg
did i make any mistake on my config?
Rightnow i am getting Business content data in the email message inbox only. I am not getting Business data as a attachment.
do i need to use PayloadSWAPBean module also to achieve my req.?
Inputs reg. this will be helpful.
Thanks
PrabaHI Gaurav,
I tested again for ur Try
With XIALL option - i am getting 2 files in a attachment
file name: ATT00001.xml - control records -
output file name : Untitled.xml - Payload (business data)
file name: ATT00001.xml as a attachment in the email
- XI PAYLOAD with out any module( but default sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean - module will be there), with out keep attachments option
output file name : Untitled.xml as a attachment in the email
XI Payload with out any module ( but default sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean - module will be there), with keep attachments
any one has idea on this, plz throw some inputs
Thanks
Praba -
Column header in receiver mail adapter
Hi experts,
I have a proxy to mail scenario in which I send a mail with a file attached.
Is it possible to put column headers in the attachment, possibly without changing the mapping?
I mean, working with module configuration in communication channel?
Thanks
Fabio Bonihi
There are several scenario's
have a look at following :
/people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
/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
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
and for further
you can follow
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
i hope this will help you.
Pls : Reward points if helpful
Vishal -
CSV File attachment in Receiver Mail Adapter
Hi Experts ,
mine is a proxy to mail scenario Information from proxy needs to be converted to CSV file and to be send across in the form of attachment to multiple recievers.
I would request best suggestions from experts.
Regards,
Arnab .Hi,
first approach is,
1. in cilent proxy report to call 'GUI_UPLOAD' function module , in exporting, filetype = 'txt', filename.
second approach is,
2. you can you message transformation bean in you mail receiver communication channel.
http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm
you want to send multiple receivers ,
3. In the Receiver Determination, you need to select " Extended" in the Type of Receeiver determination.
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3343.
regards,
ganesh. -
Text Attachment in Mail Adapter
Hi, I have Proxy-XI-Mail scenario.
I want to send the mail as TEXT attachment.But the Text is coming as Mail content.
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.
Thanks.
RushikeshHi,
Refer these blogs
http://www.sapag.co.in/SAP-XI-Mail-Adaptor-FAQ'S.html
The specified item was not found.
The specified item was not found.
eMail Report as Attachment (Excel/Word)
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
and also refer these links
http://www.riyaz.net/blog/index.php/2008/02/27/xipi-configuring-the-sender-mail-adapter/
http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
Regards,
Suryanarayana
Maybe you are looking for
-
How do I add a file upload to my form?
I need to be able to collect multiple files from a web form in order to keep them together.
-
How To Install Informatica and DAC Client on windows
Dear Friends, I had installed Oracle Informatica 8.6.1 and Oracle DAC Server (10.1.3.4.1) on Linux server (RHEl 32 bit) Now i want to install Informatica and DAC Clients on windows machine. Where to download the software and in the existing Dump i do
-
Hi When BusinessOne launches my Add-on (after to install it), my Add-on stop on the Connect function of the UI (see code below). If i stop and starts again BusinessOne, BusinessOne run my Add-one correctly!!! Do you have an idea? My Code : Dim With
-
AE Render Error - Output Module Failed
Hi all, I have a problem with AE CC. AE lets me render out (export) one file then after I try to render any more, I get the below message. To combat this, I reboot AE and it then will let me render out one file, but I have to constantly reboot it to
-
Downgrade from Bootcamp 3 to enable WinXP install
I want to install an old copy of Win XP on my '09 MacPro. This copy has worked fine with my '07 iMac. Unfortunately, the MacPro's version of Bootcamp (v3.0.4-325) will not allow installation of anything other than Win7. Can I somehow downgrade to an