Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email without using mailto() function.... 1

Status
Not open for further replies.

Tr0

Programmer
Jul 12, 2007
24
US
I would like to create a submit button for my web page that will email me text from a text box when the user hits the submit button.

I would like it to not bring up outlook express or any other software. I just want it to send the text value directly to my email address.

Is there any way to do this with javascript?
 
Is there any way to do this with javascript?

Javascript? Yes.

Client-side javascript that you're accustomed to and likely referring to in your question? No.


The only way to do this is by using a server side language to initiate a mail object on the server to send the mail. You can use server-side javascript with ASP to do this (hence the "yes" in my answer above), but it's really all up to what you have available to you. What server side language do you use? ASP, JSP, PHP, Cold Fusion, etc.

If you're using ASP (which is what I use), do a google search for the CDOSYS object and that will get you started. If you're using a different server-side language, I suggest asking this question in that forum.

Good luck.

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
[small]<P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B> bites again.[/small]
 
I have experience with ASP so I will do a little research :)

thanks so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top