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: 
Read only

class BCS - email in HTML format

Former Member
0 Likes
1,636

Hi experts,

I am using the method 'send_mail' in the class 'cl_bbp_doc_send_bcs' to send mails to microsoft outlook.

In the outlook it is not showing the hypertext link say for eg. [test]

I set the code document class as 'HTM' for the email body the the hyperlink appears in SOST,however in the outlook it showed as plain text like <a href = 'mailto: test......

Kindly provide your solution to fix this issue asap.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,322

Hello

I am not sure if it is required to pass with html tag <a href>, i think a simple addition of "mailto:" should be enough. Also, make sure there's no space between strings "mailto:" and the email address. This will work if your mail is set to HTML/Rich text format.

Regards

Ranganath

7 REPLIES 7
Read only

Former Member
0 Likes
1,322

Hi,

Have you checked the Outlook Options for email? Maybe you have it set as Text instead of HTML.

Regards

Ernesto

Read only

Former Member
0 Likes
1,322

The microsoft outlook option is set as HTML only. The emails which are triggered by function module 'SO_NEW_DOCUMENT_SEND_API1' have proper hyperlink in outlook.

Read only

0 Likes
1,322

Hi,

Aren't you using class BCS to send emails?

Ernesto

Read only

Former Member
0 Likes
1,323

Hello

I am not sure if it is required to pass with html tag <a href>, i think a simple addition of "mailto:" should be enough. Also, make sure there's no space between strings "mailto:" and the email address. This will work if your mail is set to HTML/Rich text format.

Regards

Ranganath

Read only

0 Likes
1,322

Yes. I am using BCS class.

Ranganath,

As u said I have already used href="mailto:saptest.. with out space with in the tags <a and </a> .

Still i get the same in the outlook output instead of hyperlink.

Regards

Karthik

Read only

0 Likes
1,322

I meant to say you do not need to use href tag, just "mailto:saptest.com" would be sufficient.

Regards

Ranganath

Read only

0 Likes
1,322

hi Ranganath,

Thanks for ur soln.. Issue resolved!