536
votes
28answers
298k views

Validate email address in Javascript?

How can an email address be validated in Javascript?
25
votes
5answers
84k views

Sending emails with Javascript

This is a little confusing to explain, so bear with me here... I want to set up a system where a user can send templated emails via my website, except it's not actually sent using my server - it ...
57
votes
18answers
9k views

Best way to obfuscate an e-mail address on a website?

I've spent the past few days working on updating my personal website. The URL of my personal website is (my first name).(my last name).com, as my last name is rather unusual, and I was lucky enough to ...
9
votes
4answers
10k views

HTML email with Javascript

How to include javascript in HTML emails - We need it for expanding and collapsing of the content in the HTML email.
4
votes
4answers
17k views

Can I use JavaScript to create a client side email?

I want to create a client side mail creator web page. I know the problems of using the mailto action in an html form (not standard, no default mail appication set on the client). But the web page ...
9
votes
2answers
5k views

Attach File Through mailto URI

Is it possible to attach a file using "mailto:" redirect in javascript? Something like this: document.location = "mailto:"+recipient+"?subject="+subject+"&body="+msg+"?attach="+"file1.zip";
11
votes
7answers
40k views

send email with javascript

I want my website to have the ability to send an email without refreshing the page. So I want to use Javascript. <form action="javascript:sendMail();" name="pmForm" id="pmForm" method="post"> ...
3
votes
5answers
1k views

How to parse/trim email addresses from text

Similar to this question, but not sure how to implement in this case. A trusted user (don't need to be concerned with validating input) is typing/pasting email addresses into a text field. On the ...
2
votes
5answers
3k views

Sending mail from javascript

I am developing a static website where in i want to send an email when HTML "Send Button" is clicked. IF it is possible it would be nice if u can share the code Thanks
2
votes
3answers
4k views

jQuery Email Address Input

I'd like an autocomplete/autoformat "To" field on my web site that works like the one in GMail: Does anyone know of such a thing for jQuery? Plain JavaScript? Or any other alternatives?
3
votes
5answers
9k views

Can I use HTML5 to send a client-side email?

I want to send an email in HTML5. I don't want to force the user to open a mail client, I want to send the email directly from the web page. On a side note, is there any way at all to do this in ...
1
vote
1answer
127 views

Making an Email Form Send Email

I have the following code for an email form from an HTML template. I'd like to make it send email, as the moment I think it doesn't and I need to add some javascript to process the form. Any tips on ...
1
vote
1answer
870 views

How do I send email using Javascript?

How do I send email using JavaScript? I don't want to use mailto, because if I use mailto it will open an email client.
0
votes
11answers
1k views

How can I send a form's contents over e-mail with JavaScript?

I've got a feedback HTML form, the results of which I need to send to an e-mail address. How do I do that in JavaScript?
7
votes
3answers
2k views

Greasemonkey script for inserting math in gmail

I wish an easy way to communicate mathematical equations with gmail. There's a javascript script called AsciiMath, which should translate Tex-like equations into standard mathML. I thought that it ...

1 2 3
15 30 50 per page