cancel
Showing results for 
Search instead for 
Did you mean: 

Sending e-mail in HTML format

Former Member
0 Kudos

I'm trying to send e-mail via WF with standard step. In this step SAP using BO "SELFITEM"  and "SENDTASKDESCRIPTION" method.

I need to send URL in HTML format.

I set up e-mail task like it was described in SAP note 1864394 * URL with parameters in a Send Mail step or task description:

In SOST transaction I have link an HTML tags:

But in Outlook I have tags only:

What I did wrong, or what customizing i have missed?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It seems like you still didn't get your answer. (I've had similar problems.)

I have actually stopped using the standard email sending step for emails that must be in HTML format (have links etc.). I have simply done my own logic with class CL_BCS (lots of examples here in SCN with html content). Sure, it requires an additional work effort, but at least you have full control how things work...

Regards,

Karri

Answers (3)

Answers (3)

Former Member
0 Kudos

Thx to all for answers, but i still want to find out how solve this issue with standard mail step.

I042439
Employee
Employee
0 Kudos

Hi

I agree with Karri.....

CL_BCS will allow sending the links the way you want.

SELFITEM.SENDTASKDESCRIPTION from the email step calls FM SWW_SRV_MAIL_SEND to send the email. This FM explicitly sets the mail format to 'RAW' in line 92 .....hence your links come as text in emails - no conversions.

In SOST you can see it as proper text link because the screen is rendered in HTML.

So, to get the correct link in outlook, you need to send an HTM type email, which is possible via CL_BCS

Here is one link to help you with CL_BCS:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e009f97e-ee5d-2e10-31ba-9c9509e59...

Regards,

Modak

anjan_paul
Active Contributor
0 Kudos

hI,

what is your component version. The Note said  "SAP Basis Release 700 and above"


Former Member
0 Kudos

Hi, Paul.

I have latest component version:

SAP_BASIS7310012SAPKB73112
SAP_ABA7310012SAPKA73112
anjan_paul
Active Contributor
0 Kudos

hI,

  Implementin SAP Note 1800946 may help you

Former Member
0 Kudos

This Note already in support packege.

I checked all Notes that was noticed in 1864394

anjan_paul
Active Contributor
0 Kudos

Hi,

   Raise a OSS message may help you.

  You can also use SO_NEW_DOCUMENT_ATT_SEND_API1  with HTM