Application Development and Automation 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: 

Send a text how image (Not HTML) in a body email

gregorygotera
Explorer
0 Kudos
493

Hi everybody


I need send a text(table, various lines), inside an email body how an imagen, not how HTML format. Is possible to do this ?

I saw various link but always send an email wiht the body in HTML format.

Regards

Gregory

5 REPLIES 5

Sandra_Rossi
Active Contributor
0 Kudos
320

Do you mean an email with a raw text, not HTML? Why do you use the word "image"?

VijayCR
Active Contributor
0 Kudos
320

Which FM or class are you using to send email can you share the code how your sending email currently ?

gregorygotera
Explorer
0 Kudos
320

Hi

I have used the FM 'SO_DOCUMENT_SEND_API1' or recently the class CL_BCS

with these others classes ( CL_DOCUMENT_BCS,CL_SAPUSER_BCS,IF_RECIPIENT_BCS).

Send text how an image is a new requeriment and don't know if is possible, because I have sended a PDF or some lines inside a body of email.

Regards

Gregory Gotera

matt
Active Contributor
320

Don't use the function modules, use the CL_BCS classes.

You can't send PDFs in the body of the document. You have to add it as an attachment. You can't have images within the body of an email unless it is HTML (or you're using some weird kind of proprietry email format).

  • With HTML based email, you can have images as attachment or in the body.
  • With non-HTML based email, you can have images as attachment.

Those are your only options.

Jelena_Perfiljeva
Active Contributor
0 Kudos
320

I suspect you meant to write "text as image", not "how". Sorry, it sounds confusing as written...