Results 1 to 7 of 7

Thread: Hey Look At Me

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    A Very Weird Place
    Posts
    15

    Talking Hey Look At Me

    Does Anyone know how too send Emails From An ASP page Via Outlook?


    I know how to send via CDonts But i need to send to users in
    outlooks global Address List.

    I get a problem with createobject("Outlook.application")

    ASPs Don't seem to be able to create an outlook object?


    Any ideas?


    http://www.weirdocult.co.uk

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Office Apps weren't designed to be scripted from ASP and trying to do so could cause major problems with your web server.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    kayoca
    Guest
    You can try using MAPI for connecting to your oulook libery.
    I know you can do it with ASP. But how i dont know yet. I dont have much time to figure it out..

  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    31
    Not sure if you can bring up an actual outlook email message, but you can send an email with VBscript

    dim Mailer
    Set Mailer=Server.CreateObject("CDONTS.NewMail")

    Then you can use properties like:
    To
    From
    CC
    BCC
    Subject
    Body
    Importance

    If the user is inputing information from a asp form, you can grab the info and format the email message then do Mailer.Send

    Good luck!

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    A Very Weird Place
    Posts
    15

    Unhappy Thanks Guys

    Thanks But...

    I know How To Send Via CDONTSm But I'm Designing a Intranet Page
    Where users Fill in Details the details are saved to a Database
    and An Email is sent to the manager.

    Now the staff that work here are not to bright so i wanted to allow
    users to select their name from the outlook global address list from
    within the ASP Page.

    Then use the name that they selected to send the email.

    But sadly it seems that outlook can't be used from asp

    But if any one has any ideas
    http://www.weirdocult.co.uk

  6. #6
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    There is a thread here where I showed another user how to take the email addresses from an external mail list (text file) and add them to the to field of a cdonts message.

    I don't use Outlook (use Express) but is there any way to export the 'buddy' list to a text file? If so I can show you how to do the rest.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Or even better how bout having just your email address and have the staff names in with the subject. EG:

    Staff's Subject Here - Staff's Name Here
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

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



Click Here to Expand Forum to Full Width