Jump to content
Sign in to follow this  

Html Question

Recommended Posts

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.



Share this post

Link to post
Share on other sites

Try this:




'Sends an email through SMTP



Public Sub SendSMTPEmail(aTo, aFrom, aSubject, aText)



Set CDONTSMail = Server.CreateObject("CDONTS.NewMail")


CDONTSMail.To = aTo

CDONTSMail.From = aFrom

CDONTSMail.Subject = aSubject

CDONTSMail.Body = aText


Set CDONTSMail=nothing

End Sub

Share this post

Link to post
Share on other sites

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

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

  • Create New...