Thread: Emailer prob -- Can this be done??

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    94

    Lightbulb Emailer prob -- Can this be done??

    I dont know if this is possible or not, but what I need to do is create a list of email addresses and the filenames to be sent with the email. Later this list will be sent to outlook for mailing.

    I have an application (set up on laptops) with an email button on the UI. When the user clicks this button, the new prog I create should work in the background and capture the email data (as above).

    When the user returns to the office and goes online, another application starts up and opens outlook automatically (it does other things as well).....and Im thinking it can read the email data and send the data to outlook one by one.

    Due to specific client requirements, whilst the user is offline, thus out of the office, outlook should not be activated when the email button on the UI has been clicked. Outlook should only open when the user returns and goes online.

    I am stuck and can do with any ideas, suggestions, recommendations that anyone may have. I am not even sure if outlook requires the data to be actually keyboarded in or whether it can be directly sent the data via another prog.

    Anyone.....pls help.
    simple is always an understatement.....

  2. #2
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    When the user clicks this button, the new prog I create should work in the background and capture the email data (as above).
    You mean, it captures every keystroke, or do you mean it detects when a new document is opened and logs the filename... And how do you propose to automatically figure out what email address each file gets sent to?

    When the user returns to the office and goes online
    Is the user returning to the same computer, or is this a different one? And why does a separate application have to do the sending to outlook?

    And what's the purpose of this program anyway? It's hard to give suggestions if we have no idea what you're talking about
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    94
    Sorry...I didn't want to overflow you all with too much info.


    You mean, it captures every keystroke, or do you mean it detects when a new document is opened and logs the filename... And how do you propose to automatically figure out what email address each file gets sent to?
    A 'new mail' UI is displayed when the user clicks the email button. The user enters the email address and file and hits the send button. This will trigger my prog which will retrieve the info, store it and close the 'new mail' UI.



    Is the user returning to the same computer, or is this a different one?
    The users have laptops which they reconnect to the network when they return to the office. So, yes, it is the same computer.



    why does a separate application have to do the sending to outlook?
    The other application does a series of other things such as updating their files, patches etc. That is why that application will either need to call my prog to send the data to outlook or it will do it itself.



    what's the purpose of this program anyway?
    Just to display a 'new mail' UI, store the email data and later send the data to outlook. It is going to be like an extension to an existing application. But as I said before, Im not sure if outlook will even except info that hasnt been directly typed into it.
    simple is always an understatement.....

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    You can send email via Outlook using COM. Check out DispHelper, especially the email.cpp sample. Also check out Fordy's CDO sample.

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    94
    Thanx does anyone have any other ideas or suggestions
    simple is always an understatement.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Deal or No Deal listbox prob
    By kryptkat in forum Windows Programming
    Replies: 5
    Last Post: 03-30-2009, 06:53 PM
  2. little prob with string?
    By ghostshadow189 in forum C++ Programming
    Replies: 6
    Last Post: 04-22-2007, 02:02 PM
  3. wierd fopen prob
    By winterflood_j in forum C Programming
    Replies: 10
    Last Post: 02-24-2004, 06:31 AM
  4. Invisible geometry :( D3D vertex prob?
    By gazsux in forum Game Programming
    Replies: 7
    Last Post: 04-07-2003, 05:40 AM
  5. array prob
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 04-21-2002, 03:07 AM