cancel
Showing results for 
Search instead for 
Did you mean: 

Table inside the body of email to be included in anchor tag using HTML code

0 Kudos
1,816

Hello All,

Whenever i click the hyperlink a new mail to be opened in the outlook along with To, Subject and Body content. For this I had used "Href=Mailto:" functionality.

My requirement is that email body must contain table inside it. Since I am using anchor tag<A href=mailto...></A> for hyperlink, inside that<A> tag how to include table for the email body.

Please help me .

Thanks & Regards,

Meenakshi.

View Entire Topic
raymond_giuseppi
Active Contributor
0 Kudos

Did you try to build the body using some table tags (*) or with a tool such as WWW_ITAB_TO_HTML in the &Body part of the url mailto scheme?

But the mailto url is intended for short messages, for big one did you consider using ole2 to call the mail client of the presentation server?

(*) Use the links provided in your previous question to get list of tabs e.g. <table><tr>[<th>header</th>]</tr>[<tr>[<td>value</td>]</tr>]</table> Also remove reserved character from your table data ("?", "=", "&") or replace those with their html entities.

0 Kudos

Hello Raymond,

thanks for ur reply. Using OLE i ll send the mail with body content but in my requirement after clicking the link only the new mail composing in the outlook need to get trigger. so how is it possible using OLE.

Regards,

Meenakshi.

raymond_giuseppi
Active Contributor
0 Kudos

With OLE2 almost everything is possible (look at microsoft forums and/or record a macro, then convert to Abap)

0 Kudos

Thanks for your update Raymond...one more dbt pls...my work is carried out inside a loop..i had searched many threads regarding OLE2..so is it possible for me to call inside a loop...

raymond_giuseppi
Active Contributor
0 Kudos

Of course, yes.