how I can add contactus inside the body of mailto, when click in the button open email by mailto then in the body add text and add contactus - mailto

I have a button when click it open email with text in the body and also in the body I have contact us when click it open the email of the coach
input type="button"; value="Click me"; onclick="window.location.herf='mailto:me#any.com?subject=Request%20invite&body=Hallo%20you' + ' http://www.google.com' + 'HIIIIII' + 'window.open('mailto:address#dmail.com')'";>

To add the contactus text and a link to open an email to a coach in the body of a mailto link, you can use the following code:
input type="button";
value="Click me";
onclick="window.location.herf='mailto:me#any.com?subject=Request%20invite&body=Hallo%20you%0D%0A%0D%0AContactus:%20http://www.google.com%0D%0A%0D%0AHIIIIII%0D%0A%0D%0AFor%20questions%20or%20concerns,%20please%20contact%20our%20coach%20at:%20mailto:address#dmail.com'";>
In the code above, I added the contactus text and a link to http://www.google.com after the Hallo you text in the body of the email. I also added a line break (%0D%0A) after each line of text to make the email more readable.
Additionally, I added a line of text at the end of the email body that says "For questions or concerns, please contact our coach at: mailto:address#dmail.com". This will create a clickable link in the email that will open a new email to the coach when clicked.

Related

Subject line to mailto href+Open email in a new tab

I have a page with:
<a class=email accessibility" href="mailto:email#email.com" />
I would like to:
add a subject line while clicking.
open Gmail instead of outlook/email software in a new tab while clicking.
I don't have the ability to edit the HTML, only adding scripts to the page head or body.

How to remove 'View Entire Message' option in gmail sent using sendgrid

In my current project, we are sending some user chosen services to the mail address provided in input.
We are using a HTML file to format the services and copying this html template to 'mail.Body' before sending the email.
The emails are sent using Sendgrid
When recieving this in gmail ,only for some clients (Set-A) ,even for short email '[Message clipped] View entire message' is shown at the bottom of the email.
We use similar html template to send it for different clients(Set -B), but '[Message clipped] View entire message' is NOT DISPLAYED in this mail ,even when the email is longer.
Tried minified HTML template , but still 'View entire message' is shown at bottom of gmail for only Set-A clients.
The HTML file size before copying to mail body for Set-A (40.11KB) is smaller than that of Set-B (49.09KB).
So I am assuming size is not the problem for this
I compared both the HMTL templates, no difference in styles or other HTML tags. Just the text content is different.
Kindly advise how to avoid this 'View Entire message' option being displayed.
For me it had to do with the character set of the email body. Email body "Hej på dig!" and "Content-Type: text/plain; charset=UTF-8" would reproduce the bug.
You need to make sure that the email body is indeed encoded as declared (check using "show original"). After converting the body from ISO-8859-1 to UTF-8 the problem went away.

Open default mail client on button click with filled html in body

I want to open mail window with pre filled html in body and subject.
Note: user need to enter to: email only, body should be filled by me from code side and body should fill with html.
Above image is screen shot which I need.
I need image as shown as above in html body on clicking button.
you can embed the html tag in string like this
string textBody="Hi
<strong>"+UserName+"</strong>
<br />"+Addrss +" is you addrsss you can find current addrss
<table>
<tr><td>Any other contant</td></tr>
</table>";
Is that what you want or something else. can you show what output you want so I can help

xpages forward o reply email

I need a solution, that when you press a button from a inbox xpages mail message, the new xpages is composed with the body and image and attachment of original inbox message (ckeditor control)
I nave found a Solution for passing HTML to ckeditor but not for attachment and inline image.
Have you any suggest?
P.S. the solution will need work in on-fly mode (without savind document before..so that when you foward an email with a classic webmail)
See my answer below on how to copy contents and images to a CKEditor on the fly:
https://stackoverflow.com/a/19328276/785061

Extract links from a web page & write to console in Visual studios VB

I am creating a web application with VS 2012 Express for web using VB. When a user types in a url, I want the page to return a list of all the links and text input boxes on the page that could be clicked on and taken to that page or to fill in the input box. I do not want the url visible.
For instance: if I type a url in the address bar and hit enter, a new window would appear only showing the links such as menu items or text unput boxes in the following format:
Link: About Us
Text Input Box
It would not show: (the actual html code- completed)
'a href="http://mypage.com">About Us'
Use a WebBroswer control. Navigate to a page. Then WebBroswer1.Document.Links will have all the links in the page.

Resources