email notification (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


climberman -> email notification (10/29/2009 10:10:20)

I would like to be notified by email if someone fills out and submits form information. I don't want all of the information in the form just to be notified.

Thanks for the help

Rocky




treetopsranch -> RE: email notification (10/29/2009 12:00:01)

One way is to just set up your sites email auto responder to do that. If your forms are going to your webmail account on your website then the auto responder is the simplest way. Just set it up to auto respond to you. If that is not possible then some email scripts can be configured to do what you want.
This one may but you need to ask their support section.




TexasWebDevelopers -> RE: email notification (10/29/2009 13:34:04)

So what type of server are you on?
If an older microsoft server that uses CDONTS you could put this code where the actual submit to database occurs (on the form processing page - not in the form itself):
<%
Dim ObjSendMail
Set ObjSendMail = Server.CreateObject("CDONTS.NewMail")
ObjSendMail.From = "no-reply@yoursite.com"
ObjSendMail.To = "you@yoursite.com"
ObjSendMail.Subject = "A form has been submitted."
ObjSendMail.Body = "Click here to see the results page: www. yoursite .com"
ObjSendMail.Send
Set ObjSendMail = Nothing
%>




bobby -> RE: email notification (10/29/2009 14:35:37)

It will depend also on the kind of form you are using...

Is it a Frontpage form? Or did you generate it yourself? Can you use ASP or ASP.NET on your server? How about php? Javascript?

Depending on what your capabilities are you can build into the form to send you an email with whatever info in it you want...

Most ASP servers don't use CDONTS anymore... but that's just my experience. There are several options, depending on what your server will allow and what you are comfortable playing with.




TexasWebDevelopers -> RE: email notification (10/29/2009 15:03:05)

quote:

Most ASP servers don't use CDONTS anymore...

Ah...a Redmond dream? There are some good hosting companies who are Windows Server 2003 or 2008 with CDOSYS but you simply cannot believe how many older servers are still running...just stick in a new drive every two years and off ya' go.




bobby -> RE: email notification (10/29/2009 15:28:08)

I still remember the first time I had to code an email responder in CDOSYS... what a pain! I was used to CDONTS and though the differences are small it was enough to cause a small ulcer.

That was about five years ago... have not played with CDONTS since.

It all comes down to what your server will support and what you feel comfortable using.

Personally I prefer php to ASP these days... but that's a personal if not political preference more than anything.

And unless I am mistaken there really isn't an easy way to do this on a Frontpage form...




climberman -> RE: email notification (10/29/2009 16:20:13)

Thanks for the advice there were a lot of questions so here it goes

I have dreamweaver 8 and my host supports Jmail they say with them that is the best one. They also support php asp and all the rest I have built my site using asp. not net.

treetopsranch said to use auto respond but I am not sure how. My form goes to a database not to my email.

Thanks




treetopsranch -> RE: email notification (10/29/2009 18:32:30)

You can't use the autoresponder if your form goes to a database.




climberman -> RE: email notification (10/30/2009 11:28:56)

So is there no way of being notified that someone has submitted a form?




womble -> RE: email notification (10/30/2009 13:08:19)

There's plenty of form processing scripts online that will submit to a database and email. Usually they email details of what was submitted on the form, but they're fairly easy to edit usually, and I guess you could take out the details of what was submitted so it'd simply act as a notification.




Giomanach -> RE: email notification (10/30/2009 13:42:00)

My Bookmarks!

http://www.dagondesign.com/articles/secure-php-form-mailer-script/

Best one out there




climberman -> RE: email notification (10/30/2009 15:32:39)

Thanks everyone for the help

Rocky




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125