Open a new window from html email - html

I developed a web page in asp.net to send HTML email.
I did the coding for sending the mail in asp.net.
The issue is, after sending the mail I need to open a popup window from the mail using hyperlink.
Is this possible?

From a comment on another answer:
I need to open it as a popup window. Not in a new tab.
That requires JavaScript. You cannot run JavaScript in an email. Therefore you cannot achieve what you want.

Try:
description
This should make it open as a pop-up (unless default browser setting are different)
Although it's not recommended to use pop ups anymore because most users find it extremely annoying.
Hope this helped.

It's possible, just put your:
<a href='yourULR'>description</a>
in your email

Related

Gmail site doesn't open up after submitting the form [duplicate]

The tag mailto: in a link opens the default email client. However, many of the people I want to code for use GMail.
So, is there a way to craft an email and access the user's gmail tab so that the all she/he has to do is to click send?
I am afraid that there isn't such way. It's not something that you should be attempting to solve in your web application because user agents might behave differently. So just leave it that way.
Use the anchor like that:
"Crafting an email and access the user's gmail tab" = XSS which is unethical.
One way to achieve what you want is to ask your users to make their Gmail handle mailto: links by following this guide -> https://support.google.com/mail/answer/10966?hl=en
No such way to set it from inside your applications. But gmail does provide you setting to open mailto links in gmail.

Alternative to mailto: to link email

I am creating a website and there is a page with people that are part of the company. Each person has an email that i want for the user to be able to get the email for the person that he/she want.
If we were in 2011 i would have used mailto: html tag. But really not so many people are using desktop email clients.
I thought about linking to a link so a new window would open in gmail and a new message would be created with recepient the pressed email. BUT not everyone uses gmail.
The only posible "solution" that i though that when the user clicks on the email this would be copied automatically in the clipboard. It would have the same result as doing CTRL & C at something. BUT this requires a lot of time and i dont want to get my hands dirty with javascript.
Is there any other way to do this ?
You should probably still use mailto:. mailto: is not intended for just desktops, it identifies a handler for the client. A mobile device would be able to recognize it just as well, and launch its preferred MTU.
With a lot of addons like smartaddon contact form and foxyform available out there, you could add them to your html code.
But, if you could use php, it to would just take few statements of code to set up the contact form on your own. Refer this post which explains clearly on how to set up your contact form using php.

Link with mailto when the user doesn't have an email handler?

So,
Imagine that I have this link:
Test
How do you deal with people that visit your site and don't have any email handler? What are the possible solutions? Like showing the email, for example? Any other solutions?
Thanks
EDIT: This solution requires you putting the email in between the anchor links. Why would you not?
I would not worry about it. Most browsers (all modern ones) would allow a user to right click and copy the email to their clipboard in the worst case. Its not such a mission critical feature that I would worry about it. If they do click it, I believe the browser will ask the user what mail client they would like to associatemailto links to.
The only other choice would to allow them to fill out a form that your mail server will generate into an email and then send to the appropriate recipients.
On mouse over it could show a tool tip above the link with the email?
If you don't want to be dependant on client settings, you ll need to provide the service server side. Meaning allow ppl to send an email from your site using some simple text box and a SMTP plugin.
You might find this question helpful: Has anyone ever come up with a way to detect the email program a recipient is using?
Essentially, there's no possible way to check if there's an outside program to handle email, so short of writing a submission forum that automatically sends the email to the intended recipient, there's probably not much you can do.

<a href> emailing from inside an html file

I am doing a basic html page, using a free web template that I found online. In the "contact" section, I would like to set it up such that
Myself
allows emailing to myself from the page directly. However, when I click on the link, nothing comes up, no emailing program... nothing. Could it have something to do with the fact that I got a free web template with it's own included css file, which could be overriding whatever emailing functionality the html might provide? This seems relatively simple, but for whatever reason nothing happens when I click the email link.
The "mailto:" function opens a new e-mail in your default e-mail client. Since it looks like you are using GMail, then I am just guessing (correct me if I'm wrong) but you are using the web interface to compose and check you gmail messages and don't have a default email client set up. Either setup your default client (Outlook, Thunderbird, Mail, etc) OR if you are using Chrome web browser you can set it as your default gmail client (Making Gmail your default mail application).
Look which Standard-Email-Client you are using. In Firefox: Options > Applications > Filter > Search for "mailto". I guess the Client-list is empty or not set.
CSS can't block mailto, but JS can.
Try to put your code in a simmple blank HTML file and click the link:
<html>
<head>
</head>
<body>
Myself
</body>
</html>
You need an email client that processes the URL:Mailto filetype.
Without a proper default email client nothing ever happens when the link gets clicked.
Btw. mailto usage can be extended to include a draft and receivers in the created email.
<a href="mailto:someone#yoursite.com
?cc=someoneelse#theirsite.com, another#thatsite.com, me#mysite.com
&bcc=lastperson#theirsite.com
&subject=Big%20News&body=Body-goes-here">mail now</a>

Embed HTML form in email

Can I send an email that contains an HTML form with one combobox, that upon changing the value a reply would be send back?
From the research I've made it seems that it is not possible...
http://en.wikipedia.org/wiki/HTML_e-mail
Is that true?
Thanks,
Eden
Yes it is possible.
But there are restrictions.Different mail clients and web mails behave in different manners.
For example, Yahoo web mail, upon submitting form brings up a dialog box which warns about sending some info outside Yahoo. You have to disable Javascript if you want your submission work properly, otherwise it doesn't send submit buttons by REQUEST (POST or GET).
In outlook express I checked and it works without any problem.
Because of this problem, I think it isn't recommendable to do form embedding inside email. I suggest to make a web form and send a link to it via email. Although by this approach you may lose some lazier users, but it seems that lose will be lesser than lose arising from problems of email embedded form submission.
Yes that is true. It is not possible. What you can do is provide a link to a webpage and do the combobox action on that website.
You can create a form in google docs and share it via 'email', I have tested it and it shown inline at-least in gmail.
https://docs.google.com/forms