Client side script email notification

I have a web form that uses if statements to create a string of emails addresses to notify once the form is submitted. Is it possible to send an email notification to all of the email addresses without using server side code. Only using client side, ex: JavaScript, JQuery?

This will be used on a SharePoint 2003 site with email alerts and server side code disabled.

Answers


There is no reliable way to send emails from the client-side in any client browser. The mailto: tag exists, but is only supported in some circumstances and requires cooperation with a local email client which is often not present or not configured properly. With the proliferation of web-based email, there may not even be a locally configured email client.

The only reliable way to send those emails is by giving the email addresses to a server and letting the server send out the emails. If you don't want to do that with your own server or can't, then there are services that can do that for you using client-side forms that submit to their server which then sends the email. One such service is Wufoo. It has both a free and paid version.


Need Your Help

Can AJAX server side processing run concurrently?

javascript ajax

I understand that JavaScript is single threaded. If you have an AJAX call then it is added to the message queue and JavaScript deals with it when it can. Say I have a function like this:

vector of objects

c++ stl vector object

I tried to add objects to the "content" vector, and use show() on all of them.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.