Jump to content

SENDMAIL()...in java?


addtrain

Recommended Posts

Question: is their a way to do sendmail() in javascript? is their any other sendmail scripts besides CGI, PHP, and .Perl??? freewebs.com & bravenet.com can send me an email via form, with whatever the person typed into the form, how can i do it WITHOUT php, cgi, or .perl (my host will not accept php sendmail, dosent accept cgi or .perl files)

PLEASE HELP!

Link to comment
Share on other sites

The problem is that when you send an email, some program needs to connect to a mailserver somewhere. But you can't do that client-side because:

1) It's non-secure (Hackers could write a client-side script that sends a virus to ten people FROM YOUR ACCOUNT everytime you visit a website.

2) What if you (the client) don't have an email program installed?

So email has to be sent server side, which limits it to pretty much CGI scripts (PHP, Perl, etc). Sorry.

 

My only other suggestion is if you have a bit of space on a server with PHP's mail() enabled (e.g. do you have any server space from school/work that you could just put the sendmail.php script on?)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.