Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8764301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:00:02+00:00 2026-06-13T16:00:02+00:00

This is my html content, I have a button, on click of button I

  • 0

This is my html content, I have a button, on click of button I have to send a mail but the content of mail (like body ,subject ) are to be taken from html content.

Html content :

@"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
<title>Untitled Document</title>
<style>.reservation { }.reservation table {}.reservation tr { background-color: #F6F2E7; }.reservation th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #F6F2E7; background-color: #302824; padding: 5px; text-align:left; }.reservation td { padding-top: 3px; padding-right: 5px; padding-bottom: 3px; padding-left: 5px; border-bottom: 1px solid #DFDBD1; color: #443D37; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }.reservation td strong { font-weight: bold; padding-right:10px; }.reservation td span { font-weight: normal; }
</style>
</head>
<body>
<div style=\"width:300px; margin:auto;\"><div class=\"reservation\">  
<table width=\"300px\" cellpadding=\"0\" cellspacing=\"0\">  
<tr>   <th width=\"130px\">Reservation </th>  
<th> </th> </tr>   
<tr> <td>     <strong>%@ :</strong>  </td> 
<td>  <span>%@</span>        </td>    
</tr>  <tr> <td>     <strong>%@ :</strong>  </td> 
<td>  <span>%@</span>        </td>    </tr>   
<tr> <td>     <strong>%@ :</strong>  </td> <td> <span>%@</span>        </td>    </tr>    
<tr> <td>     <strong>%@ :</strong> </td> 
<td>   <span>%@</span>        </td>    </tr>  
</table>
</div>
</div>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:00:05+00:00Added an answer on June 13, 2026 at 4:00 pm

    Send Html content in mail You have to use Html.fromHtml("html data").

    Here sample code ..

    final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND_MULTIPLE);
            emailIntent.setType("text/html");
            emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, 
                emailTo);
            emailIntent.putExtra(android.content.Intent.EXTRA_CC, 
                    emailCc);
            emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, 
                    Html.fromHtml(subject));
            emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, 
                    Html.fromHtml(emailText));
    
       this.startActivity(Intent.createChooser(emailIntent, "email"));
    

    AppMobiGurmeet saying right. Android support only some Tag..

    For more information check below link..

    Link1

    Link2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to parse a html content that have something like this: <div id=sometext>Lorem<br>
OK I have backgrounds set up like this: HTML <div id=container> <div id=content> CONTENT
i have my html something like this... <div class = content> <div class =
I have some HTML that looks like this: <div class=product> Content In Here <div
For example, if I have this: $('#button').click(function() { $.get('/question', function(data) { $('#question').html(data); $('#question').dialog( ...
Suppose we have this html content, and we are willing to get Content1, Content2,..
I am parsing an html content and have output on my screen. This website
So I have a view containing a web view with HTML content. This is
I have a js.erb with this basic content: $(#currencies).html(<%= options_for_select([['Dollar', '$']])%>); And the html
I have run this Perl code: #!/usr/bin/perl print content-type: text/html \n\n; print Hello World.\n;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.