Skip to Content
author's profile photo Former Member
Former Member

WEBUI Mails in Text format

Hi Gurus,

How to sent emails from Web UI in text format...

If I use mail form which are formatted as Text then its going in text format

if I send normally it's going as HTML...we would like to send mails in Text format.

I used the below link...but its not working

Please advise.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 03, 2010 at 05:16 PM


    To send emails from web ui, you can design your email editor and use the below methods to get data from mail editor and send mail.

    iv_plain_text = lv_text
    it_attachment = gt_attachment_content
    et_mime_data = lv_mail_data->body
     cv_html = lv_btf_ascii.
    * To send email
    lv_send_request_id = cl_crm_email_utility=>send_email( iv_mail_data =  iv_mail_data ).
      iv_mail_data = lv_mail_data
     ev_send_request_id = lv_send_request_id.

    You can refer components BT126H_MAIL and CRMCMP_CCS_EML.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.