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.


Looks like this guy set up a web service and used jQuery to call it to send an email. Not sure if that breaks your constraint or not.

http://riderdesign.com/articles/Sending-email-with-jQuery-and-a-Web-Service.aspx


Need Your Help

Combining split date ranges in a SQL query

sql database ms-access database-design

I'm working on a query that needs to have some data rows combined based on date ranges. These rows are duplicated in all the data values, except the date ranges are split. For example the table d...

CAS: Running exe from intranet

.net security cas

Before I get flamed and down-voted without mercy, my company will not allow the install of .NET3.5 on non-dev machines yet (others are currently on 3.0).