Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2004
    Posts
    105

    Question Unanswered: send e-mail via outlook

    hi all,
    i have a problem
    on a webpage i make the user enter some data.
    i then want to send this entered data via outlook e-mail
    does somebody know how i can do that?
    im totally clueless on this one
    thanks so much for help

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    Why specifically via outlook, do you want it to be kept in the sent items box or something???

    I imagine that with a lot of work your could probably get it to happen but the effort involved probably outweighs the value.

    Why not just send the email using CDNOTS or ASP.Mail or something similar?

  3. #3
    Join Date
    Oct 2004
    Posts
    105
    hi thanks for your answer
    outlook was just my first idea
    if CDNOTS or ASP.Mail works then that would be great too as long as i can send the information with it
    do you know how i can do that?
    thanks a lot

  4. #4
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    here's an example,.. should be working... http://www.dbforums.com/t1043224.html

    You could also do a google search, there are probably a million or so "how-to's" on this one

  5. #5
    Join Date
    Oct 2004
    Posts
    105
    yes i have been searching the forum but i dont really get it
    so that means i just do this? :


    and above i enter a line for what scriptlanguage it is?
    would that be vbscript here?

    Dim objMail
    Set objMail = Server.CreateObject("CDONTS.NewMail")
    objMail.From = "rob@tconsult.com"
    objMail.Subject = "How TO send email with CDONTS"
    objMail.To = "someone@someplace.com"
    objMail.Body = "This is an email message" & vbcrlf&_
    "with CDONTS." & vbcrlf&_
    "It is really easy. "
    objMail.Send
    set objMail = nothing

    sorry im just new to this
    Last edited by justme:-); 01-05-06 at 18:51.

  6. #6
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    Yeah, above that code snippet you have your language declarations as you normally would at the start of your page...

    Yup, it's standard VBScript there.

    I am assuming that you have not done much ASP stuff at all at this point... if that is the case sending emails might be biting off more then you can chew...

  7. #7
    Join Date
    Oct 2004
    Posts
    105
    no none at all so far
    does that mean i have to do other things too, than just putting in that code?
    Last edited by justme:-); 01-05-06 at 19:18.

Posting Permissions

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