Results 1 to 7 of 7

Thread: possible or impossible....calenders.interesting question...guru needed please!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81
    i want to automatically send an email when a new user has registered to email them there name and password

    as well as this ..when the user gets the email
    its sets up an appointment in there calender.

    ie on my registration form i have
    username
    password
    email
    appointment date

    fields
    and i want to setup a function that emails them the details and puts the details into the appropraiate
    appointment date on there email calender

    like using outlook and setting up an apointment
    please any idea on this has it even been done??

  2. #2
    Guest
    I'm sure you could create and attach a .vbs script file that could make outlook add the appointment but may people will be wary of running them thanks to recent viruses. ...it would not run automatically...would be down to the user to double click it...

  3. #3
    Guest
    This might sound a bit anarchist (), but if you can get hold of a copy of that Love Letter virus...(give it a .txt extension or something so you don't accidentally run it) open it up in VB, Interdev or Notepad...i'm sure it's full of code for automating Outlook...

    Also have a looksee at http://www.vb-world.net/articles/outlook/

  4. #4
    Guest
    ok... on my machine at work if i go to the references dialog in vb i've got "Microsoft Outlook 9.0 Object Library" and "Microsoft Outlook Express 5.0 Type Library"...

    the outlook express one won't load up but the proper outlook one does. yay! if i look at it in the object browser it's got a few nice classes... stuff for the address book, journal (i assume that's part of the calendar), notes, appointments... am sure the stuff you need would be in there somewhere

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    They had the LOVELETTER virus posted at http://www.astalavista.com/. I'm written add-ins for Outlook, it's not that had to automate, it's just a matter of looking what you want to do up. The only problem is with the security it would probably be hard to do it through email.

    I'm thinking you could write an add-in that uses Outlook's Newmail event to look in the email for a code or something, and then add it in based on what's in the email. That way the email could be sent as benign text, and the add-in would interpret it.

    Josh
    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.

  6. #6
    Guest
    That's quite a good idea, but i got the impression that this might be needed only once when they first registered...ppl are unlikely to want to install a custom plug in for one message...

  7. #7
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Lightbulb

    If you have CDONTS installed on the web server, then you can use it very easilly. The code will look very simpler, here it is:
    Code:
    <%
        Dim objMail
    
        Set objMail = Server.CreateObject("CDONTS.NewMail")
        objMail.Send "[email protected]", "[email protected]", "Subject Your login", "This is body with login and password"
        Set objMail = Nothing
    
    %>

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