Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Nov 2004
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ASP Form To Mail Script Needed

    Hi

    I have searched for a decent asp form to email script, but cannot find one that is suitable. What I need is:

    Email results to a specified email address (dont want this to be a hidden input for spam reasons)

    A thankyou page

    an error page (validation)

    Does anyone know of any good ones?

    thanks

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'll join in the request. If I may add one more thing to it:
    it would be great if it came with captcha!

    @mumford: I've used Webassist Universal Email, which kinda works. I don't like it tho.
    Most of the time I end up using FormsToGo
    I know that I know nothing

  • #3
    Regular Coder westmatrix99's Avatar
    Join Date
    Dec 2006
    Location
    South Africa
    Posts
    307
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Thumbs up

    I hope I can help here.
    Use CDONTS or JMAIL it's FREE.
    CDONTS script:
    PHP Code:
    <%
    Dim objMailobjBody
    Set objMail 
    CreateObject("CDONTS.Newmail")
    objBody"Some text" vbCrLf vbCrLf'/// Add your own message.
    objBody=objBody &"Some text" & vbCrLf & vbCrLf
    objMail.From = "your@email.com" '
    /// Change this to your email.
    objMail.To = (rsrecordset.Fields.Item("emailfield").Value)'/// This bit inserts the email address of the person.
    objMail.Subject= "Subject"'
    /// Add your subject.
    objMail.Body=objBody
    objMail
    .Send
    Set objMail 
    Nothing
    %> 
    OR
    PHP Code:
    <%
    Dim myBody
    Dim mySubject
    myBody 
    "Some text"
    mySubject "Some text"
    Dim myMail
    Set myMail 
    Server.CreateObject ("CDONTS.NewMail")
    myMail.From "You@YourDomain.com"
    myMail.To "them@email.com"
    myMail.Subject mySubject
    myMail
    .Body myBody
    myMail
    .Send
    set myMail
    =nothing
    %> 
    W3 Jmail:
    PHP Code:
    <%
    Dim Msg
    Set Msg 
    server.createobject("JMail.Message")
    'Msg.Logging = true 'Logging if needed
    Msg
    .From "email"
    Msg.FromName "Name"
    Msg.Subject "Subject"
    Msg.ContentType "text/html"
    Msg.GetMessageBodyFromURL "http://www.webpage.com/pae.html" 'this will send the entire page
    msg.AddRecipient "email" , "name"
    '
    msg.AddRecipientBCC "email","name"
    Msg.Send("servername")
    Set Msg=Nothing
    %> 
    Thanks for you support!

  • #4
    Regular Coder westmatrix99's Avatar
    Join Date
    Dec 2006
    Location
    South Africa
    Posts
    307
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Captcha we can add later, first get this script to work for you.
    Cheers
    Thanks for you support!

  • #5
    New Coder
    Join Date
    Aug 2006
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    westmatrix99, why did we even bother.
    Looks like this is one of those "ask and forget about it" posts.
    I know that I know nothing

  • #6
    Regular Coder westmatrix99's Avatar
    Join Date
    Dec 2006
    Location
    South Africa
    Posts
    307
    Thanks
    12
    Thanked 0 Times in 0 Posts
    True!
    It seems that ASP web guys are worse than PHP web guys in responding, the only I say this is due to the third post I answered and no response.
    No point in deleting that data as there is a ref for others, I guess.
    Cheers
    Thanks for you support!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •