sending mail with attachment from code (Bjorn Demol)

Bjorn Demol Bjorn.Demol at oasisconsultants.com
Thu Nov 1 15:48:09 EDT 2007


indeed, it's an odd situation :)
I looked at the attachment from SOST, en there the attachment is already 'wrong'.
I didn 't thought on looking from SWI1, I'll try that tomorrow (today is a bank holiday in Belgium and I don 't have access from home).
The code I used comes from the wiki at sdn, so I guess this code is ok...
 
Thanks for the help everyone, really appreciate it !
 

________________________________

Van: sap-wug-bounces at mit.edu namens Shai Eyal
Verzonden: do 1/11/2007 20:22
Aan: sap-wug at mit.edu
Onderwerp: Re: sending mail with attachment from code (Bjorn Demol)


Bjorn,
That's quite odd situation. 
Have you looked at the attachment from SWI1 ?
Have you looked at the attachment from SOST ?
 
When does it changes ?

 

Regards,
Shai Eyal

SAP Logistics senior consultant
SAP Workflow specialist
Mobile: 972-52-5816633




Message: 3
Date: Thu, 1 Nov 2007 14:14:26 +0100
From: "Bjorn Demol" <Bjorn.Demol at oasisconsultants.com>
Subject: sending mail with attachment from code
To: <sap-wug at mit.edu>
Message-ID:
    <76A004B75BB3EC4FBC3B3D3E5EDDC54C22B4F9 at oasis06.oasisconsultants.local>
    
Content-Type: text/plain; charset="iso-8859-15"

Hi everyone, 

my question isn 't really flow-related, more abap-related. I posted my question on SDN, but didn 't receive an answer, and I think some of you could help me out.
I'm creating a function module to send a mail with attachment. Everything works fine, attachment is created and send, but the output is rather funny.
I sent a txt-attachment with, with as content 123456789.
When I open the attachment from my mail-program, the output is 1 2 3 4 5.
I tried with several mail-editors, bur the problem persist. I tried searching on SDN, found someone with a similar problem, but there's no solution given :(
Is there someone out there who experienced the same ?

thanks !!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071101/ee3d38e5/attachment-0001.htm



Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5889 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20071101/169edc44/attachment.bin


More information about the SAP-WUG mailing list