Embed HTML form in email - html

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

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.

Is it possible to have a form/questionnaire inside a marketing html email?

I am wondering how I can place a small form/questionnaire inside a marketing email that I am sending out? With no php or javascript available I am wondering if there are ways this can be done.
Having tried this myself, allow me to share my experience.
There is nothing stopping you from actually making an HTML Form inside an e-mail, but there are many e-mail clients out there. Some of them block "interactive" HTML, in particular, buttons. And you need a submit button to send your data.
In my job, we have implemented a new feature that allowed users to sign confidential documents by clicking a button on their e-mail. The email had a simple HTML form with a few elements which identified the document to be signed. By pressing a submit button, the form did a POST submit to the server, opened the user's browser and directed him to the web site to sign. This worked for a while, until we had a customer using it via Outlook Web Mail. They claimed the system generated e-mails did not have a button they could push. After investigating, we discovered what I mentioned above. We ended up changing the button for a hyperlink. The information identifying the document now is attached to that link, and the link has been styled to look like a button. Links play well inside e-mails. Buttons don't. Hope this helps.

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.

Dynamic content in outlook email messages

I need to have a button in my outlook message that displays an image (inside the message itself) when clicked. I tried to put a HTML with Javascript handling onclick event, but scripts wont work inside outlook emails. What can I do to get it done?
Thanks
JavaScript does not run in emails, it would be a security risk (and an annoyance). You are actually very restricted on most clients, when I was styling a newsletter for a client I had to resort to table layouts.
The best you can do is put a link in the email which will redirect the user to a web page.