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
https://forums.phpfreaks.com/topic/64645-sendmailin-java/
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
https://forums.phpfreaks.com/topic/64645-sendmailin-java/#findComment-322356
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.