Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Multipart email from SAP

Former Member
0 Kudos

Hello,

We currently send out emails to our customers in plain text or html from ABAP. However, there is a requirement to send out emails as multipart so that the format used to display the mail is decided by the browser used by the customer and not by us(by sending text/html mails). I have read the documentation for the fm SO_DOCUMENT_SEND_API1 & SO_NEW_DOCUMENT_ATT_SEND_API1 but there is no mention of multipart emails there. Is it possible from within SAP(I sure hope so) ? If so , how ?

Thanks,

Anu

5 REPLIES 5

Former Member
0 Kudos

Any suggestions any one ?

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sorry, but I've never heard of handling that internal to SAP. Could this kind of functionality be directly embedded in the HTML of the email?

Regards,

Rich Heilman

0 Kudos

What I need is not something with in HTML. The email that is sent out should be html or text format based on the default settings of the email client the user opens the mail in.

This is possible in Java and the emails that are sent out from the Java side of our system are sent out that way . Now if this can't be done ( I would hate to accept defeat here- almost like ABAP is losing over Java ) we have to move this functionality to Java.

Thanks,

Anu

0 Kudos

Hi Anu,

Looks like the MIME(that allows multipart emails) functionality is certainly there in WAS version 610 onwards. I am looking into 46c(the version that I am working in) to see if there is any such functionality. There are a lot of MIME function modules but I don't have a clue about them. I will let you know if I find anything. Meanwhile, can you tell us which version are you on?

Here is some interesting MIME reading.

http://www.zend.com/zend/spotlight/sendmimeemailpart1.php?article=sendmimeemailpart1&kind=sl&id=5626...

Srinivas

0 Kudos

Thanks Srinivas !

That is exactly what I was looking for. I am working in WAS version 6.2. I just realized that you can send a MIME pages thro BSP . I will look into if / how I can use those classes in ABAP.

Appreciate if you can let me know any info you find. \

Thaks,

Anu