hairybobby Posted January 18, 2003 Posted January 18, 2003 I have seen some javascript scripts which supposedly send info to an email. But they don't seem to work. Most send the info to some adress in cgi bin. But I want to send info to my email at [email protected] I don't want windows to open up some email window - I want the info sent from the form to my email. Anyone? Share this post Link to post Share on other sites More sharing options...
ukmike02 Posted January 18, 2003 Posted January 18, 2003 You could use simple PHP. But your hosting company must support it! Share this post Link to post Share on other sites More sharing options...
SUpitch15 Posted January 18, 2003 Posted January 18, 2003 Try this: '============================== 'SendSMTPEmail 'Sends an email through SMTP '============================== Public Sub SendSMTPEmail(aTo, aFrom, aSubject, aText) Dim CDONTSMail Set CDONTSMail = Server.CreateObject("CDONTS.NewMail") CDONTSMail.To = aTo CDONTSMail.From = aFrom CDONTSMail.Subject = aSubject CDONTSMail.Body = aText CDONTSMail.Send Set CDONTSMail=nothing End Sub Share this post Link to post Share on other sites More sharing options...
hairybobby Posted January 20, 2003 Posted January 20, 2003 yeah the problem I'm having is many of the scripts seem to send info to a cgi bin. But I'm using hotmail. I want to write mailto:[email protected] I've got a feeling there is some cgi bin reference in there! Oh yeah and its preferable to use javascript or VB because most of my free web space doesn't support PHP etc. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now