cancel
Showing results for 
Search instead for 
Did you mean: 

WEBUI Mails in Text format

Former Member
0 Kudos

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

http://it.toolbox.com/wiki/index.php/CRM_Email_Settings

Please advise.

Sharath.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member192716
Contributor
0 Kudos

Hi,

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.


cl_crm_email_utility=>get_body_part_from_editor
exporting
iv_plain_text = lv_text
it_attachment = gt_attachment_content
importing
et_mime_data = lv_mail_data->body
changing
 cv_html = lv_btf_ascii.

* To send email

lv_send_request_id = cl_crm_email_utility=>send_email( iv_mail_data =  iv_mail_data ).
 
cl_crm_email_utility=>create_send_req_from_mail_data
exporting
  iv_mail_data = lv_mail_data
importing
 ev_send_request_id = lv_send_request_id.

You can refer components BT126H_MAIL and CRMCMP_CCS_EML.

Regards,

Arun

Former Member
0 Kudos

Hi Arun,

Thanks for the reply.

But is there any standard configuration way of achieving this, instead of coding. Changing the code is that standard process, I think there should be a switch option somewhere whether u want to HTML or text email out.

Please clarify.

Thanks,

Sharath.

0 Kudos

This message was moderated.